TopShelf- difference between ConfigureServiceInIsolation and ConfigureService

試著忘記壹切 提交于 2019-12-11 10:47:13

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/3256535/topshelf-difference-between-configureserviceinisolation-and-configureservice

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!