ASP.NET Core
65 posts tagged with this.
-
Health Checks for ASP.NET Core on IIS
Ship liveness and readiness checks that work with IIS in-process hosting. Avoid false downs from cold pools and noisy SQL probes.
-
Patch Discipline for .NET on IIS and SQL Server
Unpatched runtimes beat fancy headers as a breach path. Build a repeatable patch cadence for the Hosting Bundle, IIS, and SQL Server on Windows hosts.
-
Web Deploy Parameters for Multi-Env IIS Hosts
Stop baking secrets into publish output. Use Web Deploy parameters and .pubxml profiles so one .NET 10 package targets staging and production IIS cleanly.
-
EF Core rowversion Checks Against Lost SQL Updates
Stop silent last-write-wins bugs in multi-user ASP.NET apps. Map SQL Server rowversion, catch DbUpdateConcurrencyException, and keep edits honest under load.
-
Set ASP.NET Core Environment on IIS via web.config
Stop baking Staging vs Production into publish profiles. Set ASPNETCORE_ENVIRONMENT at the IIS layer so one package runs cleanly on Windows hosts.
-
Persist Data Protection Keys for ASP.NET Core on IIS
App pool recycles reset in-memory Data Protection keys and break cookies. Persist the key ring outside the site folder so auth and antiforgery survive restarts.
-
Folder Swaps and Smoke Tests for IIS .NET Deploys
Ship ASP.NET Core 10 to IIS with a staging folder, brief app_offline window, and a post-swap smoke check. Safer cutovers on shared and Windows VPS hosts without cloud slots.
-
SQL Server Restore Checklist for ASP.NET Apps
Bad cutovers and orphaned logins break restores more often than corrupt backups. Use this SQL Server checklist before you point ASP.NET back at production.
-
ASP.NET Core 10 on IIS: In-Process Hosting Checklist
Ship ASP.NET Core 10 on IIS without 502.5 surprises. App pool, ANCM, Web.config, and SQL connection settings that actually matter on Windows hosts.
-
Deploy .NET 10 to IIS with Web Deploy and CI
Ship ASP.NET Core apps to Windows IIS with Web Deploy, CI publish, config transforms, and post-deploy smoke checks. Practical patterns for shared and VPS hosts.
-
SQL Timeouts and Pooling for Hosted ASP.NET Apps
Most ASP.NET SQL timeouts on Windows hosting are pool exhaustion or bad plans, not a dead engine. Fix connection strings, timeouts, indexes, and EF Core habits.
-
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 and SQL connections close cleanly.
-
Harden ASP.NET on IIS: Headers, Cookies, Secrets
Most hosted ASP.NET breaches start with missing headers, weak cookies, and secrets in Web.config. Harden IIS and .NET 10 apps with concrete config you can ship today.
-
IIS URL Rewrite Rules That Survive ASP.NET Core Publish
Keep HTTPS, host, and path rules intact when ASP.NET Core overwrites web.config. Practical IIS Rewrite patterns for Windows shared and VPS hosts.
-
ASP.NET Core 10: IIS Application Initialization
App pool recycles still cold-start ASP.NET Core on IIS. Use Application Initialization plus a warmup path so .NET 10 apps stay responsive after recycle.