Imagine I create a .bat file in the following directory:
\trunk\Samples\PubSub\
@ECHO OFF
ECHO installing Subscriber 1
Subscriber1\bin\Debug\NServiceBus.Host.exe /install
pause
ECHO installing Subscriber 2
Subscriber2\bin\Debug\NServiceBus.Host.exe /install
pause
ECHO starting Subscriber services
net start Subscriber1.EndPointConfig_v...
I didn't want to make the title too long but this question specifically refers to running an NServiceBus Generic Host as a Windows Service (thanks to TopShelf) configured to run as Local System (on a Vista machine)
In a previous question I explain why I decided to adapt the PubSub sample to run as a Windows Service so that I can easily ...
I have a Windows service written using Topshelf. I'm trying to configure it to run using a Windows account with restricted privileges rather than using LocalSystem. That's also necessary as I'd like to connect to a database using integrated authentication.
The service works when run as LocalSystem (albeit with a database connection stri...
I'm building an NServiceBus service, and when I start it (either in debug through Visual Studio, or from the command line) NServiceBus.Host.exe appears to be relocating the DLLs that it's running to my AppData folder.
The application depends on resources that exist in the bin\debug folder (e.g. a plugins folder containing DLLs), but the...
How to configure TopShelf to run a service as ServiceAccount.NetworkService?
http://code.google.com/p/topshelf/
...
Hello,
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
...
Hello,
I'm using topshelf and I'm getting this exception when I try to use the "-i" option to install as a service...please help me..
Unable to cast object of type 'Magnum.CommandLineParser.SwitchElement' to type 'Magnum.CommandLineParser.IArgumentElement'.
Exception occurs in this function
static void Set(TopshelfArguments args, I...
I am developing a very simple Generic Host solution that will allow us to host assemblies as windows services (ala NServiceBus). I'm coming across the following exception (similar to the comments mentioned on Dru's blog post). I need this to work so I can host services in different AppDomains.
"Type 'MyProject.WindowsServices.GenericHos...
I'm trying to use the Topshelf hosting application Topshelf.Host.exe to execute my .NET Class Library as a Windows service. http://topshelf-project.com/documentation/shelving/
I'm having trouble hooking up the debugger inside VS2010.
Here's what I have setup
Topshelf.Host.exe at say c:\projects
my classlibrary service building to c:\...
I'm using Topshelf to host a WCF Service as a Windows Service. Even when just running on the console, it takes an exceptionally long time to shut down after I send it a Ctrl-C, and this is mirrored when running as a service. On my local machine, it takes 1ms to call svcHost.Close(new TimeSpan(0)), but 10240ms between the end of my Stop...