title: Is it possible to use fluent migrator in application_start?
body: <p>I'm using fluent migrator to manage my database migrations, but what I'd like to do is have the migrations run at app start. The closest I have managed is this:</p>
  
  <pre><code>public static void MigrateToLatest(string connectionString)
  {
      using (var announcer = new TextWriterAnnouncer(Console.Out)
                                  {
                                      ShowElapsedTime = true,
                                      ShowSql = true
                                  })
      {
          var assembly = typeof(Runner).Assembly.GetName().Name;
  
          var migrationContext = new RunnerContext(announcer)
          {
              Connection = connectionString,
              Database = "SqlServer2008",
              Target = assembly
          };
  
          var executor = new TaskExecutor(migrationContext);
          executor.Execute();
      }
  }
  </code></pre>
  
  <p>I'm sure I had this working, but I've not looked at it for sometime (hobby project) and it's now throwing null reference exceptions when it gets to the <code>Execute</code> line. Sadly there are no docs for this and I've been banging my head on it for ages.</p>
  
  <p>Has anyone managed to get this kind of thing working with FluentMigrator?</p>