Introduction to ASP.NET

zhaozj2021-02-16  46

ASP.NET is a unified web application platform that provides services necessary to establish and deploy an enterprise-level web application. ASP.NET provides new programming models and infrastructure for a more secure, stronger upgradeability, and more stable applications that can face any browser or devices.

ASP.NET is part of Microsoft .NET Framework and is a computing environment that simplifies applications developed in a highly distributed Internet environment. .NET Framework contains a public language runtime, which provides a variety of core services such as memory management, thread management, and code security. It also contains the .NET Framework class library, which is a comprehensive, object-oriented type collection of developers used to create applications.

ASP.NET provides the following advantages:

1. Manageable: ASP.NET uses text-based, graded configuration systems, simplifies the work that will be applied to server environments and web applications. Since the configuration information is stored as plain text, you can apply a new setting with help without the local management tool. Any changes to the configuration file can be automatically detected and applied to the application. For more information, see the ASP.NET configuration. 2. Security: ASP.NET provides a default authorization and authentication scheme for web applications. Developers can easily add, delete, or replace them according to the needs of the application. For more information, see ASP.NET Security. 3. Easy to deploy: ASP.NET applications can be deployed on the server by copying the necessary files to the server. You don't need to restart the server, even when you deploy or replace the compiled code, you don't need to restart. For more information, see the ASP.NET deployment. 4. Enhanced performance: ASP.NET is the compiled code running on the server. Unlike traditional Active Server Pages (ASP), ASP.NET can use early binding, real-time (JIT) compile, local optimization, and new cache services to improve performance. For more information, see ASP.NET Performance Monitoring. 5. Flexible Output Cache: ASP.NET can cache a part or entire page of page data, page data according to the needs of the application. The cached project can rely on files or other items in the cache, or can be refreshed according to the expiration policy. 6. Internationalization: ASP.NET uses Unicode intern to represent requests and response data. Internationalization can be configured for each computer, each directory, and per page. 7. Mobile device support: ASP.NET supports any browser on any device. Developers use the same programming technology as traditional desktop browsers to process new mobile devices. 8. Scalability and availability: ASP.NET is designed to scale, with specially proprietary features to improve the performance of clusters, multiprocessor environments. In addition, Internet Information Services (IIS) and ASP.NET are closely monitoring and managing processes, so that when there is an exception in a process, the new process can be created in this location to continue to process the request. For more information, see the ASP.NET process isolation. 9. Track and debug: ASP.NET provides a trace service that is enabled during application level and page level debugging. You can choose to view the information of the page, or use the application level tracking view tool to view the information. ASP.NET supports local and remote debugging using the .NET Framework debugging tool when developing and applying in a state of production. When the application is in production, the tracking statement can stay in the product code without affecting performance. 10. Integrate with .NET Framework: Because ASP.NET is part of .NET Framework, the functionality and flexibility of the entire platform is available for web applications. The .NET class library and message and data access solution can also be accessed smoothly on the Web. ASP.NET is independent of language, so developers can choose the language that is best suited for the application. In addition, the interoperability of the public language runtime also saves COM-developed existing investments. 11. Compatibility with existing ASP applications: ASP and ASP.NETs can run in parallel to the IIS web server; there is no possibility that the existing ASP application crashes due to installing ASP.NET. ASP.NET only processes files with a .aspx file extension. File with the .asp file extension continues to be processed by the ASP engine.

However, it should be noted that the session status and application status are not shared between the ASP and ASP.NET pages. ASP.NET enables two functions of distributed applications: Web Forms and XML Web services. The same configuration and debug basic structure support these two functions. Web Formwork enables you to build a strong form-based web page. The web form page uses reusable built-in components or custom components to simplify the code in the page. XML web services created using ASP.NET allows you to access servers remotely. With XML web services, the merchant can provide a programmable interface of its data or business rules, which can then be obtained and operated by the client and server application. The XML Web service enables data exchange by using standards (such as XML message processing and HTTP) within the firewall range in the client / server and server / server. The XML Web service can be called in any language and running on any operating system.

转载请注明原文地址:https://www.9cbs.com/read-16335.html

New Post(0)