This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Global.asax | |
public class MvcApplication : System.Web.HttpApplication | |
{ | |
public static void RegisterRoutes (RouteCollection routes) | |
{ | |
routes.IgnoreRoute ("{resource}.axd/{*pathInfo}"); | |
string defaultCulture = LocalizationConfig.FallbackCulture; | |
routes.MapRoute ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Global.asax | |
public class MvcApplication : System.Web.HttpApplication | |
{ | |
protected void Application_Start () | |
{ | |
SetupLocalization (); | |
RegisterRoutes (RouteTable.Routes); | |
} | |
private static void SetupLocalization () |