+ All Categories
Home > Documents > Copy of Introduction to ASP.NET

Copy of Introduction to ASP.NET

Date post: 09-Apr-2018
Category:
Upload: venkatesham-aithagoni
View: 220 times
Download: 0 times
Share this document with a friend
55
Introduction to ASP.NET Introduction to ASP.NET Presented by Presented by Venkatesham Aithagoni. Venkatesham Aithagoni.
Transcript

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 1/55

Introduction to ASP.NETIntroduction to ASP.NET

Presented byPresented by

Venkatesham Aithagoni.Venkatesham Aithagoni.

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 2/55

What We Will Cover What We Will Cover 

Introduction to MicrosoftIntroduction to Microsoft ®  ® 

.NET.NET ““Classic” ASPClassic” ASP MicrosoftMicrosoft ®  ®  ASP.NETASP.NET Server controlsServer controls Data controlsData controls ASP.NET Web applicationsASP.NET Web applications Business objectsBusiness objects Web servicesWeb services Additional topicsAdditional topics

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 3/55

So Why This Presentation?So Why This Presentation?

ASP.NET offers many enhancements over classic ASP but…ASP.NET offers many enhancements over classic ASP but… With ASP.NET, there’s a lot new to learnWith ASP.NET, there’s a lot new to learn

Solves many ASP issuesSolves many ASP issues

RAD for the WebRAD for the Web

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 4/55

DemonstrationsDemonstrations

ASP vs. ASP.NETASP vs. ASP.NET Server controls walk-throughServer controls walk-through ValidationValidation Data controlsData controls Cookieless sessionsCookieless sessions

Web servicesWeb services Page cachingPage caching

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 5/55

AgendaAgenda

Introduction to .NETIntroduction to .NET ““Classic” ASPClassic” ASP

ASP.NETASP.NET

Server controlsServer controls

Data controlsData controls

ASP.NET Web applicationsASP.NET Web applications

Business objectsBusiness objects

Web servicesWeb services

Additional topicsAdditional topics

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 6/55

OSOSServicesServices

Microsoft provided COM, IIS,

Internet Explorer 

Introduction to .NETIntroduction to .NET11stst GenerationGeneration

Applications largely operating

in a client / server model wereaugmented with Web browser 

and servers. The industry

focused on rich OS and local

services provided by products

like SQL Server™.

BrowsersBrowsers

BrowsersBrowsers

Web app developers took

advantage of these local

services and used HTML

to “project” the UI to many

types of clients

ServersServersData, HostsData, Hosts

ServersServersData, HostsData, Hosts

Cli

ent LogicClient Logic

Biz LogicBiz Logic

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 7/55

Combination of “stateless” Web

protocols with DNS and IP routing have

enabled mass-scale “geo-scalability”

““Stateful”Stateful”““Stateless”Stateless”

““Geo-ScalabGeo-Scalabl

RichRichClient LogicClient Logic

RichRichClient LogicClient Logic

Introduction to .NETIntroduction to .NET22ndnd GenerationGeneration

ServersServersData, HostsData, Hosts

ServersServersData, HostsData, Hosts

OSOSServicesServices

BizBizTier LogicTier LogicBizBizTier LogicTier Logic

BrowsersBrowsersBrowsersBrowsers

Separation of data andbusiness logic provide

greater scalability and

performance while

accessing enterprise

and legacy data.

COM+ Services improve reliability,

scalability and manageability. InternetExplorer provides DHTML for better 

interactivity.

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 8/55

IntroductionIntroduction toto .NET.NETWeb Services: The Next GenerationWeb Services: The Next Generation

StandardStandardBrowsersBrowsersStandardStandardBrowsersBrowsers

SmarterSmarterClientsClientsSmarterSmarterClientsClients

SmarterSmarterDevicesDevicesSmarterSmarterDevicesDevices Open Internet Open Internet 

Communications ProtocolsCommunications Protocols(HTTP, SMTP, XML, SOAP)(HTTP, SMTP, XML, SOAP) 

Richer, MoreRicher, Moreroductive User roductive User ExperienceExperience

 Applications Applications

