Chapter 2. ASP.NET Code Models
IN THIS CHAPTER
Understanding ASP.NET Web Form Code
Most ASP.NET web pages are made up of two parts: the ASPX page (called a Web form) and server-side code that executes on the web server and adds functionality to the Web form. The code in a Web form is an HTML page with some additional code added that ASP.NET uses to give functionality to the page. That additional code consists of one or more lines of code that tell ASP.NET how to execute the page (called directives) and ASP.NET design-time code that defines areas of the page that ASP.NET will replace with HTML when the page is browsed.