first version of route resolving works :-)
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user