Home > Topics > IIS > body text

Introduction and use of IIS Express

coldplay.xixi
Release: 2021-04-27 18:54:23
forward
6244 people have browsed it

Introduction and use of IIS Express

Directory:

    • What is IIS Express?
    • How to install IIS Express
    • How to start IIS Express
    • Configuration file

Recommended (free) :IIS

What is IIS Express?

IIS Express is a lightweight, self-contained version of IIS optimized for developers. IIS Express makes it easy to develop and test websites using the latest version of IIS available today. It has all the core features of IIS 7 and above, plus additional features designed to simplify website development.
IIS Express is derived from IIS 7 and above and supports the core features of IIS, but with some key differences. An important difference is the management of worker processes. In IIS, the Windows Process Activation Service (WAS) is a web application that is silently activated and deactivated without direct control by the user. In IIS Express, WAS does not exist and users have full control over application activation and deactivation. It will be displayed in the system tray after startup. Already running websites can be started and stopped manually. Hostable Web Core (HWC) is an IIS API that can be used to write standalone web servers, but is not managed by WAS. IIS Express is designed as a shell on top of the HWC.

How to install IIS Express

It will be installed by default when Visual Studio is installed.
It can also be installed independently. The latest version is now 10.0.

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

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

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

How to start IIS Express

General installation path of IIS Express:
C:\Program Files\IIS Express

  1. View website list
    C:\Program Files\IIS Express>appcmd.exe list site
    The website displayed is based on the configuration File is displayed, and the configuration file will be introduced later.

2. Start the website
iisexpress.exe /siteid:96

3.启动临时网站
Copy after login

iisexpress /path: /port: /clr :

Configuration file

By default, the configuration file used by IIS Express is located in "My Documents" with the following path: "My Documents\IIS Express\Config ". Among them, applicationhost.config is the core configuration file, which is used to host the definition of the site, applications and application pools, and the configuration of the entire WEB server.
1. Each node is configured with a website
2. The binding information of this site is set below.

IIS Express only supports local connections by default and cannot be accessed by IP.
Note that after modifying the configuration file, enter q in the command line window to exit, and then reload it to take effect. [Testing on the same machine]

You can also enable external lianjie to open external connections
(have not tried it)
netsh http add urlacl url=http://*:{port number}/ user= everyone
Close external connection
n
netsh http delete urlacl url=http://*:{port number}/

The above is the detailed content of Introduction and use of IIS Express. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
iis
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template