Re: Best practice - resources in ASP.Net Web Applications

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



for packaged components its handy to use resources for images, stylesheets, etc. But for a website its a bad idea. the performance is much lower and chaching may be effected. its common to have a common image dir that is shared between websites (so the image is cached between all).

-- bruce (sqlwork.com)

Peter Larsen [CPH] wrote:
Hi,

I'm looking for some "best practice" help related to web applications and recources (images, strings, files etc).

In Windows Forms Applications its normal to save all kinds of resources in the applications recource file - its easy to access, and you always knows where the resources are (and more).

In web applications, you would normally have lots of icons, buttons etc. for use in the pages.
Where would you put these resources - in the recource file ??

Thank you in advance.

BR
Peter


.



Relevant Pages

  • Re: Organization of files
    ... I had to put a 40MB database on a 10MB laptop. ... I was thinking of the problem of adding more images or sound clips. ... fairly difficult if they are resources, ... It was the Install Problem From Hell ...
    (microsoft.public.vc.mfc)
  • Re: Building a "page grabber" to saveout text AND images?
    ... linked to is that neither of them deal with retrieving page images, ... down the text and images of a single remote page, ... > Manohar Kamath ... >> web applications that I'm creating. ...
    (microsoft.public.inetserver.asp.general)
  • Re: Show images from resources in webbrowser component in c#
    ... If the resources are native file resources, you should be able to use the ... If the images are within a managed assembly ... > we use the webbrowser control from Peter Foot (Opennetcf) to show ...
    (microsoft.public.pocketpc.developer)
  • Re: Embeeded resources Vs. Content files
    ... >I don't see the point in placing these resources in a satellite assembly ... > resources into a separate resource dll will make no difference because the ... >> I've also tried with images as content, loading them giving the path. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: how to set image path
    ... I can not put the resources in my class directory, ... but the "src" directory or subfolders of it. ... JVM looks in the bin folder for the image. ... So right now I have 2 folders named "images" containing all my images. ...
    (comp.lang.java.gui)