ASP.NET. WebForms. WebForms. WebServices. WebServices. Windows. Windows …Unlike ASP, good separation provided. between code and tags.

Data & XML C ommon L a ng u a g e R u ntime .NET Framework ASP.NET ASP.NET WebForms WebForms WebServices WebServices ASP.NET ASP.NET WebForms WebForms WebServices WebServices Windows Windows Forms Forms CommonLanguageSpecification CommonLanguageSpecification CommonLanguageSpecification CommonLanguageSpecification VB VB C++ C++ C# C# JScript JScript J# J# V i s u a l S t u d i o . N E T V i s u a l S t u d i o . N E T OperatingSystem OperatingSystem CommonLanguageRuntime CommonLanguageRuntime BaseClassLibrary BaseClassLibrary ADO.NET andXML ADO.NET andXML WebForms WebForms WebServices WebServices MobileForms MobileForms WebForms WebForms WebServices WebServices MobileForms MobileForms Forms Forms V i s u a l S t u d i o . N E T V i s u a l S t u d i o . N E T Prerequisites for Web Applicatio Prerequisites for Web Applicatio • Web Applicatio &Desktop Applicatio • Web Server withWeb Applicatio • Web Server Role,about IIS • Web Browse,Web Support Languages • Scripting • Client-Side &Server-Side Scripting • State Management Page 5 WebForms & WinForms • In .NET, GUI-based web applicatio are called “WebForms” – vs. “WinForms”, which are GUI-based Windows desktop applicatio • Example: a simple web-based Calculator • Example: a simple web-based Calculator Page 6 ASP.NETFeatures ASP.NETFeatures • Simplified • BetterPerformance • StrongtypedLanguage • EventDrivenModel • EventDrivenModel • SeparationofCode& Design • Security • EasierDeployment& Configuration • Debugging • BetterStateManagement Page 7 Web Forms Web Forms • Compiled • SupportforVBLanguage • Built-InDesigne • Server-SideControls • IntelligentForms Page 8 ASP.Net Execution Scenario Page 9 Runtime Compilation ASPX Request Request ASPX ASPX Engine Engine Pae Pae Gen‘d Page Generate Generate Code Code- behind behind class class ASPX File Request Request Page Class Respoe Respoe Request Request Itantiate Itantiate Respoe Respoe Page Page Class Class Itantiate, Itantiate, Processand Processand Render Render Compile Compile Page 10 ASP.NET Pages: Part Declarative, Part Code • Combines declarative tags (HTML, ASPX directives, server controls tags, and static text) with code in a single file or in separate files. • Unlike ASP, good separation provided between

PDF Download

Popularity: 6% [?]