我试图通过以下路由从MVC调用aspx页面。
routes.MapRoute(
null,
"Operations/BankHolidays.aspx/page{page}",
new { Controller = "BankHoliday", action = "Index", page = UrlParameter.Optional }
);
我想要一个网址 https://localhost:44322/Operations/BankHolidays.aspx?page=2 但是我得到了一个网址 https://localhost:44322/Operations/BankHolidays.aspx/page2
我做错了什么。