开发者

Hot updating of components - any .NET API?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