Install ASP. NET

Source: Internet
Author: User

Install ASP. NET on Windows 2003 Server

The Windows Server 2003 family uses ASP. NET and IIS integration to improve the developer experience. ASP. NET recognizes most ASP code and provides more functions for creating enterprise-level Web applications that can work as part of Microsoft. NET Framework. ASP. NET allows us to take full advantage of the functions of the Common Language Runtime Library, such as type security, inheritance, language interoperability and version control. IIS 6.0 also provides support for the latest Web standards, including XML, Simple Object Access Protocol (SOAP), and Internet Protocol version 6.0 (IPv6.0.

ASP. NET is a unified Web development platform that provides the services required by developers to create enterprise-level Web applications. Although ASP. NET syntax is basically compatible with ASP, it also provides a new programming model and infrastructure to improve application security, scalability, and stability. By gradually adding the ASP. NET function to the existing ASP application, we can freely increase it. ASP. NET is a compiled, based on.. NET environment. We can use any.. NET compatible languages include Microsoft Visual Basic. NET, Microsoft Visual C # And Microsoft JScript.. NET) to create applications. In addition, the entire Microsoft. NET Framework can be used in any ASP. NET application. Developers can easily benefit from these technologies, including the managed public Language Runtime Library environment, type security, inheritance, and so on.

ASP. NET has the following advantages:
1) manageability: ASP. NET uses a text-based and hierarchical configuration system to simplify the application of settings to server environments and Web applications. Because the configuration information is stored in plain text, you can apply new settings without the help of local management tools. Any changes to the configuration file can be automatically detected and applied to applications.
2) Security: ASP. NET provides default authorization and authentication solutions for Web applications. Developers can easily add, delete, or replace these solutions based on application needs.
3) easy deployment: by simply copying necessary files to the server, ASP. NET applications can be deployed on the server. You do not need to restart the server, or even restart it when deploying or replacing the compiled code.
4) Enhanced Performance: ASP. NET is the compiled code running on the server. Unlike the traditional Active Server Pages (ASP), ASP. NET can use early binding, real-time (JIT) compilation, local optimization, and new cache services to improve performance.
5) Flexible output cache: According to application needs, ASP. NET can cache page data, part of the page, or the whole page. Cached items can depend on cached files or other items, or can be refreshed Based on expiration policies.
6) Internationalization: ASP. NET uses Unicode internally to indicate request and response data. You can configure internationalization settings for each computer, directory, and page.
7) mobile device support: ASP. NET supports any browsers on any device. Developers use the same programming technology as traditional desktop browsers to handle new mobile devices.
8) scalability and availability: ASP. NET is designed to be scalable and has special proprietary functions to improve the performance of the cluster and multi-processor environment. In addition, Internet Information Service (IIS) and ASP. NET, so that when a process encounters an exception, you can create a new process at this location so that the application can continue to process the request.
9) tracking and debugging: ASP. NET provides the tracking service, which can be enabled during application-level and page-level debugging. You can choose to view the page information, or use the application-level tracking and viewing tool to view information. When development and applications are in the production status, ASP. NET supports local and remote debugging using the. NET Framework debugging tool. When an application is in production status, the trace statement can be left in the product code without affecting performance.
10) integration with. NET Framework: Because ASP. NET is part of the. NET Framework, the functions and flexibility of the entire platform are available to Web applications. You can also smoothly access the. NET class library and message and data access solutions from the Web. ASP. NET is independent of other languages, so developers can select the language most suitable for applications. In addition, the interoperability of Public Language Runtime libraries also saves existing investment in COM-based development.
11) compatibility with existing ASP applications: ASP and ASP.. NET can run concurrently on the IIS Web server without conflict with each other. NET causes the existing ASP application to crash. ASP. NET only processes files with. aspx file extensions. Files with. asp file extensions are processed by the ASP engine. However, it should be noted that the session Status and application status are not shared between ASP and ASP. NET pages.

Install ASP. NET

Client and Server applications on Windows Server 2003, Windows 2000 Professional, Server, and Advanced Server, and Windows XP Professional support ASP. NET.

Servers running members of the Microsoft Windows Server 2003 family can be configured as application servers, and ASP. NET can be enabled when the application Server role is configured. To deploy ASP. NET Web applications to the product server, you must ensure that ASP. NET and IIS roles are enabled on the product server before distributing the applications.

1. Use the "Configure your Server" Wizard to install ASP. NET on a Server running Windows Server 2003
1) from the "Start" menu, click "manage your servers"; in the "manage your servers" window, click "add or delete role ".
2) In the "Configure your server wizard", click "Next", and in the "server role" dialog box, select "Application Server (IIS, ASP. and then click "Next ".
3) in the "Application Server options" dialog box, select the "enable ASP. NET" check box, click "Next", and then click "Next ".
4) if necessary, insert the Windows Server 2003 installation CD into the CD-ROM drive and then click "Next ".
5) when the installation is complete, click "finish ".

2. Use "add or delete programs" on the Server running Windows Server 2003 to install ASP. NET.
1) from the "Start" menu, point to "Control Panel" and click "add or delete programs ".
2) In the "add or delete programs" dialog box, click "Add/delete Windows Components ".
3) in the "Windows Components" Wizard, select the "Application Server" check box and click "Next ".
4) When you complete the configuration of Windows Server 2003 in the "Windows Components" Wizard, click "finish ".

3. Enable ASP. NET in IIS manager on the Server running Windows Server 2003
1) from the "Start" menu, click "run ".
2) In the "open" box in the "run" dialog box, type inetmgr and click "OK ".
3) in IIS manager, expand the Local Computer and click "Web Service extension ".
4) In the right pane, right-click ASP. NET and click Allow ". The ASP. NET status changes to "allowed ".

Layout of ASP. NET Web applications

ASP. NET applications are defined as all files and executable codes that can be called from virtual directories on Web servers and Their subdirectories. Including the Web page. html file) and Web form page. aspx file), Web form user control. ascx files), XML Web Services. asmx files), HTTP processing programs, HTTP modules, and other file images and configuration files ). All script ing related to Microsoft. NET Framework is also part of the ASP. NET application. ASP. NET Applications must be located in the IIS virtual directory, also known as the application root directory. ASP.. NET applications can contain compiled assembly files (usually DLL files containing business logic), known directory names used to store pre-compiled code are always \ Bin), stored in text-based, easy-to-read Web. configuration settings, pages, server controls, and XML Web Services in the config file.

Any pre-compiled code on the server that is not shared with other applications must be stored in the \ Bin directory of the application. It is the local assembly cache of the application. The Web. config file stores application-level configuration files in XML-based text files. This means that you can use any standard text editor or XML analyzer to create them and they are readable. If the Web. config file is not included in the application root directory, the configuration settings are determined by the configuration file of the entire server in the Machine. config file. When installing the. NET Framework, a version of the Machine. config file is installed.

  1. Implementation of ASP. NET plug-in
  2. Overview ASP. NET Applications
  3. Introduction to ASP. NET 2.0 Data Binding
  4. ASP. NET prevents Java Script Injection attacks
  5. ASP. net mvc using T4

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.