ASP. NET registration options

Source: Internet
Author: User

C: \ Program Files \ Microsoft Visual Studio 9.0 \ Vc> aspnet_regiis /?
Install and uninstall ASP. NET Management Utility (2.0.50727) on your local computer ).
Copyright (c) Microsoft Corporation. All rights reserved.
Note: This utilityProgramWindows Vista has limited functions. We recommend that you use the "program" of the control panel.
To install or delete the "enable or disable Windows functions" option of the component.
ASP. NET. We also recommend that you use the IIS Manager component or appcmd.exe tool to configure ASP. NET applications.

 

-- ASP. NET registration option --

-I. Install ASP. NET 2.0 and upgrade all application pools to ASP. NET 2.0. "
ASP. NET 1.1 application pool.

-IR and-IRU install ASP. NET 2.0.

-Enable: If-enable is specified with-I,-IR, or-R
Or later ).
ASP. NET. Note: This will not have any effect on applications running in integration mode.

-Disable: if-I,-IR, or-R is specified together
Or later ).
ASP. NET. Note: This will not have any effect on applications running in integration mode.

-S <path>: sets ASP. Net version of the application pool of the specified application path to ASP. NET 2.0.
. If the application pool of the specified application is "ASP. NET ",
1.1, set the application pool of the application to defaappapppool ". Enabled
"IIS 6 management compatibility" function.
For example, aspnet_regiis.exe-s w3svc/1/root/sampleapp1

-Sn <path>: sets ASP. Net version of the application pool of the specified application path to ASP. NET 2.0.
. If the application pool of the specified application is "ASP. NET ",
1.1, set the application pool of the application to defaappapppool ". Enabled
"IIS 6 management compatibility" function.

-R Windows Vista does not support this option.

-K <path> Windows Vista does not support this option.

-Kn <path> Windows Vista does not support this option.

-U uninstall ASP. NET 2.0.

-UA uninstalls all versions of ASP. NET on the computer.

-LV: list all versions of ASP. NET installed on the computer. The status and installation path are also listed.

-LK Windows Vista does not support this option.

-C install client scripts of this version in the aspnet_client subdirectory of each IIS Site Directory
.

-E. Remove the client script of this version from the aspnet_client subdirectory of each IIS Site Directory.

-Ea removes all versions of client scripts from the aspnet_client subdirectory of each IIS Site Directory
.

-Ga <user> grants permissions to the specified user or user group to access the IIS metadatabase and ASP. NET
Other directories used.

 

-- Configure encryption options --

-PE section encrypts the configuration section. Optional parameter:
[-prov provider] uses this provider for encryption.
[-app virtual-path]
encrypted in this virtual path. The virtual path must start with a forward slash. If the virtual path is "/",
indicates the root directory of the site. If-app is not specified,
Web. config in the root directory is encrypted.
[-site-name-or-id] indicates the site of the virtual path specified in-app. If not specified,
the default website is used.
[-location sub-path] Location sub-path.
[-PKM] encrypts/decrypts machine. config instead of Web. config.

-The PD section decrypts the configuration section. Optional parameters:
[-App virtual-path]
Decrypt the data in this virtual path. The virtual path must start with a forward slash. If the virtual path is "/",
Indicates the root directory of the site. If-app is not specified
Web. config for decryption.
[-Site-name-or-id] the site of the virtual path specified in-app. If not specified,
The default website will be used.
[-Location sub-path] Location sub-path.
[-PKM] encrypts/decrypts machine. config instead of Web. config.

-Wordpress Section web-app-physical-Dir
Encrypt the configuration section. Optional parameters:
[-Prov provider] uses this provider for encryption.

-PDF web-app-physical-Dir
Decrypts the configuration section.

-The PC Container creates an RSA key pair in containername. Optional parameters:
[-Size key-size] key-size. The default value is 1024.
[-PKU] is a user container rather than a computer container.
[-Exp] enable private key export.
[-CSP provider] The CSP provider to be used.

-The PZ container deletes containername. Optional parameters:
[-PKU] is a user container rather than a computer container.

-The PI container file imports an RSA key pair from the XML file. Optional parameters:
[-PKU] is a user container rather than a computer container.
[-Exp] Create an exported key.
[-CSP provider] The CSP provider to be used.

-The PX container file exports an RSA key pair to the XML file. Optional parameters:
[-PKU] is a user container rather than a computer container.
[-Pri] includes the private key.
[-CSP provider] The CSP provider to be used.

-The PA container account adds access to the account to the container. Parameters:
[-PKU] is a user container rather than a computer container.
[-CSP provider] The CSP provider to be used.
[-Full] add full access (read access by default ).

-The PR container account removes access to the account from the container. Parameters:
[-PKU] is a user container rather than a computer container.
[-CSP provider] The CSP provider to be used.

 

-- Configure remote access options --

-Config + enables remote access to the configuration.

-Config-Disable remote access to the configuration.

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: info-contact@alibabacloud.com 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.