LeverageLeverageGlobally-Globally-

 Applications Become Applications BecomeProgrammable Web ServicesProgrammable Web Services

OSOSServicesServices

BizBizTier LogicTier Logic

BizBizTier LogicTier LogicBiz LogicBiz Logic& Web& Web

ServiceService

OSOSServicesServices

OSOSServicesServices

Public WebPublic WebServicesServices

Building Block Building Block 

ServicesServices

InternalInternalServicesServices

  X M L

  X M L

 X M L X M L

X M LX M L

ServersServersData, HostsData, Hosts

ServersServersData, HostsData, Hosts

X  M L X  M L 

OtherOtherServicesServices

X  M L X  M L 

X M LX M L

  X M L  X M L

 H T M L

 H T M L

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 9/55

Internet ProtocolsInternet Protocols

SOAP “blue book”SOAP “blue book”

HTTP, SMTP, XMLHTTP, SMTP, XML

Introduction to .NETIntroduction to .NETThe .Net PlatformThe .Net Platform

.NET.NETFramewoFramewo

rk rk 

.NET.NETFramewoFramewo

rk rk 

WindowsWindows®®  CE, 2000, XP,CE, 2000, XP,

.NET.NET

WindowsWindows®®  CE, 2000, XP,CE, 2000, XP,

.NET.NET

     O     p      e     r

     a      t     i

     O     p      e     r

     a      t     i

    o     n    s 

    o     n    s 

     O     p      e     r

a      t     i

     O     p      e     r

     a      t     i

    o     n    s 

    o     n    s 

OrchestratioOrchestratio

nn

OrchestratioOrchestratio

nn

ApplicationsApplicationsUsing YourUsing Your

ServiceService

ApplicationsApplicationsUsing YourUsing Your

ServiceService

End-UserEnd-UserClientsClients

End-UserEnd-UserClientsClients

.NET Enterprise.NET EnterpriseServersServers

.NET Enterprise.NET EnterpriseServersServers

.NET.NET

FoundationFoundationServicesServices

.NET.NET

FoundationFoundationServicesServices

33rdrd Party Web ServiceParty Web Service33rdrd Party Web ServiceParty Web Service

 Your Internal Your InternalServicesServices

 Your Internal Your InternalServicesServices

VisualVisualStudioStudio®® ..

NETNET

VisualVisualStudioStudio®® ..

NETNET

 Your Application Your Applicationand Web Serviceand Web Service

 Your Application Your Applicationand Web Serviceand Web Service

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 10/55

Introduction to .NETIntroduction to .NETThe .NET Framework and Visual Studio .NETThe .NET Framework and Visual Studio .NET

Base Class LibraryBase Class Library

Common Language SpecificationCommon Language Specification

Common Language RuntimeCommon Language Runtime

ADO.NET: Data and XMLADO.NET: Data and XML

Visual BasicVisual Basic ®  C++C++ C#C#

V i   s u al   S  t   u d i   o

.NE T 

V i   s u al   S  t   u d i   o

.NE T 

ASP.NET: Web ServicesASP.NET: Web Services

and Web Formsand Web Forms

JScriptJScript ®  ……

WindowsWindows

FormsForms

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 11/55

AgendaAgenda

Introduction to .NETIntroduction to .NET ASP todayASP today

ASP.NETASP.NET

Server controlsServer controls

Data controlsData controls

ASP.NET Web applicationsASP.NET Web applications

Business objectsBusiness objects

Web servicesWeb services

Additional topicsAdditional topics

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 12/55

““Classic” ASPClassic” ASPSuccessesSuccesses

Simple procedural programming modelSimple procedural programming model

Access to COM ObjectsAccess to COM Objects

ADOADO

File system objectFile system object

No compiling, just saveNo compiling, just save

Support for multiple scripting languagesSupport for multiple scripting languages

Mix HTML and codeMix HTML and code

VBscript – leverage Visual Basic skillsVBscript – leverage Visual Basic skills

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 13/55

““Classic” ASPClassic” ASPChallengesChallenges

Code readabilityCode readability

Coding overheadCoding overhead

