• 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
    « Next Oldest | Next Newest »

    Users browsing this thread:



    Messages In This Thread
    I bow to .net... - by etoven - 13th June 2009, 6:12 AM
    I bow to .net... - by Sacred Jellybean - 13th June 2009, 7:40 AM
    I bow to .net... - by etoven - 14th June 2009, 2:35 PM

    • 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