Home > Archive > ASP .NET > February 2005 > Global asax
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| 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
| |
| Jc Morin 2005-02-28, 8:58 am |
| 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.
--------------------------
Jean-Claude Morin, MCP
Software Developer
2k1Soft/kCentric, Canada
"Aaron" <kuya789@yahoo.com> wrote in message
news:eAd8iIXHFHA.2936@TK2MSFTNGP15.phx.gbl...
> 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
>
>
| |
| Karl Seguin 2005-02-28, 8:58 am |
| Aaron:
It only maps to file types which ASP.Net are told to handle...you can
control this mapping through IIS, but for the most part, it's strictly aspx
pages.
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/index.aspx - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Aaron" <kuya789@yahoo.com> wrote in message
news:eAd8iIXHFHA.2936@TK2MSFTNGP15.phx.gbl...
> 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
>
>
|
|
|
|
|