Introduction to asp.net

19,722 views

Published on

1 Comment
11 Likes
Statistics
Notes
No Downloads
Views
Total views
19,722
On SlideShare
0
From Embeds
0
Number of Embeds
1,760
Actions
Shares
0
Downloads
1,779
Comments
1
Likes
11
Embeds 0
No embeds

No notes for slide

Introduction to asp.net

  1. 1. Introduction toASP.NETdevelopmenthttp://melick-rajee.blogspot.com/
  2. 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
  3. 3. Request And Respond
  4. 4. General Things to know ClientSide Scripting Server Side Scripting HTML JavaScript CSS JQuery Ajax XML
  5. 5. Web Forms in .NET Separate Code & Design Rich Web Forms Drag & Drop Design Like WinForms
  6. 6. Understand the Web Form Page Directive Server side code Form Normal HTML Structure Server Controls
  7. 7. Page Life Cycle Init PreInit Init PreLoad Complete Pre Load Control LoadRender Complete events Save Render UnloadStateComplete
  8. 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. 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.
  10. 10. Master Page Template to Other pages
  11. 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. 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
  13. 13. Thank You!

×