26ff8d9b4f
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
20 lines
516 B
C#
Executable File
20 lines
516 B
C#
Executable File
using System.Web.Mvc;
|
|
using System.Web.Routing;
|
|
|
|
namespace WebInterface
|
|
{
|
|
public class RouteConfig
|
|
{
|
|
public static void RegisterRoutes(RouteCollection routes)
|
|
{
|
|
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
|
|
|
routes.MapRoute(
|
|
name: "Default",
|
|
url: "{controller}/{action}/{id}",
|
|
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
|
|
);
|
|
}
|
|
}
|
|
}
|