“IISReset"有什么作用? [英] What does 'IISReset' do?

查看:44
本文介绍了“IISReset"有什么作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 IIS 6 上,IIS 重置有什么作用?

On IIS 6, what does an IIS reset do?

请与回收应用程序池以及停止和启动 ASP.NET 网站进行比较.

Please compare to recycling an app pool and stopping and starting an ASP.NET web site.

如果您在 ASP.NET 网站上替换 DLL 或编辑/替换 web.config 是否与停止和启动该网站相同?

If you replace a DLL or edit/replace the web.config on an ASP.NET web site is that the same as stopping and starting that web site?

推荐答案

IISReset 停止并重新启动整个 Web 服务器(包括非 ASP.NET 应用程序)
回收应用程序池只会影响在该应用程序池中运行的应用程序.
在 Web 应用程序中编辑 web.config 只会影响该 Web 应用程序(仅回收该应用程序).
在机器上编辑 machine.config 将回收所有正在运行的应用程序池.

IISReset stops and restarts the entire web server (including non-ASP.NET apps)
Recycling an app pool will only affect applications running in that app pool.
Editing the web.config in a web application only affects that web application (recycles just that app).
Editing the machine.config on the machine will recycle all app pools running.

IIS 将监视您的应用程序的/bin 目录.每当在这些 dll 中检测到更改时,它就会回收应用程序并重新加载这些新的 dll.它还监视 web.config &machine.config 以相同的方式对适用的应用程序执行相同的操作.

IIS will monitor the /bin directory of your application. Whenever a change is detected in those dlls, it will recycle the app and re-load those new dlls. It also monitors the web.config & machine.config in the same way and performs the same action for the applicable apps.

这篇关于“IISReset"有什么作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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