30 likes | 141 Views
ASP.NET Components. Internet Information Services Server. 1. 2. HTTP request. ASP.NET code. Web server (serves web pages). ASP.NET processor (executes code). HTML. Output. 3. 4. .NET Framework. Original HTML code integrated with ASP output. Web browser. Server. Client.
E N D
ASP.NET Components Internet Information Services Server 1 2 HTTP request ASP.NET code Web server (serves web pages) ASP.NET processor (executescode) HTML Output 3 4 .NET Framework Original HTML code integrated with ASP output Web browser Server Client
ASP.NET Configurations Multiple computer configuration Single computer configuration Client Client Web browser Web browser Server Web server ASP.NET processor Web server ASP.NET processor .NET Framework .NET Framework
How an ASP.NET application is compiled form1.aspx form1.aspx.cs Other classes Web form Code-behind form (partial class) Class files in App_Code folder The top line is the stuff you code. ASP.NET runtime Compiler Application class (dll) (C# code) Web formASP.NET code GeneratedC# code(partial class) Compiler Initializes form/gen. HTML Object declarations This is the component that actually gets processed when an aspx file is requested. Web form class (dll)(ASP code) Other classes(dll) Compiler Supporting object classes are here. From Murach, M. and Boehm, A. “ASP.NET 2.0 Web Programming with C# 2005,” 2006, page 27.