计算机外文翻译--ASP.NET 页面对象模型
《计算机外文翻译--ASP.NET 页面对象模型》由会员分享,可在线阅读,更多相关《计算机外文翻译--ASP.NET 页面对象模型(12页珍藏版)》请在毕设资料网上搜索。
1、中文 4150 字,英文2400单词,12500英文字符 毕业论文 (设计 ) 英文翻译材料 学院 : 计算机科学学院 专业 : 自动化 年 级 :2011 学生姓名 : 学号 : 指导教师姓名 : 职称 : 讲
2、师 原文摘自 : lvar Jacobson.Object-Oriented Software Engineering.第 1 版 .北京:人民邮电出版社,2005.10 外文资料原文 ASP.NET PAGE OBJECT MODEL Summary: Learn about the eventing model built around ASP.NET Web pages and the various stages that a Web page experiences on its way to HTML. The ASP.NET H
3、TTP run time governs the pipeline of objects that transform the requested URL into a living instance of a page class first, and into plain HTML text next. Discover the events that characterize the lifecycle of a page and how control and page authors can intervene to alter the standard behavior. (6 p
4、rinted pages) Introduction: Each request for a Microsoft ASP.NET page that hits Microsoft Internet Information Services (IIS) is handed over to the ASP.NET HTTP pipeline. The HTTP pipeline is a chain of managed objects that sequentially process the request and make the transition from a URL to plain
5、 HTML text happen. The entry point of the HTTP pipeline is the HttpRuntime class. The ASP.NET infrastructure creates one instance of this class per each AppDomain hosted within the worker process (remember that the worker process maintains one distinct AppDomain per each ASP.NET application currentl
6、y running). The HttpRuntime class picks up an HttpApplication object from an internal pool and sets it to work on the request. The main task accomplished by the HTTP application manager is finding out the class that will actually handle the request. When the request is for an .aspx resource, the han
7、dler is a page handler namely, an instance of a class that inherits from Page. The association between types of resources and types of handlers is stored in the configuration file of the application. More exactly, the default set of mappings is defined in thesection of the machine.config file. Howev
8、er, the application can customize the list of its own HTTP handlers in the local web.config file. The line below illustrates the code that defines the HTTP handler for .aspx resources.An extension can be associated with a handler class, or more in general, with a handler factory class. In all cases,
9、 the HttpApplication object in charge for the request gets an object that implements the IHttpHandler interface. If the association resource/class is resolved in terms of a HTTP handler, then the returned class will implement the interface directly. If the resource is bound to a handler factory, an
10、extra step is necessary. A handler factory class implements the IHttpHandlerFactory interface whose GetHandler method will return an IHttpHandler-based object. How can the HTTP run time close the circle and process the page request? The IHttpHandler interface features the ProcessRequest method. By c
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中设计图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机 外文 翻译 asp net 页面 对象 模型
