如何启动IIS Express? [英] How do I start IIS Express?

查看:90
本文介绍了如何启动IIS Express?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Web PI安装IIS Express.在托盘中,没有IIS Express图标.如何在不使用命令行的情况下启动IIS Express?我希望IIS永久运行,所以没有命令行.

I've used the Web PI to install IIS Express. In the tray, there is not the IIS Express icon. How do I start IIS Express without using the command line? I want that IIS runs permanently, so without command line.

推荐答案

请参见

  • 打开命令提示符.
  • cd \Program Files\IIS Express
    cd \Program Files (x86)\IIS Express在64位操作系统上
  • iisexpress /?显示使用情况
    1. Open a command prompt.
    2. cd \Program Files\IIS Express, or
      cd \Program Files (x86)\IIS Express on 64-bit OS
    3. iisexpress /? to show usage

    例如,您可以通过发出以下命令来启动IIS Express命名站点: iisexpress /site:WebSite1其中WebSite1是用户配置文件配置文件(C:\ Program Files(x86)\ IIS Express \ AppServer \ applicationhost.config)中的站点

    For example, you can start your IIS Express named site by issuing the command iisexpress /site:WebSite1 where WebSite1 is a site from the user profile configuration file (C:\Program Files (x86)\IIS Express\AppServer\applicationhost.config)

    启动IIS Express的另一种常用方法是发出命令iisexpress /path:c:\myapp\ /port:80 该命令从c:\myapp文件夹通过端口80运行站点.

    Another common way to start IIS Express is to issue the command iisexpress /path:c:\myapp\ /port:80 This command runs the site from the c:\myapp folder over port 80.

    您可以使用包含在为您启动IIS Express的启动文件夹中的* .bat(使用C:\Users\<user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup或所有用户"启动文件夹C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup).

    You could use a *.bat that you include in your startup folder that starts IIS Express for you (using C:\Users\<user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup or the All Users startup folder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup).

    这篇关于如何启动IIS Express?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