I published a .NET Core Web API through FTP.
By default, some of the methods weren't working(put and delete), because the server has WebDAV enabled as default.
To remove this, after publishing the application I have to manually go to web.config on FTP and add the following lines
<modules runAllManagedModulesForAllRequests="false">
<remove name="WebDAVModule" />
</modules>
How would one go about it setting it up to be removed automatically - I assume through Startup.cs