BeerConf.Web.MvcApplication.OnStart C# (CSharp) Method

OnStart() protected method

protected OnStart ( ) : void
return void
        protected override void OnStart()
        {
            MigrationsRunner.Run();

            AreaRegistration.RegisterAllAreas();

            var pathProvider = new EmbeddedResourceVirtualPathProvider();
            pathProvider.AddNamespaceMapping("/Views/Account", "Brandy.Security.Web.Views.Account");
            HostingEnvironment.RegisterVirtualPathProvider(pathProvider);

            RegisterGlobalFilters(GlobalFilters.Filters);

            RegisterRoutes(RouteTable.Routes);
        }