Skip to content

Instantly share code, notes, and snippets.


craigholdheide/RouteConfig.cs Secret

Created Aug 24, 2019
What would you like to do?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace MvcExample
public class RouteConfig
public static void RegisterRoutes(RouteCollection routes)
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment