1、 第 1 页 共 12 页 中文 3683 字 外文文献 ASP Technology Conspectus And Specialties ASP.NET is a unified Web development model that includes the services necessary for you to build enterprise-class Web applications with a minimum of coding. ASP.NET is part of the .NET Framework, and when coding ASP.NET applicati
2、ons you have access to classes in the .NET Framework. You can code your applications in any language compatible with the common language runtime (CLR), including Microsoft Visual Basic, C#, JScript .NET, and J#. These languages enable you to develop ASP.NET applications that benefit from the common
3、language runtime, type safety, inheritance, and so on. ASP.NET includes: A page and controls framework The ASP.NET compiler Security infrastructure State-management facilities Application configuration Health monitoring and performance features Debugging support An XML Web services framework Extensi
4、ble hosting environment and application life cycle management An extensible designer environment The ASP.NET page and controls framework is a programming framework that runs on a Web server to dynamically produce and render ASP.NET Web pages. ASP.NET Web pages can be requested from any browser or cl
5、ient device, and ASP.NET renders markup (such as HTML) to the requesting browser. As a rule, you can use the same page for multiple browsers, because ASP.NET renders the appropriate markup for the browser making the request. However, you can design your ASP.NET Web page to target a specific browser,
6、 such as Microsoft Internet Explorer 6, and take advantage of the features of that browser. ASP.NET supports mobile controls for Web-enabled devices such as cellular phones, handheld computers, and personal digital assistants (PDAs). ASP.NET Web pages are completely object-oriented. Within ASP.NET W
7、eb pages you can work with HTML elements using properties, methods, and events. The ASP.NET page framework removes the implementation details of the separation of 第 2 页 共 12 页 client and server inherent in Web-based applications by presenting a unified model for responding to client events in code t
8、hat runs at the server. The framework also automatically maintains the state of a page and the controls on that page during the page processing life cycle. The ASP.NET page and controls framework also enables you to encapsulate common UI functionality in easy-to-use, reusable controls. Controls are
9、written once, can be used in many pages, and are integrated into the ASP.NET Web page that they are placed in during rendering. The ASP.NET page and controls framework also provides features to control the overall look and feel of your Web site via themes and skins. You can define themes and skins a
10、nd then apply them at a page level or at a control level. In addition to themes, you can define master pages that you use to create a consistent layout for the pages in your application. A single master page defines the layout and standard behavior that you want for all the pages (or a group of page
11、s) in your application. You can then create individual content pages that contain the page-specific content you want to display. When users request the content pages, they merge with the master page to produce output that combines the layout of the master page with the content from the content page.
12、 All ASP.NET code is compiled, which enables strong typing, performance optimizations, and early binding, among other benefits. Once the code has been compiled, the common language runtime further compiles ASP.NET code to native code, providing improved performance. ASP.NET includes a compiler that
13、will compile all your application components including pages and controls into an assembly that the ASP.NET hosting environment can then use to service user requests. In addition to the security features of .NET, ASP.NET provides an advanced security infrastructure for authenticating and authorizing
14、 user access as well as performing other security-related tasks. You can authenticate users using Windows authentication supplied by IIS, or you can manage authentication using your own user database using ASP.NET forms authentication and ASP.NET membership. Additionally, you can manage the authoriz
15、ation to the capabilities and information of your Web application using Windows groups or your own custom role database using ASP.NET roles. You can easily remove, add to, or replace these schemes depending upon the needs of your application. ASP.NET always runs with a particular Windows identity so
16、 you can secure your application using Windows capabilities such as NTFS Access Control Lists (ACLs), 第 3 页 共 12 页 database permissions, and so on. For more information on the identity of ASP.NET, ASP.NET provides intrinsic state management functionality that enables you to store information between
17、 page requests, such as customer information or the contents of a shopping cart. You can save and manage application-specific, session-specific, page-specific, user-specific, and developer-defined information. This information can be independent of any controls on the page. ASP.NET offers distribute
18、d state facilities, which enable you to manage state information across multiple instances of the same application on one computer or on several computers. ASP.NET applications use a configuration system that enables you to define configuration settings for your Web server, for a Web site, or for in
19、dividual applications. You can make configuration settings at the time your ASP.NET applications are deployed and can add or revise configuration settings at any time with minimal impact on operational Web applications and servers. ASP.NET configuration settings are stored in XML-based files. Becaus
20、e these XML files are ASCII text files, it is simple to make configuration changes to your Web applications. You can extend the configuration scheme to suit your requirements. ASP.NET includes features that enable you to monitor health and performance of your ASP.NET application. ASP.NET health moni
21、toring enables reporting of key events that provide information about the health of an application and about error conditions. These events show a combination of diagnostics and monitoring characteristics and offer a high degree of flexibility in terms of what is logged and how it is logged. ASP.NET
22、 supports two groups of performance counters accessible to your applications: The ASP.NET system performance counter group The ASP.NET application performance counter group ASP.NET takes advantage of the run-time debugging infrastructure to provide cross-language and cross-computer debugging support
23、. You can debug both managed and unmanaged objects, as well as all languages supported by the common language runtime and script languages. In addition, the ASP.NET page framework provides a trace mode that enables you to insert instrumentation messages into your ASP.NET Web pages. ASP.NET supports XML Web services. An XML Web service is a component containing business functionality that enables applications to exchange information across firewalls using standards like HTTP and XML messaging. XML Web services