ASP.NET Tutorial/ASP.Net Instroduction/File types
ASP.NET File Types
File Name Description Ends with .aspx ASP.NET web pages.
They contain the user interface. Users request or navigate directly to one of these pages to start your web application.
Ends with .ascx ASP.NET user controls.
User controls are similar to web pages, except that the user cannot access these files directly.
Ends with .asmx ASP.NET web services collections of methods. web.config XML-based configuration file for your ASP.NET application.
It includes settings for customizing security, state management, memory management, and much more.
Global.asax Global application file.
To define global variables and react to global events.
Ends with .cs code-behind files that contain C# code. Ends with .vb code-behind files that contain VB code.</source>