重新加载网页组件没有IISRESET最好的方法 [英] Best way to reload web assemblies without IISReset

查看:112
本文介绍了重新加载网页组件没有IISRESET最好的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是重装组件你做一个发布到一个网站后或GAC一些组件的最佳方式。

What's the best way to reload assemblies after you do a publish to a website and or gac some assemblies.

这是很容易招我学到的是触摸web.config中并重新加载应用程序域。

An easy trick I've learned is to touch the web.config and it reloads the app domain.

什么是与此相关的最佳实践?

What are the best practices related to this?

是否有可能更新激活服务组件,而不由网页引用的IISRESET服务器?

Is it possible to update a Server Activated Serviced Component without an IISRESET that is referenced by a webpage?

感谢

推荐答案

您可以运行

iisapp.vbs /一个应用程序池名称/ R

iisapp.vbs /a "App Pool Name" /r

这将重新启动应用程序池,离开应用程序池不变的其余部分。没有IIS服务被停止或启动。

This will restart the app pool and leave the rest of the app pools untouched. No IIS Services are stopped or started.

这篇关于重新加载网页组件没有IISRESET最好的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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