“IISReset”是什么意思? 做?
在 IIS 6 上,IIS 重置有什么作用?
请与回收应用程序池以及停止和启动 ASP.NET 网站进行比较。
如果您替换 DLL 或编辑/替换 ASP.NET 网站上的 web.config,这与停止和启动该网站相同吗?
On IIS 6, what does an IIS reset do?
Please compare to recycling an app pool and stopping and starting an ASP.NET web site.
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
这是 technet 所说的 iisreset
Here what's technet has to say about iisreset
当您更改 ASP.NET 网站的配置文件时,它会重新启动应用程序以反映更改...
当您执行 IIS 重置时,会重新启动在该 IIS 实例上运行的所有应用程序。
When you change an ASP.NET website's configuration file, it restarts the application to reflect the changes...
When you do an IIS reset, that restarts all applications running on that IIS instance.
编辑
web.config
文件或更新bin
文件夹中的 DLL 只会回收该应用程序的工作进程,而不是整个池。Editing the
web.config
file or updating a DLL in thebin
folder just recycles the worker process for that application, not the whole pool.IISReset 重新启动整个网络服务器(包括所有关联的站点)。 如果您只想重置单个 ASP.NET 网站,则应该回收该应用程序域。
IISReset restarts the entire webserver (including all associated sites). If you're just looking to reset a single ASP.NET website, you should just recycle that Application Domain.
它停止和启动 IIS 所包含的服务。
您可以将其视为关闭相关程序并重新启动。
It stops and starts the services that IIS consists of.
You can think of it as closing the relevant program and starting it up again.
应用程序池回收会重新启动该应用程序池的 w3wp.exe 进程,因此它只会影响在该应用程序池中运行的网站。
IISReset 重新启动所有 w3wp.exe 进程和任何其他 IIS 相关服务,即 NNTP 或 FTP 服务。
我认为更改
web.config
或/bin
不会回收整个应用程序池,但我对此不确定。Application Pool recycling restarts the w3wp.exe process for that application pool, hence it will only affect web sites running in that application pool.
IISReset restarts ALL w3wp.exe processes and any other IIS related service, i.e. the NNTP or FTP Service.
I think changing
web.config
or/bin
does not recycle the whole application pool, but I'm not sure on that.IISReset 重新启动整个网络服务器(包括所有关联的站点)。 如果您只想重置单个 ASP.NET 网站,则应该回收该 AppDomain。
重置 ASP.NET 网站的最常见方法是编辑 web.config 文件,但您也可以使用以下内容创建管理页面:
这是我写的包含更多信息的博客文章:避免 ASP.NET 中的 IISRESET应用
IISReset restarts the entire webserver (including all associated sites). If you're just looking to reset a single ASP.NET website, you should just recycle that AppDomain.
The most common way to reset an ASP.NET website is to edit the web.config file, but you can also create an admin page with the following:
Here's a blog post I wrote with more info: Avoid IISRESET in ASP.NET Applications
IISReset 停止并重新启动整个 Web 服务器(包括非 ASP.NET 应用程序)
回收应用程序池只会影响在该应用程序池中运行的应用程序。
在 Web 应用程序中编辑 web.config 仅影响该 Web 应用程序(仅回收该应用程序)。
编辑计算机上的 machine.config 将回收所有正在运行的应用程序池。
IIS 将监视应用程序的 /bin 目录。 每当在这些 dll 中检测到更改时,它就会回收应用程序并重新加载这些新的 dll。 它还监视 web.config 和 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 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.
它在整个 IIS 进程树上运行,而不仅仅是您的应用程序池。
It operates on the whole IIS process tree, as opposed to just your application pools.