ASP.NET Web Forms
ASP.NET Web Forms is a web application framework and one of several programming models supported by the Microsoft ASP.NET technology.[src] Web Forms applications can be written in any programming language which supports the Common Language Runtime, such as C# or Visual Basic.[src] The main building blocks of Web Forms pages are server controls, which are reusable components responsible for rendering HTML markup and responding to events.[src] A technique called view state is used to persist the state of server controls between normally stateless HTTP requests.[src] Web Forms was included in the original .NET Framework 1.0 release in 2002 (see .NET Framework version history and ASP.NET version history), as the first programming model available in ASP.NET.[src] Unlike newer ASP.NET components, Web Forms is not supported by ASP.NET Core.[src]
ASP.NET Web Forms is a web application framework and one of several programming models supported by the Microsoft ASP.NET technology.[src] Web Forms applications can be written in any programming language which supports the Common Language Runtime, such as C# or Visual Basic.[src] The main building blocks of Web Forms pages are server controls, which are reusable components responsible for rendering HTML markup and responding to events.[src] A technique called view state is used to persist the state of server controls between normally stateless HTTP requests.[src] Web Forms was included in the original .NET Framework 1.0 release in 2002 (see .NET Framework version history and ASP.NET version history), as the first programming model available in ASP.NET.[src] Unlike newer ASP.NET components, Web Forms is not supported by ASP.NET Core.[src] ASP.NET web pages, known officially as Web Forms, were the main building blocks for application development in ASP.NET before the introduction of MVC.[src] There are two basic methodologies for Web Forms: a web application format and a web site format.[src] Web applications need to be compiled before deployment, while web sites allow the user to copy the files directly to the server without prior compilation.[src] Web forms are contained in files with a ".aspx" extension; these files typically contain static (X)HTML markup or component markup.[src] The component markup can include server-side Web Controls and User Controls that have been defined in the framework or the web page.[src] For example, a textbox component can be defined on a page as , which is rendered into an html input box.[src] Additionally, dynamic code, which runs on the server, can be placed in a page within a block , which is similar to other Web development technologies such as PHP, JSP, and ASP.[src] With ASP.NET Framework 2.0, Microsoft introduced a new code-behind model that lets static text remain on the .aspx page while dynamic code goes into an .aspx.vb or .aspx.cs or .aspx.fs file (depending on the programming language used).[src] A directive is a special instruction on how ASP.NET should process the page.[src] The most common directive is , which can specify many attributes used by the ASP.NET page parser and compiler.[src]
22 sentences · 22 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"ASP.NET Web Forms." encyclopegia.org, 2026, https://encyclopegia.org/wiki/asp-net-web-forms. Accessed 04 December 2026.
Chicago
"ASP.NET Web Forms." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/asp-net-web-forms.
APA
encyclopegia.org. (2026). ASP.NET Web Forms. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/asp-net-web-forms
Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON