mirror of
https://github.com/rudollee/LearningMVC.git
synced 2025-06-07 16:06:21 +00:00
23 lines
544 B
C#
23 lines
544 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
using System.Web.Routing;
|
|
using WorkingWithRazor.Infrastructure;
|
|
|
|
namespace WorkingWithRazor
|
|
{
|
|
public class MvcApplication : System.Web.HttpApplication
|
|
{
|
|
protected void Application_Start()
|
|
{
|
|
AreaRegistration.RegisterAllAreas();
|
|
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
|
|
|
ViewEngines.Engines.Clear();
|
|
ViewEngines.Engines.Add(new CustomLocationViewEngine());
|
|
}
|
|
}
|
|
}
|