Tendo City

Full Version: I bow to .net...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, I created a photo gallery web application in ASP.Net. Basically the app reads jpg's in a predefined folder on the server, and automatically renders thumbnails for each picture as well as full view images on the photo gallery page.

My problem was that the page took 30 seconds or more to load because it had to rerender every image thumbnail and fullview image everytime someone loaded the page.

But I happend to stumple on a article on the internet, and threw the gloery of .Net I implimented data caching with only 3 lines of code!

So now the page only has to render the image gallery once, it stores all image thumbnails and fullview images in memory and all the requests are streamed from memory after the first time. Now my page loads in under 1 second! There's even support that if someone chages a image file on the server, the data cache for that image is automically expired.

All this in only 3 lines of code!
Is there any thing .Net cant do???

There's probably a built in library for ordering me breakfast in the morning.

assembly: system.net.getfood [Image: biggrin.gif]

You really have to admire all the thought that was put into the included code you get with .Net, it's like the bible. Every contingency thought of, absolutly flawless.

You can check out my app: here
I admit, I enjoy programming in VB .NET at work. There have been a few things that have annoyed me in the past (pretty sure they were code-related and not IDE related, though Visual Studio has crashed on me more times than I can count and I fucking hate Reporting Services projects in general), but I can't think of them off-hand, so they aren't that big of a deal.
Sacred Jellybean Wrote:I admit, I enjoy programming in VB .NET at work. There have been a few things that have annoyed me in the past (pretty sure they were code-related and not IDE related, though Visual Studio has crashed on me more times than I can count and I fucking hate Reporting Services projects in general), but I can't think of them off-hand, so they aren't that big of a deal.
The only time I've had visual studio crash on me is on workstations that were old and didn't have a lot of RAM. It's never physically crashed on my development workstation, however I have experienced bugs in the IDE out the yingyang. For example at random times my insertion point disapears. [Image: grnsick.gif] What version of visual studio are you using, have you made the move to 2008 yet? That's what I'm using, if you can learn to ignore all the bugs it's pritty nice.