Issue: "405 Method Not Allowed" error when using PUT or DELETE in an ASP.NET Core application hosted on IIS.
Removing WebDAV ensures that IIS doesn’t block specific HTTP methods, allowing your application to manage them directly.
<modules>
<remove name="WebDAVModule" />
</modules>