Avoid WebDeploy Locking Errors to IIS with Shadow Copy for ASP.NET Core Apps

added by DotNetKicks
11/7/2022 5:43:42 PM

405 Views

If you're self-hosting ASP.NET Core applications on IIS and using WebDeploy to publish to the server, you've very likely run into the dreaded locked file problem on the server. In this post I show you how you can work around locking problems with the base WebDeploy configuration and by using a new experimental feature in ASP.NET 6.0 to Shadow Copy deploy binaries.


0 comments