1
0
mirror of https://github.com/rudollee/LearningMVC.git synced 2025-06-07 16:06:21 +00:00
LearningMVC/Views/Global.asax.cs
2017-04-13 20:56:04 +09:00

23 lines
519 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Views.Infrastructure;
namespace Views
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RouteConfig.RegisterRoutes(RouteTable.Routes);
//ViewEngines.Engines.Clear();
ViewEngines.Engines.Add(new DebugDataViewEngine());
}
}
}