Database Reference
In-Depth Information
Services and deployment
Many of the programs that we have shown in the examples thus far have been console ap-
plications 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 applic-
ation via the NServiceBys.Host.exe command from NServiceBus; refer to ht-
tp://docs.particular.net/NServiceBus/the-nservicebus-host . To see what the available install-
ations are, simply run NServiceBus.Host.exe /? .
A sample script to install a service can be created with something as simple as the follow-
ing:
As a note, besides Visual Studio 2012, I use Notepad++, Free Toad for SQL Server, and
MSMQ Commander.
Search WWH ::




Custom Search