• Login
  • Register
  • Login Register
    Login
    Username:
    Password:
  • Home
  • Members
  • Team
  • Help
User Links
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Quick Links Home Members Team Help
    Tendo City Tendo City: Metropolitan District Ramble City I bow to .net...

     
    • 0 Vote(s) - 0 Average
    I bow to .net...
    etoven
    Offline

    Site Owner Operator

    Posts: 2,048
    Threads: 586
    Joined: 01-04-2019
    #1
    13th June 2009, 6:12 AM
    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
    Reply
    Reply
    Sacred Jellybean
    Offline

    Administrator

    Posts: 3,205
    Threads: 111
    Joined: 02-17-2000
    #2
    13th June 2009, 7:40 AM
    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.
    Reply
    Reply
    etoven
    Offline

    Site Owner Operator

    Posts: 2,048
    Threads: 586
    Joined: 01-04-2019
    #3
    14th June 2009, 2:35 PM
    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.
    Reply
    Reply
    « Next Oldest | Next Newest »

    Users browsing this thread:



    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Toven Solutions

    Home · Members · Team · Help · Contact

    408 Chapman St. Salem, Viriginia

    +1 540 4276896

    etoven@gmail.com

    About the company Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    Linear Mode
    Threaded Mode