add zero.Web project (helpers for ASP.NET Core frontend)

This commit is contained in:
2021-11-23 11:56:42 +01:00
parent a0cbd4695c
commit b8d6e6b72e
43 changed files with 501 additions and 605 deletions
+13
View File
@@ -0,0 +1,13 @@
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using zero.Routing;
namespace zero.Web;
public class ZeroFallbackController : ZeroController<PageRoute>
{
public IActionResult Index()
{
return Json(new { Application, Route }, new JsonSerializerSettings() { TypeNameHandling = TypeNameHandling.None });
}
}