把html页面放在除Views文件夹外的任意文件夹,如Htmls--123.html,url直接访问便可,如 http://yourname/htmls/123.html

 

可以在路由表中排出不需要路由机制的资源 routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

相关文章:

  • 2022-02-09
  • 2021-06-06
  • 2022-12-23
  • 2021-10-14
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
猜你喜欢
  • 2021-08-25
  • 2021-11-19
  • 2021-05-08
  • 2021-05-07
  • 2021-07-11
  • 2021-07-31
  • 2022-12-23
相关资源
相似解决方案