search
HomeTopicsIISIntroduction and use of IIS Express

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.启动临时网站

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!

Statement
This article is reproduced at:CSDN. If there is any infringement, please contact admin@php.cn delete
Running PHP on IIS: A Practical TutorialRunning PHP on IIS: A Practical TutorialApr 16, 2025 am 12:10 AM

Running PHP applications on a Windows server is feasible and practical. 1) Install and configure IIS, 2) Integrate PHP through FastCGI, 3) Solve common problems such as MIME type configuration and extended loading, 4) Optimize performance settings using OpCache and FastCGI, 5) Follow PHP best practices such as using namespaces and PSR standards.

The Purpose of IIS: Serving and Managing Web ContentThe Purpose of IIS: Serving and Managing Web ContentApr 15, 2025 am 12:12 AM

IIS is a web server software developed by Microsoft to host and manage websites. 1) IIS can handle static and dynamic content, 2) Provide management tools that seamlessly integrate with Windows, 3) Support HTTP, FTP, SMTP and other protocols, 4) Provide security functions such as SSL/TLS encryption, and 5) Optimize website performance through load balancing, caching, etc.

IIS in Action: Real-World Examples and Use CasesIIS in Action: Real-World Examples and Use CasesApr 14, 2025 am 12:12 AM

IIS's real-world applications include in-business departmental websites, high-traffic e-commerce websites and API gateways. 1) In-business departmental websites utilize the powerful features of IIS and seamless integration with Windows systems, 2) High-traffic e-commerce websites improve user experience by configuring load balancing and using ARR, and 3) IIS manages and protects API access through URL rewriting and reverse proxying.

IIS and PHP: The Steps for Successful IntegrationIIS and PHP: The Steps for Successful IntegrationApr 13, 2025 am 12:07 AM

The integration of IIS and PHP can be achieved through the following steps: 1. Install PHP, 2. Add PHP handler in IIS, 3. Test the configuration. After integration, IIS will pass the PHP file request to the PHP interpreter for execution and return the result to the client to achieve efficient web services.

Using PHP on IIS: A Comprehensive GuideUsing PHP on IIS: A Comprehensive GuideApr 12, 2025 am 12:19 AM

Configuring and running PHP applications on IIS requires the following steps: 1. Install IIS and PHP, make sure IIS is enabled and download the PHP ZIP file. 2. Add a website or application in IIS Manager and configure the handler to map to the PHP executable file. 3. Use simple PHP scripts to test the configuration. 4. Debug by checking log files and error logs. 5. Optimize performance, including using application pools and adjusting php.ini settings.

Beyond the Hype: Assessing the Role of IIS TodayBeyond the Hype: Assessing the Role of IIS TodayApr 11, 2025 pm 12:25 PM

IIS remains important in today's technological environment. 1) IIS is tightly integrated with Windows systems, providing powerful management and security functions. 2) It supports advanced usage from simple website hosting to complex load balancing and SSL management. 3) Through optimization and best practices, IIS still has powerful functions and stability in enterprise and personal applications.

What is IIS used for?What is IIS used for?Apr 09, 2025 am 12:13 AM

IIS is a powerful web server software developed by Microsoft to host and manage websites, applications, and services. The functions of IIS include: 1) Hosting websites and web applications, supporting a variety of programming languages ​​and frameworks; 2) Providing load balancing and high availability to ensure application stability; 3) Built-in multiple security features to protect web applications; 4) Providing performance optimization tools to improve response speed; 5) Providing detailed logging and monitoring functions to help diagnose and solve problems.

Is Microsoft IIS free?Is Microsoft IIS free?Apr 08, 2025 am 12:11 AM

Microsoft's IIS does offer a free version for individual developers and small projects, but with limited functionality. 1. The free version is bundled with the Windows operating system and is suitable for individuals and small projects. 2. The paid version provides advanced features such as load balancing, suitable for projects that require high reliability and scalability. 3. When using IIS, reasonable configuration and optimization can significantly improve performance and reliability.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.