Light12306/Web12306/App_Start/RouteConfig.cs

24 lines
521 B
C#
Raw Normal View History

2014-03-13 15:06:01 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Web12306
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
2014-04-30 19:20:58 +08:00
//routes.MapRoute(
// name: "Default",
// url: "{controller}/{action}/{id}",
// defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
//);
2014-03-13 15:06:01 +08:00
}
}
}