Skip to content

Instantly share code, notes, and snippets.

@nicka-cme
nicka-cme / mt-webjob-basic-setup.cs
Created June 21, 2017 19:55
Masstransit webjob setup
// extract from from prgram.cs
public class Program
{
// Please set the following connection strings in app.config for this WebJob to run:
// AzureWebJobsDashboard and AzureWebJobsStorage
public static void Main()
{
var builder = new ContainerBuilder();
builder.RegisterModule<DatastoreModule>();
builder.RegisterModule<CommonModule>();