资源描述:
《ASP.net网页的生成【外文翻译】》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、毕业论文(设计)外文翻译外文原文BuildingASP.NETWebPagesUntilnow,alloftheexampleapplicationsinthistexthavefocusedonconsole-basedanddesktopGUI-basedfrontends.Inthenextthreechapters,you’llexplorehowthe.NETplatformfacilitatestheconstructionofbrowser-basedpresentationlayersusingatechno
2、logynamedASP.NET.Tobegin,you’llquicklyreviewanumberofkeyweb-centricconcepts(HTTP,HTML,client-sidescripting,andserver-sidescripting)andexaminetheroleofMicrosoft’scommercialwebserver(IIS)aswellastheASP.NETdevelopmentwebserver,WebDev.WebServer.exe.Withthiswebprimerout
3、oftheway,theremainderofthischapterconcentratesonthestructureofASP.NETwebpages(includingthesingle-pageandcode-behindmodel)andexaminesthecompositionofaPage-derivedtype.ThischapteralsointroducestheroleoftheWeb.configfile,whichwillbeusedintheweb-centricchapterstocome.T
4、heRoleofHTTPWebapplicationsareverydifferentfromtraditionaldesktopapplications(tosaytheleast).Thefirstobviousdifferenceisthataproduction-levelwebapplicationwillalwaysinvolveatleasttwonetworkedmachines(ofcourse,duringdevelopmentitisentirelypossibletohaveasinglemachin
5、eplaytheroleofboththebrowser-basedclientandthewebserveritself).Giventhenatureofwebapplications,thenetworkedmachinesinquestionmustagreeuponaparticularwireproto-coltodeterminehowtosendandreceivedata.ThewireprotocolthatconnectsthecomputersinquestionistheHypertextTrans
6、ferProtocol(HTTP).TheHTTPRequest/ResponseCycleWhenaclientmachinelaunchesawebbrowser(suchasOpera,MozillaFirefox,orMicrosoftInternetExplorer),anHTTPrequestismadetoaccessaparticularresource(typicallyawebpage)ontheremoteservermachine.HTTPisatext-basedprotocolthatisbuil
7、tuponastandardrequest/responseparadigm.Forexample,ifyounavigatetohttp://www.intertech.com,thebrowsersoftwareleveragesawebtechnologytermedDomainNameService(DNS)thatconvertstheregisteredURLintoafour-part,32-bitnumericalvalue,termedanIPaddress.Atthispoint,thebrowserop
8、ensasocketconnection(typicallyviaport80foranonsecureconnection)andsendstheHTTPrequestforprocessingtothetargetsite.Thewebserverreceivestheincoming