Global asax

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

Is global.asax responsible for all reqeusts made to a webapp or just the
asp.net pages?
Would it apply to static files such as html, zip, gif

Aaron
 
Hi Aaron,

You can make that Global.asax handle all requests. Those goes by type (files
extension)

In IIS, over your web site property.
Go in "Home Directory" tabs, select the configuration button in the
application settings section.

You will have a list of files extension and the process that handle each of
them. If you want that aspx.net handle the .gif just assign it like for
..aspx. That way you can handle such customer action to any files in your web
site.
 
Back
Top