You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
454 B
C#
19 lines
454 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Web;
|
|
using System.Web.Routing;
|
|
using Microsoft.AspNet.FriendlyUrls;
|
|
|
|
namespace boutique
|
|
{
|
|
public static class RouteConfig
|
|
{
|
|
public static void RegisterRoutes(RouteCollection routes)
|
|
{
|
|
var settings = new FriendlyUrlSettings();
|
|
settings.AutoRedirectMode = RedirectMode.Permanent;
|
|
routes.EnableFriendlyUrls(settings);
|
|
}
|
|
}
|
|
}
|