PostBack complexityPostBack complexity

ReuseReuse

PerformancePerformance

DLL lockingDLL locking

DeploymentDeployment

SessionsSessions

CachingCaching

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 14/55

““Classic” ASPClassic” ASPChallengesChallenges

Code readabilityCode readability

Coding overheadCoding overhead

PostBack complexityPostBack complexity

ReuseReuse

PerformancePerformance

DLL lockingDLL locking

DeploymentDeployment

SessionsSessions

CachingCaching

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 15/55

AgendaAgenda

Introduction to .NETIntroduction to .NET ““Classic” ASPClassic” ASP

ASP.NETASP.NET 

Server controlsServer controls

Data controlsData controls

ASP.NET Web applicationsASP.NET Web applications

Business objectsBusiness objects

Web servicesWeb services

Additional topicsAdditional topics

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 16/55

ASP.NETASP.NETArchitectureArchitecture

ASPX

.ASPX.ASPX

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 17/55

ASP.NETASP.NETArchitectureArchitecture

.ASPX.ASPXCompiledCompiled

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 18/55

ASP.NETASP.NETArchitectureArchitecture

.ASPX.ASPXCompiledCompiled

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 19/55

ASP.NETASP.NETArchitectureArchitecture

.ASPX.ASPXCompiledCompiled .ASPX.ASPXCompiledCompiled

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 20/55

Visual BasicVisual BasicSourceSource

codecodeCompiler Compiler 

C++C++C#C#

Compiler Compiler Compiler Compiler 

AssemblyAssemblyIL CodeIL Code

AssemblyAssemblyIL CodeIL Code

AssemblyAssemblyIL CodeIL Code

Operating System ServicesOperating System Services

Common Language RuntimeCommon Language Runtime

JIT Compiler JIT Compiler 

Native CodeNative Code

ManagedManagedcodecode

UnmanagedUnmanaged

ComponentComponent

ASP.NETASP.NETExecution ModelExecution Model

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 21/55

ASP.NETASP.NETFeaturesFeatures

ASPX, ASP – side by sideASPX, ASP – side by side

Simplified programming modelSimplified programming model

Simplified deploymentSimplified deployment

Better performanceBetter performance CachingCaching

SecuritySecurity

Powerful controlsPowerful controls

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 22/55

ASP.NETASP.NETFeaturesFeatures

Simplified browser supportSimplified browser support

Simplified form validationSimplified form validation

Code behind pagesCode behind pages

More powerful data accessMore powerful data access Web servicesWeb services

Better session managementBetter session management

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 23/55

ASP.NETASP.NETFeaturesFeatures

No DLL lockingNo DLL locking

No DLL registrationNo DLL registration

Simplified configurationSimplified configuration

PageletsPagelets

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 24/55

AgendaAgenda

Introduction to .NETIntroduction to .NET ““Classic” ASPClassic” ASP

ASP.NETASP.NET

Server controlsServer controls

Data controlsData controls

ASP.NET Web applicationsASP.NET Web applications

Business objectsBusiness objects

Web servicesWeb services

Additional topicsAdditional topics

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 25/55

Server ControlsServer ControlsSimplify Common TasksSimplify Common Tasks

Simplify common tasksSimplify common tasks FormsForms

TablesTables

Data displayData display

Calendar Calendar  Ad rotator Ad rotator 

Server-side programming modelServer-side programming model

Automatic browser compatibilityAutomatic browser compatibility

Less code, less complexityLess code, less complexity

ExtensibleExtensible

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 26/55

Server ControlsServer ControlsBrowser SupportBrowser Support

Targets client on the flyTargets client on the fly

<asp:textbox ForeColor=“red”/><asp:textbox ForeColor=“red”/>

StyleStyle

FontFont

ValidationValidation

Client-sideClient-side

Server-sideServer-side

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 27/55

Server ControlsServer ControlsValidationValidation

Without codeWithout code

Required fieldRequired field

Within rangeWithin range

Two fields equal (password)Two fields equal (password) Regular expressionsRegular expressions

Validation error messagesValidation error messages

With code, but simplifiedWith code, but simplified

