ASP.NET Pages

ASP.NET web pages or webpage, known officially as “web forms”, are the main building block for application development. Web forms are contained in files with an “.aspx” extension; these files typically contain static (X)HTML markup, as well as markup defining server-side Web Controls and User Controls where the developers place all the required static and dynamic content for the web page.

C# in Depth, 3rd EditionManaged Windows VPS Hosting

Additionally, dynamic code which runs on the server can be placed in a page within a block <% — dynamic code — %>, which is similar to other web development technologies such as PHP, JSP, and ASP. With ASP.NET Framework 2.0, Microsoft introduced a new code-behind model which allows static text to remain on the .aspx page, while dynamic code remains in an .aspx.vb or .aspx.cs file (depending on the programming language used).