Tải bản đầy đủ - 0 (trang)
What’s New in ASP.NET

What’s New in ASP.NET

Tải bản đầy đủ - 0trang

Chapter7.

ServercontrolsAmajorcomponentoftheWebForms

programmingmodel,theASP.NETservercontrolsmap

approximatelytoHTMLelements(plussomeadditionalcontrols

youlllearnaboutlater)andprovidepowerfulserver-side

programmability.Servercontrolsarerunontheserverandcan

outputHTMLthatstailoredforuplevelbrowsers,suchasInternet

Explorer5.xorlater,orforanyHTML3.2compliantbrowser.

Chapter8andChapter10willcoverservercontrolsindepth.

WebServicesThisisakeypartofASP.NETthatallows

developerstomakeprogrammaticservicesavailabletoother

developersovertheInternet(oralocalintranet).WebServices

arebasedontheemergingSOAPstandard,sotheywillallow

relativelypainlessinteroperationacrossdiverseplatforms.Youll

learnmoreaboutWebServicesinChapter11.

CachingASP.NETincludesapowerfulnewcachingenginethat

willallowdeveloperstoimprovetheperformanceoftheir

applicationsbyreducingtheWebserveranddatabaseserver

processingloads.YoulllearnmoreaboutcachinginChapter12.

ConfigurationimprovementsASP.NETusesanewmethodof

storingconfigurationinformationforWebapplications.Insteadof

havingIISstorethisinformationinahard-to-accessdatabase,its

storedinXML-basedhuman-andmachine-readable

configurationfiles,whichalsomakedeploymenteasier.Youlllook

athowtheseconfigurationfilesworkinChapter5.

StatemanagementimprovementsIfyouvehadtobuildanASP

applicationtorunonaWebfarm,youknowalltoowellthatthere

weremajorlimitationstostatemanagementinclassicASP.

ASP.NETovercomestheselimitations,providingsupportfor

distributingsessionstateacrossWebservers,persistingstate

informationinaMicrosoftSQLServerdatabase,andproviding

statemanagementwithouttheuseofcookies.Youlllearnhowto

takeadvantageofthesefeaturesinChapter4.



SecurityThisisanextremelyimportantfunctionintodaysWeb

applications.ThesecuritymodelinASP.NEThasbeen

substantiallyimproved,includingnewandimproved

authenticationmethods,codeaccesssecurity,androle-based

authorization.YoulllookattheASP.NETsecuritymodelandhow

toimplementsecurityinyourASP.NETapplicationsinChapter6.

Newinversion1.1ofASP.NETisafeaturecalledRequest

Validation.Thisfeature,whichchecksforminputforscriptsor

HTMLandthrowsanexceptionifsuchdataisfound,isdesigned

tohelpdeveloperpreventcross-sitescriptingattacks.

MobileWebApplicationSupportVersion1.1ofASP.NETadds

built-insupportfortheASP.NETMobilecontrols(formerlythe

MicrosoftMobileInternetToolkit),whichoffersupportforbuilding

WebapplicationsformobiledevicessuchasPersonalDigital

Assistants(PDAs)andcellphones.Enhancingthissupportisa

newdesignerintheVisualStudio.NETIDEformobileASP.NET

applications.

Weveonlyscratchedthesurfaceindescribingsomeofthenewofferings

ofthe.NETplatformandthesubstantialadvantagesofferedbyASP.NET.

Insubsequentchapters,youllgetdetailedinformationonusingASP.NET

tocreatefaster,morerobust,andmorefunctionalWebapplications.In

thenextchapter,youlllearnaboutthevariousdevelopmenttoolsthatyou

canusetocreateyourWebapplications,fromsimpletexteditorsto

powerfulIDEssuchasVisualStudio.NET.



Chapter1QuickReference

To



Dothis



StartVisualStudio

.NET



ClicktheWindowsStartbutton,

pointtoAllPrograms,pointto

MicrosoftVisualStudio.NET,and

thenclicktheMicrosoftVisual

Studio.NETicon.



ChangehowtheIDE ClicktheMyProfilelinkonthe

toolwindowsare

VisualStudio.NETStartPage,and

configured

modifythesettingsasdesired.

Switchtoandfrom

DesignandHTML

ClicktheDesignorHTMLbuttons

viewsofanASP.NET belowthedesigner/editorwindow.

page

Saveafile



ClicktheSavebutton,orselect

SavefromtheFile

menu.



Button



Chapter2:Creating:anASP.NETWeb

Application



Overview

Inthischapter,youwilllearnhowto:

CreateanewWebapplicationwithMicrosoftVisualStudio.NET.

AddaWebFormspagetoaWebapplicationproject.

AddServerControlstoaWebFormspageandmodifytheir

properties.

Writecodeineventhandlers.

BuildandtestaWebapplication.

NowthatyouvelearnedaboutsomeofthefeaturesofVisualStudio

.NET,thenextstepistotakeadvantageoftheminyourownapplications.

Convenientlyenough,thatspreciselywhatyouregoingtolearnhowtodo

inthischapter.

Youllbeginwithanoverviewofthetwomajorprojecttypesusedfor

ASP.NETapplications.ThenyoulllookatthefiletypesusedinASP.NET

andthepurposeofeach.Next,youlllearnhowtocreateanewWeb

application,addanewWebFormspage,andaddcontrolstothepage

andmanipulatetheirproperties.Finally,youlllearnhowtoaddeventhandlercodetothepage,buildtheproject,andtestthepage.



Tài liệu bạn tìm kiếm đã sẵn sàng tải về

What’s New in ASP.NET

Tải bản đầy đủ ngay(0 tr)

×
x