19-10-2012, 05:55 PM
ASP.NET Overview
ASP.NET Diagnostics.pptx (Size: 902.81 KB / Downloads: 27)
Working with Projects – VS2003
VS2003: Single solution file. Project precompiled into a single DLL, ASPX markup pages deployed.
Pros:
Compiles/debugs like other projects (WinForms, etc.)
Slightly more efficient.
Single file deployment + referenced DLLs + HTML.
Cons:
Not easy to use in team environments.
Often leads to monolithic DLLs for large sites.
WebForms in a Nutshell
ASPX pages handled by a handler that facilitate the page lifecycle and events (such as Page_Load, PreRender, and control events).
Uses ViewState to encoded state-specific information otherwise lost in the stateless nature of HTTP.
Extensive controls library to abstract functionality. Buttons, textboxes, etc.
Extensible.
Challenges/Criticisms
Can be difficult to manage many events with page lifecycle.
Do you load data in Init, Load, or event handlers?
How do you handle changes?
Developers still need to fully understand request/response nature of the web.
User Controls
Collections of HTML and/or Server Controls for a broader purpose – such as a login dialog box.
Typically part of a project and compiled with the project.
Can expose properties.
Part of the page lifecycle (OnInit, Page_Load, Prerender, etc.)
ASP.NET Diagnostics
Advanced Tracing
Health Monitoring
Debugging