IISEx preSS的应用程序池回收 [英] IISExpress application pool recycle

查看:186
本文介绍了IISEx preSS的应用程序池回收的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法回收iisex preSS的应用程序池?

Is there a way to recycle iisexpress application pool?

我打开CMD,进入C:\\ Program Files文件\\ IIS防爆preSS结果
然后我跑APPCMD程序池/?和命令的列表那边缺少回收选项。

I open cmd and go to "C:\Program Files\IIS Express"
Then I'm running "appcmd apppool /?" and the list of commands over there lacks the "recycle" option.

我发现的唯一的解决方法是编辑ApplicationHost.config文件。只有这样的IISEx preSS程序池被回收。

The only workaround I've found is to edit the applicationhost.config file. Only then the IISExpress apppool is recycled.

有没有更优雅的方式来实现这一目标?结果
谢谢

Is there a more elegant way to achieve that?
Thanks

推荐答案

IIS防爆preSS没有应用程序池的支持可言,因为它只是一个进程的Web服务器。你可以杀死进程,但它不会自动启动。

IIS Express does not have application pool support at all, as it is just a single process web server. You can kill the process but it won't automatically start.

真正的应用程序池支持需要一个Windows服务,如Windows进程激活服务。因此,如果你想测试一下应用程序池,使用本地IIS。

True application pool support requires a Windows service like Windows Process Activation Service. Thus, if you do want to test out application pool, use local IIS.

这篇关于IISEx preSS的应用程序池回收的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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