TopShelf-ConfigureServiceInIsolation和ConfigureService之间的区别
有人可以帮我理解这个topshelf项目吗...主要是ConfigureServiceinIsolation和ConfigureService之间的区别。
http://topshelf-project.com/documentation/getting-started/
如果有人能向我指出一些有关它的正确文档,那就太好了。
谢谢
Can someone help me understand this topshelf project...mainly the difference between ConfigureServiceinIsolation and ConfigureService.
http://topshelf-project.com/documentation/getting-started/
It would be nice if someone could point me to some proper documentation about it.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ConfigureServiceInIsolation 将在同一进程内的单独 AppDomain 中运行您的服务。如果您只运行一项服务,则只需使用ConfigureService。
您提到的链接上有一个非常好的示例,我们一直在寻找人员来帮助记录该项目。我承认,该文档不是最好的,但我认为入门所需的基础知识已经阐述得很好。
ConfigureServiceInIsolation will run your service in a separate AppDomain within the same process. If you are only running one service, just use ConfigureService.
There is a pretty good example on the link you mentioned and we're always looking for people to help document the project. I admit, the documentation isn't the greatest but basics needed to get started are pretty well spelled out I thought.