Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to asp.net

23,195 views

Published on

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!

×