I know that Core 2 is moving away from the web.config and towards Json configuration. However, I have come across an issue where by my IIS 7 server has WebDav installed which is blocking HTTP PUT requests to my webapi.
The following link has provided a working solution by removing WebDav;
Remove WebDav Web.Config for Core 1
The issue I am having is that I need to add this to the generated web.config on the server with every publish as it is being over written each time.
Is it possible for me to add a web.config to my Asp.Net Core 2 webapi? or tell it to add this to the one it is generating?