如何更新Web服务器上已注册的.dll [英] How to update a registered .dll on the web server
本文介绍了如何更新Web服务器上已注册的.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我制作了一个test.dll并在网络服务器上注册了它。网页可以使用dll中的方法。我的问题是:每次我修改test.dll并复制到Web服务器时,我都需要重新启动IIS,因为前一个缓存在内存中并由IIS管理。有没有办法卸载旧的或强制加载新的一个而不重新启动IIS?
我很感激,如果有人可以提供帮助。
Hi,
I made a test.dll and registered it on a web server. web pages can use the methods within the dll. My problem is: every time I modify test.dll and copy to the web server, I need restart IIS, because a previous one is cached in the memory and managed by IIS. Is there a way to unload old one or enforce load new one without restarting IIS?
I appreciate if someone can give a help.
推荐答案
使用COM +可以避免这个问题。
" Li Pang"写道:
Using COM+ can avoid this problem.
"Li Pang" wrote:
我制作了一个test.dll并在Web服务器上注册了它。网页可以使用dll中的方法。我的问题是:每次我修改test.dll并复制到Web服务器时,我都需要重新启动IIS,因为前一个缓存在内存中并由IIS管理。有没有办法卸载旧的或强制加载新的一个而不重新启动IIS?
我很感激,如果有人可以提供帮助。
Hi,
I made a test.dll and registered it on a web server. web pages can use the methods within the dll. My problem is: every time I modify test.dll and copy to the web server, I need restart IIS, because a previous one is cached in the memory and managed by IIS. Is there a way to unload old one or enforce load new one without restarting IIS?
I appreciate if someone can give a help.
* HELLO * | HELLO |
-
OHM(Terry Burns)|使用以下内容给我发电子邮件|
Dim ch()As Char =" ufssz / cvsotAhsfbuTpmvujpotXjui / OFU" .ToCharArray()
For i As Int16 = 0 to ch.Length - 1
ch(i)= Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
下一页
Process.Start(" ; mailto:"& New String(ch))
-
" Li Pang" <黎**** @ discussions.microsoft.com>在消息中写道
news:95 ********************************** @ microsof t.com ...
*HELLO* |HELLO|
--
OHM ( Terry Burns ) |Use the following to email me|
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int16 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Li Pang" <Li****@discussions.microsoft.com> wrote in message
news:95**********************************@microsof t.com...
使用COM +可以避免这个问题。
李庞写道:
Using COM+ can avoid this problem.
"Li Pang" wrote:
我制作了一个test.dll并在Web服务器上注册了它。网页可以使用
dll中的方法。我的问题是:每次我修改test.dll和
复制到Web服务器时,我都需要重启IIS,因为前一个缓存了
在内存中管理通过IIS。有没有办法卸载旧版本或
强制加载新版本而不重新启动IIS?
我很感激有人可以提供帮助。
Hi,
I made a test.dll and registered it on a web server. web pages can use the methods within the dll. My problem is: every time I modify test.dll and
copy to the web server, I need restart IIS, because a previous one is cached
in the memory and managed by IIS. Is there a way to unload old one or
enforce load new one without restarting IIS?
I appreciate if someone can give a help.
| HELLO |
-
OHM(Terry Burns)|使用以下方法给我发电子邮件|
Dim ch()As Char =" ufssz / cvsotAhsfbuTpmvujpotXjui / OFU" .ToCharArray()
For i As Int16 = 0 to ch .Length - 1
ch(i)= Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
下一页
Process.Start(" mailto:"& New String(ch))
-
" One Handed Man(OHM - Terry Burns)" < news.microsoft.com>在留言中写道
news:Ou ************** @ TK2MSFTNGP09.phx.gbl ...
|HELLO|
--
OHM ( Terry Burns ) |Use the following to email me|
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int16 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:Ou**************@TK2MSFTNGP09.phx.gbl...
* HELLO * | HELLO |
-
OHM(Terry Burns)|使用以下内容给我发电子邮件|
Dim ch()As Char =" ufssz / cvsotAhsfbuTpmvujpotXjui / OFU" ; .ToCharArray()
对于我作为Int16 = 0到ch.Length - 1
ch(i)= Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
下一步
Process.Start(" mailto:"& New String(ch))
-
" Li Pang" <黎**** @ discussions.microsoft.com>在消息中写道
新闻:95 ********************************** @ microsof t.com。 ..
*HELLO* |HELLO|
--
OHM ( Terry Burns ) |Use the following to email me|
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int16 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Li Pang" <Li****@discussions.microsoft.com> wrote in message
news:95**********************************@microsof t.com...
使用COM +可以避免这个问题。
李庞写道:
Using COM+ can avoid this problem.
"Li Pang" wrote:
我制作了一个test.dll并在Web服务器上注册了它。网页可以使用dll中的方法。我的问题是:每次修改test.dll
并复制到Web服务器时,我都需要重新启动IIS,因为前一个是
缓存在内存中并由IIS管理。有没有办法卸载旧的或者在不重新启动IIS的情况下强制加载新的?
我很感激有人可以提供帮助。
Hi,
I made a test.dll and registered it on a web server. web pages can use the methods within the dll. My problem is: every time I modify test.dll and copy to the web server, I need restart IIS, because a previous one is cached in the memory and managed by IIS. Is there a way to unload old one or
enforce load new one without restarting IIS?
I appreciate if someone can give a help.
这篇关于如何更新Web服务器上已注册的.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文