Why can I remove ExtensionlessUrlHandler from an MVC application without any ill effects?

前端 未结 2 1096
日久生厌
日久生厌 2020-12-28 15:52

I am trying to streamline my MVC application and deleting as much as possible. Can someone explain to me what this code below does in the web.config file in

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-28 16:16

    IIS express uses different handlers names than IIS

    Add the following markup and it should disable the extensionless handlers for IIS express only

    
    
    
    

提交回复
热议问题