File type | Location | Description |
|---|
.asax | Application root. | Typically a Global.asax file that contains code that derives from the HttpApplication class. This file represents the application and contains optional methods that run at the start or end of the application lifetime. For more information, see Global.asax Syntax. |
.ascx | Application root or a subdirectory. | A Web user control file that defines a custom, reusable control. For more information, see ASP.NET User Controls. |
.ashx | Application root or a subdirectory. | A generic handler file that contains code that implements the IHttpHandler interface. For more information, see HTTP Handlers. |
.asmx | Application root or a subdirectory. | An XML Web services file that contains classes and methods that are available to other Web applications by way of SOAP. For more information, see XML Web Services Publishing and Deployment. |
.aspx | Application root or a subdirectory. | An ASP.NET Web forms file (page) that can contain Web controls and presentation and business logic. For more information, see Creating ASP.NET Web Pages and ASP.NET Web Server Controls Overview. |
.axd | Application root. | A handler file used to manage Web site administration requests, typically Trace.axd. For more information, see ASP.NET Tracing Overview. |
.browser | App_Browsers subdirectory. | A browser definition file used to identify the features of client browsers. For more information, see ASP.NET Web Server Controls and Browser Capabilities. |
.cd | Application root or a subdirectory. | A class diagram file. For more information, see Working with Class Diagrams. |
.compile | Bin subdirectory. | A precompiled stub file that points to an assembly representing a compiled Web site file. Executable file types (.aspx, ascx, .master, theme files) are precompiled and put in the Bin subdirectory. For more information, see ASP.NET Precompilation Overview. |
.config | Application root or a subdirectory. | A configuration file (typically Web.config) containing XML elements that represent settings for ASP.NET features. For more information, see ASP.NET Configuration Files. |
.cs, .jsl, .vb | App_Code subdirectory, or in the case of a code-behind file for an ASP.NET page, in the same directory as the Web page. | Class source-code file that is compiled at run time. The class can be an HTTP Module, an HTTP Handler, a code-behind file for an ASP.NET page, or a stand-alone class file containing application logic. |
.csproj, .vbproj, vjsproj | Visual Studio project directory. | A project file for a Visual Studio client-application project. For more information, see Projects and Solutions. |
.disco, .vsdisco | App_WebReferences subdirectory. | An XML Web services discovery file used to help locate available Web services. For more information, see XML Web Services Publishing and Deployment. |
.dsdgm, .dsprototype | Application root or a subdirectory. | A distributed service diagram (DSD) file that can be added to any Visual Studio solution that provides or consumes Web services to reverse-engineer an architectural view of the Web service interactions. For more information, see XML Web Services Publishing and Deployment. |
.dll | Bin subdirectory. | A compiled class library file (assembly). Note that instead of placing compiled assemblies in the Bin subdirectory, you can put source code for classes in the App_Code subdirectory. For more information, see Shared Code Folders in ASP.NET Web Sites. |
.licx, .webinfo | Application root or a subdirectory. | A license file. Licensing allows control authors to help protect intellectual property by checking that a user is authorized to use the control. For more information, see How to: License Components and Controls. |
.master | Application root or subdirectory. | A master page that defines the layout for other Web pages in the application. For more information, see ASP.NET Master Pages. |
.mdb, .ldb | App_Data subdirectory. | An Access database file. For more information, see Accessing Data with ASP.NET. |
.mdf | App_Data subdirectory. | SQL database file for use with SQL Server Express. For more information, see Accessing Data with ASP.NET. |
.msgx, .svc | Application root or a subdirectory. | An Indigo Messaging Framework (MFx) service file. |
.rem | Application root or a subdirectory. | A remoting handler file. For more information, see SOAP Message Modification Using SOAP Extensions. |
.resources, .resx | App_GlobalResources or App_LocalResources subdirectory. | A resource file that contains resource strings that refer to images, localizable text, or other data. For more information, see Resources in Applications or How to: Create Resource Files for ASP.NET Web Sites. |
.sdm, .sdmDocument | Application root or a subdirectory. | A system definition model (SDM) file. For more information, see Overview of the System Definition Model (SDM). |
.sitemap | Application root. | A site-map file that contains the structure of the Web site. ASP.NET comes with a default site-map provider that uses site-map files to easily display a navigational control in a Web page. For more information, see ASP.NET Site Navigation. |
.skin | App_Themes subdirectory. | A skin file containing property settings to apply to Web controls for consistent formatting. For more information, see ASP.NET Themes and Skins. |
.sln | Visual Web Developer project directory. | A solution file for a Visual Web Developer project. For more information, see Projects and Solutions. |
.soap | Application root or a subdirectory. | A SOAP extension file. For more information, see SOAP Message Modification Using SOAP Extensions. |