在 ASP.NET 核心中创建路由的正确语法是什么?
app.UseMvc(routes =>
{
routes.MapRoute(
name: "default",
template: "{controller=Home}/{action=Index}/{id?}");
routes.MapRoute(
name: "Handoff-iOS9",
//url: ".well-known/apple-app-site-association",
template: "{controller=Home}/{action=WellKnownAppleHandoff}" );
routes.MapRoute(
name: "ApplePay",
//url: ".well-known/apple-developer-merchantid-domain-association",
template: "{controller=Home}/{action=WellKnownApplePay}");
});