Skip to content

Instantly share code, notes, and snippets.

Ivan Zlatev ivanz

View GitHub Profile
View IvanZ.Mvc.LocalizableViews Enable Localization Sample.cs
// Global.asax
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start ()
{
SetupLocalization ();
RegisterRoutes (RouteTable.Routes);
}
private static void SetupLocalization ()
View IvanZ.Mvc.LocalizableViews Routing Sample.cs
// 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 (
You can’t perform that action at this time.