Many of the programs that we have shown in the examples thus far have been console applications that generally don't run in production.
There is a framework that is embedded in a lot of NserviceBus code called Topshelf; see http://topshelf-project.com for the Topshelf website. TopShelf is a framework used to build Windows services.
To deploy NServiceBus, a command script in Windows can be written to deploy the application via the NServiceBys.Host.exe
command from NServiceBus; refer to http://docs.particular.net/NServiceBus/the-nservicebus-host. To see what the available installations are, simply run NServiceBus.Host.exe /?
.
A sample script to install a service can be created with something as simple as the following:
As a note, besides Visual Studio 2012, I use Notepad++, Free Toad for SQL Server, and MSMQ Commander.