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

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 when
ever any of the following events occur:
1When the server has preprocessed the client headers
2When the server authenticates the client
3跨国公司论文When the server is mapping a logical URL to a physical URL
4Before raw data is sent from the client to the server
5After raw data is sent from the client to the server but before the server processes it
滚雪球抽样6When the server logs information
7When 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. F
张家港突发聚集性疫情or example, an ISAPI filter could be used to change the background color of each page. Because ISAPI filters aren’t nearly as common as ISAPI extensions, I won’t cover them any further in this book. If you want to learn more about ISAPI extensions, you can check out my book Inside Server-Based Applications (Microsoft Press, 1999).ISAPI specifies several entry-point functions that must be exported from the DLL. Using these entry points, IIS can load the DLL; call the functions that it implements, passing in parameters as required; and receive the data to write back to the browser. ISAPI requires only two entry-point functions to be implemented these entry points, IIS can load the DLL; call the functions that it implements, passing in parameters as required; and receive the data to write back to the browser. ISAPI requires only two entry-point functions to be implemented
低碳世界期刊A Better Solution: Active Server Pages免疫组化定量分析
If you’re wondering why we’ve dwelt on the alternatives to ASP.NET in a book about programming ASP.NET, the answer lies in the details of the implementation of ASP.NET a
nd its predecessor, Active Server Pages (ASP). Understanding ISAPI is required for adept understanding of ASP and thus ASP.NET.
During the beta of IIS 2.0, which became part of Windows NT 4.0, Microsoft introduced a new technology initially codenamed “Denali.” This was during Microsoft’s “Active” period and so the technology was eventually named Active Server Pages, or ASP. Several versions of ASP.NET have been released, most notably the versions included with Windows NT 4.0 Option Pack (ASP 2.0 and IIS 4.0) and Windows 2000 (ASP 3.0 and IIS 5.0). For the purposes of this discussion, I’ll consider ASP as a whole, without referring to version differences
ASP.NET became an instant hit, in large part because it made something that was difficult(create dynamic Web content) relatively easy. Creating CGI applications and ISAPI applications wasn’t terribly difficult, but using ASP was much simpler By default, ASP uses VBScript. Literally millions of developers are at least somewhat familiar with Visual Basic, Visual Basic for Applications (VBA), or VBScript. For these developers, ASP
was the way to enter the Internet age. Certainly the developers could have learned a new programming language, but they didn’t have to with ASP. Partly because of its use of VBScript, ASP became a viable way to build Web applications.
Just as important was the relatively easy access to databases allowed through Microsoft ActiveX Data Objects (ADO). When you need to generate dynamic content, that dynamic content obviously needs to come from somewhere, and ADO made it easy to get at that data.
Finally, and perhaps most important, the ASP.NET development model allowed developers to essentially write code and run it. There was no need to perform compilation or elaborate installation steps. the ASP.NET architects were careful to capture this same development model, even though what’s going on under the covers is quite a bit different.
A New Solution: ASP.NET
When version 3.0 of ASP.NET was released along with Windows 2000, it became clearer
that the future of software development was closely tied to the future of the Web. As part of its .NET initiative, Microsoft has introduced ASP.NET, a new version of ASP that retains the model of development ASP developers have come to know and love: you can create the code and place it in the correct directory with the proper permissions, and it will just work. ASP.NET also introduces innovations that allow easier separation of the development of the core of an application and its presentation.

本文发布于:2024-09-21 00:41:58,感谢您对本站的认可!

本文链接:https://www.17tex.com/xueshu/313038.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:聚集   滚雪球   期刊
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议