OpenAuth.Net/OpenAuth.Mvc/Global.asax.cs

25 lines
619 B
C#
Raw Normal View History

2016-01-05 10:03:35 +08:00
using System.Web;
2015-09-23 00:10:11 +08:00
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
2015-10-26 21:58:12 +08:00
using Infrastructure;
2015-09-23 00:10:11 +08:00
namespace OpenAuth.Mvc
{
2015-11-13 23:25:46 +08:00
public class MvcApplication : HttpApplication
2015-09-23 00:10:11 +08:00
{
protected void Application_Start()
{
2015-10-26 21:58:12 +08:00
AutofacExt.InitAutofac();
2015-09-23 00:10:11 +08:00
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
2015-10-26 21:58:12 +08:00
LogHelper.Log("启动Web");
2015-09-23 00:10:11 +08:00
}
}
}