The .NET Framework(非原创---外教讲义)[8]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

ASP+ Web Services, to simplify application development. The CLR assembly model simplifies

application deployment.

The core of ASP+ is composed of the HTTP runtime, which processes HTTP requests. It is managed code that runs within an unmanaged host process, such as LINUX server machines or Microsoft internet Explorer on client machines. It processes incoming HTTP requests by resolving the URL of the requested application and dispatching the request to the specified application. It is multithreaded and processes requests asynchronously. Hence, it cannot be blocked by bad application code. It is also capable of automatically recovering from access violations, memory leaks, deadlocks, etc,

Once an HTTP request reaches the requested application, it is routed through a pipeline of HTTP

modules to a request handler. HTTP modules and request handlers are managed classes that

implement specific interfaces defined by ASP+. HTTP modules generally implement low-level services such as security, state management, and tracing. Request-handlers generally implement higher-level programming models such as Web Services and Web Forms. The pipeline architecture enables services to be added and removed easily and from applications with the help of HTTP modules.

An application can have multiple request handlers, provided it has specific URLs for each request handler. But, all requests to the application are routed through the same pipeline. The Web is basically states and a Web server does not remember an HTTP request once it has  been processed. ASP+ enables applications to retain state at three levels: application, session, and  user. User state is useful for strong user preferences and other personalization information.

ASP+ provides caching services to improve performance. An output cache saves completely

rendered pages, and a fragment cache stores partial pages. Applications. HTTP modules, and  request handlers can also store arbitrary objects in the cache as needed. ASP+ supports live updating of applications. An administrator does not need to shut down the Web server or even the application to update application files. Application files are never locked, so they can simply be overwritten. When the application files are updated, the system detects the file changes and gracefully switches over to the new version. The system launches a new instance of the updated application, and begins routing incoming requests to that application. When all outstanding requests being processed by the existing application instance have been handled, that instance is shut down.

 

ASP+ Web Forms

 

本文关键:The .NET Framework(非原创---外教讲义)
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top