introduction to asp .net

Post on 23-Jan-2017

82 Views

Category:

Education

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Introduction to ASP.NET development

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

Asp.NET ?

Request And Respond

Client Side Scripting Server Side Scripting HTML JavaScript CSS JQuery Ajax XML

General Things to know

Separate Code & Design Rich Web Forms Drag & Drop Design Like WinForms

Web Forms in .NET

Page Directive Server side code Form Normal HTML Structure Server Controls

Understand the Web Form

PreInit InitInit

Complete

PreLoad

LoadControl events

LoadComplet

ePre

Render

SaveStateComplet

eRender Unload

Page Life Cycle

Post Back 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

You must Know

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.

ASP.NET States

Template to Other pages

Master Page

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

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

Starting ASP.NET Development ..

Thank You!

top related