Deployment
5 posts tagged with this.
-
GetCurrentDirectory Lies After an IIS Deploy
Under IIS, Directory.GetCurrentDirectory often points at inetsrv, not your published folder. Use ContentRootPath for relative file loads.
-
Folder Swap Cutover for .NET 10 on IIS
Shared and VPS IIS hosts rarely offer Azure-style slots. Publish to a sibling folder, smoke-test it, then flip the site physical path for a clean cutover.
-
Set .NET Roll-Forward Safely for IIS Hosted Apps
Framework-dependent .NET apps on IIS inherit the host’s shared runtimes. Set rollForward explicitly so patch updates apply without surprise major jumps.
-
Graceful Shutdowns for ASP.NET Core on IIS
IIS recycles app pools on a schedule, after idle time, or on config changes. Hook ASP.NET Core lifetime events so in-flight work finishes cleanly.
-
Is Microsoft Web Deploy Publishing Supported on Windows Shared Hosting?
Yes, all Windows shared hosting packages support Microsoft Web Deploy Publishing for Web Matrix and Visual Studio 2010+. Enable it via the Web Publishing tab in each website's settings to generate credentials and profiles for direct IDE deployments.