From cdc61eb4ea5309769ad4db84d92594e4dc3dff67 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 20 Mar 2017 16:45:17 -0400 Subject: Initial commit (azure deploy test) --- Project-Unite/App_Start/RouteConfig.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Project-Unite/App_Start/RouteConfig.cs (limited to 'Project-Unite/App_Start/RouteConfig.cs') diff --git a/Project-Unite/App_Start/RouteConfig.cs b/Project-Unite/App_Start/RouteConfig.cs new file mode 100644 index 0000000..2fc4239 --- /dev/null +++ b/Project-Unite/App_Start/RouteConfig.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Mvc; +using System.Web.Routing; + +namespace Project_Unite +{ + public class RouteConfig + { + public static void RegisterRoutes(RouteCollection routes) + { + routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); + + routes.MapRoute( + name: "Default", + url: "{controller}/{action}/{id}", + defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } + ); + } + } +} -- cgit v1.2.3