2. Asp.NET ?
Simply Server side language
Simplified page development model
Modular, well-factored, extensible architecture
Superior debugging and tracing support
Compiled, not interpreted
Rich caching support
Web farm scalable session state
Automatically detects and recovers from errors
4. General Things to know
ClientSide Scripting
Server Side Scripting
HTML
JavaScript
CSS
JQuery
Ajax
XML
5. Web Forms in .NET
Separate Code & Design
Rich Web Forms
Drag & Drop Design
Like WinForms
6. Understand the Web Form
Page Directive
Server side code
Form
Normal HTML Structure
Server Controls
7. Page Life Cycle
Init
PreInit Init PreLoad
Complete
Pre Load Control
Load
Render Complete events
Save
Render Unload
StateComplete
8. You must Know
PostBack
communicates back to the server
View State
state stored in a hidden field on the page
transported to the client and back to the server,
Is not stored on the server
9. ASP.NET States
Session State
allows the state of objects (serializable) to
be stored for a single session (lifetime of the
user’s browser or specific timeout)
Application State
allows the state of objects (serializable) to
be stored for the application across
different sessions.
11. Starting ASP.NET Development
Web Site
Don’t use this, here for compatibility only
Each page is dynamically loaded into
memory
Slow on first load after deployment
No need to recompile for code change
12. Starting ASP.NET Development
..
Web Application
Recommended
Compiles all pages into one DLL
Faster on first load after deployment
Must recompile whole site for code change