(Turn) IIS Express introduction and use

What IIS Express that?
IIS Express is optimized for the developer of a lightweight, self-contained version of IIS. IIS Express is currently using the latest version of IIS to develop and test sites easier. It has IIS 7 and above all the core functions, as well as additional features to simplify web development and design.
IIS Express from IIS 7 and above, supports the core features of IIS, but there are some key differences. One important difference is the management process. Activation in IIS, Windows Process Services (Windows Process Activation Service [WAS]) is silent activation and deactivation of Web applications, users do not have direct control. In IIS Express, there is no WAS, the user has full control activation and deactivation of the application. After the start-up display in the system tray, the site has been running manually to enable and stop. Hostable Web Core (HWC) is an IIS API, can be used to write a separate Web server, but is not WAS management. IIS Express is designed to be a shell on the HWC.

How to install IIS Express
by default when you install Visual Studio, it will be installed.
It can also be installed separately, and now the latest version is already 10.0.

  IIS 7.5 Express Download: https: //www.microsoft.com/zh-cn/download/details.aspx id = 1038?

   IIS 8.0 Express Download: https: //www.microsoft.com/zh-cn/download/details.aspx id = 34679?

   IIS 10.0 Express Download: https: //www.microsoft.com/zh-cn/download/details.aspx id = 48264?

How to Start Express IIS
IIS Express general installation path:
C: \ Program Files \ IIS Express

View a site listing
C: \ Program Files \ IIS Express > appcmd.exe list site
web site shows the configuration file to be displayed, will be introduced later in the configuration file.
2. Start website
iisexpress.exe / siteid: 96

3. Start the staging site
1
iisexpress / path: <web directory> / port: <port> / clr:

Profiles
IIS Express using the configuration file located in the default "My Documents" in the following path: "My Documents \ IIS Express \ Config". Wherein, the ApplicationHost.config is the core of the profile, which is used to define the configuration of the site that hosts, applications and application pools and the entire WEB server.
1. Each node is configured with a Web site
2. The binding information provided under this site.

IIS Express supports only local connections by default, can not be used to access ip.
  Note that, after modifying the configuration file, the command line window, enter q to quit, and then reloaded to take effect. [Test] in the same machine

Lianjie external opening can also open an external connection
(not tried)
the netsh the Add urlacl HTTP URL = HTTP: // *: {port number} / user = everyone
close the external connection
n-
the netsh Delete urlacl HTTP URL = HTTP: // *: { port
number} / ----------------
Disclaimer: This article is the original article CSDN bloggers' oscar999 ", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/oscar999/article/details/81911652

Guess you like

Origin www.cnblogs.com/wangle1001986/p/11962792.html