.ASAX File Extension
- Developer by: Microsoft
- Category: Web Files
- Format: Text
What is an .ASAX file?
.ASAX is ASP.NET Server Application File
File used by ASP.NET Web applications; contains program code that is used to respond to application-level events raised by ASP.NET or HttpModules; parsed and compiled at application runtime; used for handling events during application initialization and shutdown, as well as processing global exceptions and errors.
ASAX files are stored in the root directory of the ASP.NET application and have the name Global.asax. By default, any direct URL requests to ASAX files are rejected. Additionally, external users cannot view or download their source code.
NOTE: The Global.asax is optional in ASP.NET Web applications.