欢迎来到天天文库
浏览记录
ID:41509664
大小:86.00 KB
页数:11页
时间:2019-08-26
《陈鹏-外文翻译》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、外文翻译城市公交查询系统的设计与实现学生姓名:陈鹏指导教师:王萍副教授合作指导教师:专业名称:计算机科学与技术所在学院:大连水产学院2009年6月原文摘自:lvarJacobson.Object-OrientedSoftwareEngineering.第1版.北京:人民邮电出版社,2005.10外文资料原文[ASP.NETPAGEOBJECTMODEL:]Summary:LearnabouttheeventingmodelbuiltaroundASP.NETWebpagesandthevarioussta
2、gesthataWebpageexperiencesonitswaytoHTML.TheASP.NETHTTPruntimegovernsthepipelineofobjectsthattransformtherequestedURLintoalivinginstanceofapageclassfirst,andintoplainHTMLtextnext.Discovertheeventsthatcharacterizethelifecycleofapageandhowcontrolandpageauth
3、orscanintervenetoalterthestandardbehavior.(6printedpages)Introduction:EachrequestforaMicrosoft®ASP.NETpagethathitsMicrosoft®InternetInformationServices(IIS)ishandedovertotheASP.NETHTTPpipeline.TheHTTPpipelineisachainofmanagedobjectsthatsequentiallyprocess
4、therequestandmakethetransitionfromaURLtoplainHTMLtexthappen.TheentrypointoftheHTTPpipelineistheHttpRuntimeclass.TheASP.NETinfrastructurecreatesoneinstanceofthisclasspereachAppDomainhostedwithintheworkerprocess(rememberthattheworkerprocessmaintainsonedisti
5、nctAppDomainpereachASP.NETapplicationcurrentlyrunning).TheHttpRuntimeclasspicksupanHttpApplicationobjectfromaninternalpoolandsetsittoworkontherequest.ThemaintaskaccomplishedbytheHTTPapplicationmanagerisfindingouttheclassthatwillactuallyhandletherequest.Wh
6、entherequestisforan.aspxresource,thehandlerisapagehandler—namely,aninstanceofaclassthatinheritsfromPage.Theassociationbetweentypesofresourcesandtypesofhandlersisstoredintheconfigurationfileoftheapplication.Moreexactly,thedefaultsetofmappingsisdefinedinthe
7、sectionofthemachine.configfile.However,theapplicationcancustomizethelistofitsownHTTPhandlersinthelocalweb.configfile.ThelinebelowillustratesthecodethatdefinestheHTTPhandlerfor.aspxresources.8、ndlerFactory"/>Anextensioncanbeassociatedwithahandlerclass,ormoreingeneral,withahandlerfactoryclass.Inallcases,theHttpApplicationobjectinchargefortherequestgetsanobjectthatimplementstheIHttpHandlerinterface.Iftheass
8、ndlerFactory"/>Anextensioncanbeassociatedwithahandlerclass,ormoreingeneral,withahandlerfactoryclass.Inallcases,theHttpApplicationobjectinchargefortherequestgetsanobjectthatimplementstheIHttpHandlerinterface.Iftheass
此文档下载收益归作者所有