问题
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