migrate to new git

This commit is contained in:
2025-08-29 01:27:25 +08:00
parent 946eb9961e
commit af2c152ef6
8623 changed files with 1000453 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web;
//using System.Web.Mvc;
using System.Web.Routing;
public class RouteConfig
{
/*
* # Resolve Home for each Area
* http://stackoverflow.com/questions/7842293/multiple-types-were-found-that-match-the-controller-named-home
*
* # Home Controller for Area admin
* http://stackoverflow.com/questions/17220106/mvc4-default-route-when-using-areas
* */
public static void RegisterRoutes(RouteCollection routes)
{
//routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
//routes.MapRoute(
// name: "thumb",
// url: "thumb/{*url}",
// defaults: new { controller = "thumb", action = "Index", id = UrlParameter.Optional },
// namespaces: new[] { "GayoWeb.Controllers" }
//);
//routes.MapRoute(
// name: "Default",
// url: "{controller}/{action}/{id}",
// defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional },
// namespaces: new[] { "GayoWeb.Controllers" }
//);
}
}