The ADO.NET allows connection to data sources for retrieving, manipulating, and updating data. Metadata is the binary information describing the program, which is either stored in a portable executable file or in the memory. Assembly is a logical unit consisting of the assembly manifest, type metadata, IL code, and a set of resources like image files. But ASP.NET is only used to create web applications and web services. That’s why we termed ASP.NET as a subset of the .NET Framework. You are asking about the HTTP Pipeline and how IIS responds to user requests for pages.

Answer is Classic ASP. So before .NET and ASP.NET there was Classic ASP. An open-source web application framework developed by Microsoft in web development design is ASP.Net. The application is developed on the server-side and helps in making dynamic web pages. ASP.Net is written in .Net languages and has an Apache license. It uses HTTP commands and works with HTTP protocol to have proper communication of browser and server level. It simplifies the working of websites and applications as it builds a library of many codes and tools.

ASP.NET is built on the CLR which allows the programmers to execute its code using any .NET language(C#, VB etc.). Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use,cookie and privacy policy. ASP.NET makes the internet as a software platform much easier to manage web programming.

Introduction to ASP.NET

ASP.NET pages have the extension .aspx and are normally written in C# . Classic ASP pages have the file extension .asp and are normally written in VBScript. Both technologies enable computer code to be executed by an Internet server.

how asp net works

ASP.NET is a technology, which works on the .Net framework that contains all web-related functionalities. The .Net framework is made of an object-oriented hierarchy. When a user requests an ASP.NET page, the IIS delegates the processing of the page to the ASP.NET runtime system. ASP.NET applications are compiled codes, written using the extensible and reusable components or objects present in .Net framework. These codes can use the entire hierarchy of classes in .Net framework.

Who is the right audience for learning ASP.NET technologies?

The browser submits a web form to the web server and the server returns a full markup page or HTML page in response. This folder contains the files required to support this application but interesting does not contain pagename.aspx.cs and pagename.aspx.designer.cs files. Now I’m going to deploy this application, I use web deployment MSI which creates the required files in the one folder called folderdelopyed. At W3Schools you will find complete ASP references about built-in objects and components, and their properties and methods.

how asp net works

There are also some other technology like Java, PHP, Perl, Ruby on Rails, etc. which can be used to develop web applications. The user needs only a web browser to access a web application. The web applications which are developed using the .NET framework or its subsets required to execute under the Microsoft Internet Information Services on the server side. The work of IIS is to provide the web application’s generated HTML code result to the client browser which initiates the request as shown in the below diagram.

This will make it easier for you to understand how it works. All client side user activities are forwarded to the server for stateful processing. The server processes the output of the client actions and triggers the reactions. ASP.NET code is compiled into Dynamic-link library files, also known as DLL files. In the old days, for classic ASP, the script used to be embedded in your page – a mix of code and HTML, and was interpreted at runtime. ASP.NET Core merges ASP.NET MVC, ASP.NET Web API, and ASP.NET Web Pages into one application framework.

ASP.NET Web Forms

For an developer, it’s very important to understand the ASP.NET page life cycle and ASP.NET application life cycle. It’s very much important to know how the request is being processed using IIS and how the web page is being processed and getting served to the user. Because ASP scripts are executed on the server, you can not view ASP code in a browser, you will only see the output from ASP which is plain HTML.

  • This folder contains the files required to support this application but interesting does not contain pagename.aspx.cs and pagename.aspx.designer.cs files.
  • Read for more information.
  • The future of ASP.NET technology is very bright and great in accordance with the coming years as it has become today’s leading platform for web development.
  • It performs memory management, exception handling, debugging, security checking, thread execution, code execution, code safety, verification, and compilation.

He should have deep knowledge of the core framework. Now for processing of the file, it is redirected to the script engine for the further task by the webserver. Allowing WYSIWYG editing of pages, its features server controls can separate the code from the content. Our «Show Example» tool makes it easy to learn ASP, because it shows ASP code with parallel HTML output. In this tutorial you will learn all you need to know about ASP. It imparts data querying capabilities to .Net languages using a syntax which is similar to the tradition query language SQL.


It consists of a large number of controls such as text boxes, buttons, and labels for assembling, configuring, and manipulating code to create HTML pages. Also, to create web applications ASP.NET provide the 3 development styles which are ASP.NET Web Pages, ASP.NET MVC, Web Forms. Depending on what project type you choose, it’s possible to have several DLL files for the web application, changing in every build – see dash’s answer for more details. As a developer needs to buy expensive software in order to build an application, Development & software cost is much important factors to consider when making a website or web application.

how asp net works

Not only this, ASP.NET applications can be accessed with all of the popular databases, MySQL, MariaDB, Postgres, Microsoft SQL Server, CouchDB, and MongoDB. Low cost, High Speed, and vast language support are among the most significant benefits of using Asp.NET. When a browser requests an ASP file, the server passes the request to the ASP engine which reads the ASP file and executes the server scripts in the file. When a browser requests a normal HTML file, the server just returns the file. It is the technology used for working with data and databases. It provides access to data sources like SQL server, OLE DB, XML etc.

How application works?

The ASP.NET runtime transforms the .aspx page into an instance of a class, which inherits from the base class page of the .Net framework. Therefore, each ASP.NET page is an object and all its components i.e., the server-side controls are also objects. ASP.NET is a web application framework designed and developed by Microsoft. ASP.NET is open source and a subset of the .NET Framework and successor of the classic ASP. With version 1.0 of the .NET Framework, it was first released in January 2002. So a question comes to mind that which technology we were using before the year 2002 for developing web applications and services?

Skills required for ASP.NET

Classes, interfaces, structures, and enumerated values, which are collectively called types. This way, the server becomes aware of the overall application state and operates in a two-tiered connected way. The page state is the state of the client, i.e., the content of various input fields in the web form. The session state is the collective information obtained from various pages the user visited and worked with, i.e., the overall session state.

ASP was introduced in 1998 as Microsoft’s first server side scripting language. Visual Studio, a framework for, has a complimentary design and rich toolbox. Applications built in the framework are too secure. The script engine runs the server-side script it encounters from top to bottom of the file.

When the managed code is compiled, the compiler converts the source code into a CPU independent intermediate language code. A Just In Time compiler compiles the IL code into native code, which is CPU specific. The ASP.NET runtime carries the page state asp net usage to and from the server across page requests while generating ASP.NET runtime codes, and incorporates the state of the server side components in hidden fields. ASP.NET web forms extend the event-driven model of interaction to the web applications.

As the .net core is open source and it is really growing rapidly, we can say it has a very vast and developing scope in the future. Not only this may help companies, but organizations and technocrats are also using technology for web development as Microsoft has a really good strategy for .net development in the future. As a process, the request is received by the web server, i.e. IIS, which in return gives the appropriate file from memory. Through an URL, a request is sent for an file by a web browser to the webserver.

Read for more information. When a browser requests an ASP or ASP.NET file, the ASP engine reads the file, executes any code in the file, and returns the result to the browser. The future of ASP.NET technology is very bright and great in accordance with the coming years as it has become today’s leading platform for web development.