Migrate server from ASP.NET Webforms to MVC.

This commit is contained in:
2018-12-27 23:34:14 +00:00
parent 91b76a11d8
commit 0acb82b808
32 changed files with 2570 additions and 1707 deletions

View File

@@ -0,0 +1,16 @@
using System.Web.Mvc;
using System.Web.Routing;
namespace DiscImageChef.Server
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute("Default", "{controller}/{action}/{id}",
new {controller = "Home", action = "Index", id = UrlParameter.Optional});
}
}
}