计算机科学文献中英文对照,计算机科学和技术英文文献.doc

本文介绍了ISAPI(Internet Server Application Programming Interface)作为微软为解决CGI性能和可扩展性问题而开发的技术。ISAPI使用DLLs而非可执行文件,从而带来了性能和可扩展性的优势。ISAPI扩展可以处理客户端请求并输出HTML响应,类似CGI。此外,ISAPI过滤器在特定事件发生时被IIS调用,如预处理客户端头、认证、URL映射等,它们无法直接通过CGI实现。ISAPI过滤器常用于定制身份验证和修改发送到客户端的HTML内容。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

计算机科学和技术英文文献

东北石油大学本科毕业设计(英文文献)

PAGE 6

Introduction to ASP.NET Development

To overcome the performance and scalability problems that CGI brings, Microsoft developed a new way for developers to build scalable applications. This high performance alternative is called the Internet Server Application Programming Interface(ISAPI). Instead of housing functionality in executable files, ISAPI uses DLLs. Using DLLs instead of executable programs has some definite performance and scalability advantages

The ISAPI extension could also be called with arguments that will allow a single ISAPI extension to perform multiple tasks. Just as in the CGI example, the directory must have execute permissions enabled, or the DLL will be downloaded to the client rather than run on the server. ISAPI extensions are typically used to process client requests and output a response as HTML, which is very similar to the way CGI programs are used.

ISAPI filters perform a function that can’t be directly duplicated with CGI applications. ISAPI filters are never explicitly called; instead, they are called by IIS in response to certain events in the life of a request. The developer can request that an ISAPI filter be called whenever any of the following events occur:

1.When the server has preprocessed the client headers

2.When the server authenticates the client

3.When the server is mapping a logical URL to a physical URL

4.Before raw data is sent from the client to the server

5.After raw data is sent from the client to the server but before the server processes it

6.When the server logs information

7.When the session is ending

As with any filter, ISAPI filters should request only the notifications it requires and process them as quickly as possible. One of the more common uses of ISAPI filters is to provide custom authentication. Another use is to modify the HTML that will be sent to the client. For example, an ISAPI filter could be used to change the background color of each page. Because ISAPI filters aren’t ne

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值