Ishraq Ahmad
Blog for .net Architects & Developers looking to learn WPF, Silverlight, WCF and ASP.net MVC.
ASP.NET File Types
ASP.NET applications can include many types of files.
Following are details,
ASPX:
These are ASP.net web pages. They contain the user interface and in some cases underlying application code. Users request or navigate directly to one of these pages to start web application.
ASCX:
These are ASP.NET user controls. User controls are similar to web pages, except that the user can’t access these files directly. Instead, they must be hosted inside an ASP.NET web page. User controls allow you to develop a small piece of user interface and reuse it in as many web forms as you want without repetitive code.
ASMX:
These are the ASP.NET web services which contain collections of methods that can be called over the internet. Web services work differently than web pages, but they still share the same application resources, configuration settings and memory.
CONFIG:
This is the XML based configuration file for your ASP.NET application. It includes settings for customizing security, state management, memory management, and much more.
ASAX:
This is the global application file. You can use this file to define global variables( variables that can be accessed from any web page in the web application) and react to global events (such as session start, application end).
Related posts:
Tags: ASMX, ASP.net, C#, Visual Studio File Types, web services