Custom validationCustom validation

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 28/55

AgendaAgenda

Introduction to .NETIntroduction to .NET ““Classic” ASPClassic” ASP

ASP.NETASP.NET

Server controlsServer controls

Data controlsData controls

ASP.NET Web applicationsASP.NET Web applications

Business objectsBusiness objects

Web servicesWeb services

Additional topicsAdditional topics

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 29/55

Data ControlsData Controls

Bind to many data sourcesBind to many data sources CollectionsCollections

ArrayArray

HashTableHashTable

ADO.NETADO.NET

DataReader DataReader 

DataSetDataSet

XMLXML

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 30/55

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 31/55

Data ControlsData ControlsADO.NETADO.NET

AuthorsAuthorsAuthorsAuthorsConnectionConnection

DatabaseDatabase

DataAdapter DataAdapter 

DataSetDataSet

Select … from AuthorsSelect … from Authors

AuthorsAuthors

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 32/55

Data ControlsData ControlsADO.NETADO.NET

PublishersPublishersPublishersPublishersConnectionConnection

DatabaseDatabase

DataAdapter DataAdapter 

DataSetDataSet

Select … fromSelect … from

PublishersPublishers

AuthorsAuthors

PublishersPublishers

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 33/55

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 34/55

AgendaAgenda

Introduction to .NETIntroduction to .NET ““Classic” ASPClassic” ASP

ASP.NETASP.NET

Server controlsServer controls

Data controlsData controls

ASP.NET Web applicationsASP.NET Web applications

Business objectsBusiness objects

Web servicesWeb services

Additional topicsAdditional topics

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 35/55

ASP.NET Web ApplicationsASP.NET Web Applications

Global ASAXGlobal ASAX Application_StartApplication_Start

Application_EndApplication_End

Session_StartSession_Start

Session_EndSession_End

SessionSession

ApplicationApplication

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 36/55

ASP.NET Web ApplicationsASP.NET Web Applicationsweb.configweb.config

Site configuration fileSite configuration file

XML formatXML format

Some settingsSome settings

SecuritySecurity

SessionSession LocalizationLocalization

TracingTracing

DebuggingDebugging

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 37/55

ASP.NET Web ApplicationsASP.NET Web ApplicationsSession VariablesSession Variables

Store state informationStore state information

No longer require cookiesNo longer require cookies

Share between serversShare between servers

<sessionState<sessionState

mode=“StateServer“mode=“StateServer“

stateConnectionString="tcpip=127.0.0.1:42424"stateConnectionString="tcpip=127.0.0.1:42424"

sqlConnectionString="data source=127.0.0.1;usersqlConnectionString="data source=127.0.0.1;userid=sa;password="id=sa;password="

cookieless="false"cookieless="false"

timeout="20"timeout="20"

/>/>

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 38/55

AgendaAgenda

Introduction to .NETIntroduction to .NET ““Classic” ASPClassic” ASP

ASP.NETASP.NET

Server controlsServer controls

Data controlsData controls

ASP.NET Web applicationsASP.NET Web applications

Business objectsBusiness objects

Web servicesWeb services

Additional topicsAdditional topics

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 39/55

Business ObjectsBusiness Objects

Problems with ASP and DLLsProblems with ASP and DLLs DLLs with .NETDLLs with .NET

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 40/55

Business ObjectsBusiness Objects Problems with ASP and DLLsProblems with ASP and DLLs

DLL LockingDLL Locking

Page hitPage hit

Shutdown Web applicationShutdown Web application

Shutdown Internet Information Server Shutdown Internet Information Server  Edit in Visual InterdevEdit in Visual Interdev

MTS/COM+MTS/COM+

Shutdown packageShutdown package

Binary compatibilityBinary compatibility

RegistryRegistry

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 41/55

Business ObjectsBusiness ObjectsDLLs with .NETDLLs with .NET

Not registeredNot registered

Placed in ./bin directoryPlaced in ./bin directory

Not lockedNot locked

Shadow copyShadow copy

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 42/55

AgendaAgenda

