根据借楼最少资源原则,有时候MVC需要隐藏自己的版本号,其实这里也是比较简单的,只需要在Global.ascx 的Application_Start()中添加一行代码既可

添加为  MVCHandler.DisabledMvcResposeHeader=true;既可

相关文章:

  • 2022-12-23
  • 2021-09-13
  • 2021-06-07
  • 2021-08-12
  • 2021-07-04
  • 2022-02-04
猜你喜欢
  • 2021-07-29
  • 2021-09-20
  • 2021-05-09
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2021-11-01
相关资源
相似解决方案