Skip to content

Instantly share code, notes, and snippets.

Ivan Zlatev ivanz

Block or report user

Report or block ivanz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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 (
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 ()
You can’t perform that action at this time.