gpt4 book ai didi

asp.net - 什么是 ISAPI 或 ISAPI 扩展或过滤器?我读得越多,我就越困惑

转载 作者:行者123 更新时间:2023-12-02 11:55:40 27 4
gpt4 key购买 nike

什么是 ISAPI 或 ISAPI 扩展或过滤器?我读得越多,我就越困惑。

最佳答案

参见例如这里:http://searchwindowsserver.techtarget.com/definition/ISAPI

ISAPI (Internet Server Application Program Interface) is a set of Windows program calls that let you write a Web server application that will run faster than a common gateway interface (CGI) application. A disadvantage of a CGI application (or "executable file," as it is sometimes called) is that each time it is run, it runs as a separate process with its own address space, resulting in extra instructions that have to be performed, especially if many instances of it are running on behalf of users. Using ISAPI, you create a dynamic link library (DLL) application file that can run as part of the Hypertext Transport Protocol (HTTP) application's process and address space. The DLL files are loaded into the computer when HTTP is started and remain there as long as they are needed; they don't have to be located and read into storage as frequently as a CGI application.

A special kind of ISAPI DLL is called an ISAPI filter, which can be designated to receive control for every HTTP request. You can create an ISAPI filter for encryption or decryption, for logging, for request screening, or for other purposes.

或者在此处查看另一个带有图形解释的定义:

ISAPI Definition from PC Magazine

关于asp.net - 什么是 ISAPI 或 ISAPI 扩展或过滤器?我读得越多,我就越困惑,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4912363/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com