My NServiceBus demo

While watching NServiceBus video from EVan, I created my first NServiceBus demo application. It’s funny the presenter failed in almost all the demos, my local version works just fine. The difference is I’m using the svn trunk version.
Notes:

  1. MSMQ must installed.
  2. Prefer use queueexplorer to moniter msmq.
  3. Must add <UnicastBusConfig LocalAddress=”yourInputQueueName”> in the version I’m using, to solve the “Format Name is invalid” problem when startup.
  4. Manually create a NServiceBus.Host.exe.Config file to set scan path.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
<add key="EndpointConfigurationTypeScanned" value="C:\work_dir\New folder\NServiceBusDemo\NServiceBusDemo.Processing\bin\Debug\"/>
<!-- or using  <add key="EndpointConfigurationType" value="YourNamespace.YourTypeName, YourAssembly"/> -->
</appSettings>
   <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
</configuration>

Advertisements

One thought on “My NServiceBus demo

  1. Pingback: NServiceBus Gotcha - NServiceBus.Host.exe Can’t Locate IConfigureThisEndpoint - sfeldman.NET

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s