Introduction to .NETIntroduction to .NET ““Classic” ASPClassic” ASP

ASP.NETASP.NET

Server controlsServer controls

Data controlsData controls

ASP.NET Web applicationsASP.NET Web applications

Business objectsBusiness objects

Web servicesWeb services

Additional topicsAdditional topics

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 43/55

Web ServicesWeb ServicesWhat Are Web Services?What Are Web Services?

Allow applications to communicate across the InternetAllow applications to communicate across the Internet

Platform independentPlatform independent

Protocol independentProtocol independent

Synchronous/asynchronousSynchronous/asynchronous Stateful/statelessStateful/stateless

ASP.NETASP.NET

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 44/55

Web ServicesWeb Services

.ASMX.ASMX.ASMX.ASMX

Class CoursewareWebMethod

GetPrice

Purchase

Class CoursewareWebMethod

GetPricePurchase

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 45/55

Web ServicesWeb Services

.ASMX.ASMX.ASMX.ASMX

TestingTesting

Courseware.asmxCourseware.asmx

Test HTML PageTest HTML Page

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 46/55

Web ServicesWeb Services

.ASMX.ASMX.ASMX.ASMX

Courseware.asmx?WSDLCourseware.asmx?WSDL

Service Definition(XML)Service Definition(XML)

ProxyProxy

DLLDLL

ProxyProxy

DLLDLL

WSDLWSDL

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 47/55

Web ServicesWeb Services

.ASMX.ASMX.ASMX.ASMXProxyProxy

DLLDLL

ProxyProxy

DLLDLL

Register for CourseRegister for Course Purchase CoursewarePurchase Courseware

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 48/55

AgendaAgenda

Introduction to .NETIntroduction to .NET ““Classic” ASPClassic” ASP

ASP.NETASP.NET

Server controlsServer controls

Data controlsData controls

ASP.NET Web applicationsASP.NET Web applications

Business objectsBusiness objects

Web servicesWeb services

Additional topicsAdditional topics

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 49/55

Additional TopicsAdditional Topics

DeploymentDeployment ScalabilityScalability

CachingCaching

Authentication and authorizationAuthentication and authorization

AvailabilityAvailability

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 50/55

Additional TopicsAdditional TopicsDeploymentDeployment

CopyCopy

Components in .\binComponents in .\bin

No registering DLLsNo registering DLLs

No locked DLLsNo locked DLLs Apps are isolatedApps are isolated

Each app can have its own versionEach app can have its own version

UninstallUninstall

DeleteDelete

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 51/55

Additional TopicsAdditional TopicsScalability ImprovementsScalability Improvements

ASP.NET pages are compliedASP.NET pages are complied

State shared across machinesState shared across machines

Managed providersManaged providers

Disconnected data accessDisconnected data access CachingCaching

Additi l T iAdditi l T i

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 52/55

Additional TopicsAdditional TopicsCachingCaching

Page output cachingPage output caching

<%@ OutputCache Duration="60"<%@ OutputCache Duration="60" VaryByParam="none"VaryByParam="none" %>%>

Page data cachingPage data caching

Cache[“MyDataSet”] = SomeDataSetCache[“MyDataSet”] = SomeDataSet

Like application variablesLike application variables

ScavengingScavenging

ExpirationExpiration DependenciesDependencies

Additi l T iAdditi l T i

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 53/55

Additional TopicsAdditional TopicsAuthenticationAuthentication

Supports basic, digest, cookie, and Windows authentication,Supports basic, digest, cookie, and Windows authentication,PassportPassport

Form-based authenticationForm-based authentication

Users or rolesUsers or roles

One API for user infoOne API for user info

S i SSession Summary

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 54/55

Session SummarySession Summary

ASP.NET offers many enhancementsASP.NET offers many enhancements Improved session stateImproved session state

Improved programming modelImproved programming model

ValidatorsValidators

CachingCaching

In-place updating of sitesIn-place updating of sites

The list goes on…The list goes on…

8/7/2019 Copy of Introduction to ASP.NET

http://slidepdf.com/reader/full/copy-of-introduction-to-aspnet 55/55

Questions?


Recommended