在ASP.Net Core中統一將路由(Route)以Middleware的形式進行包裝, 我們可以在 Startup 中指定MVC全域性的預設路由。 //app.UseMvcWithDefaultRoute(); app.UseMvc(routes => ...
確定! 回上一頁