first version of route resolving works :-)

This commit is contained in:
2020-10-26 13:59:46 +01:00
parent a5df645d5f
commit 67675ee46d
20 changed files with 343 additions and 550 deletions
@@ -0,0 +1,18 @@
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace zero.Web.Controllers
{
public class DefaultRouteController : Controller
{
public DefaultRouteController()
{
}
public IActionResult Index()
{
return Json(HttpContext.Request.RouteValues, new JsonSerializerSettings() { TypeNameHandling = TypeNameHandling.None });
}
}
}