开发者

Hot updating of components - any .NET API?

开发者 https://www.devze.com 2023-04-01 17:14 出处:网络
I have a windows service which spawns off long-running tasks while polling for them. I want to build a feature in which the service itself and the task libraries can be updated without inter开发者_Sta

I have a windows service which spawns off long-running tasks while polling for them. I want to build a feature in which the service itself and the task libraries can be updated without inter开发者_StackOverflowrupting the ongoing tasks. The way I want to accomplish this is to use a standard technique of shadowing the binaries and launching separate process(es) from the shadowed folder. Before I go and roll something of my own, I want to find out if there is a library out there which helps me do that.

I have looked into MAF & MEF and concluded that they won't meet my need. Any pointers is greatly appreciated.


Take a look at Topshelf for building Windows services. It is really cool. I think the concept of shelving is what you want. http://topshelf-project.com/documentation/shelving/

0

精彩评论

暂无评论...
验证码 换一张
取 消