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

查看:227
本文介绍了"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.

如果替换DLL或编辑/替换ASP.NET网站上的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天全站免登陆