IIS
73 posts tagged with this.
-
ANCM In-Process vs Out-of-Process on IIS
Choose the right AspNetCoreModuleV2 hosting model for .NET 10 on IIS. In-process wins on latency; out-of-process wins on isolation—here is how to set both.
-
PathBase for ASP.NET Core Under IIS Virtual Apps
ASP.NET Core under an IIS virtual app misbuilds links and cookies unless PathBase is set. Wire middleware and web.config so /api and sub-apps stay correct.
-
IIS App Pool Recycling Without Dropping ASP.NET Requests
Default IIS recycles hit at awkward hours and can cut in-flight work. Schedule quiet-hour recycles, enable overlap, and set shutdown limits so ASP.NET finishes cleanly.
-
GitHub Actions Web Deploy for .NET 10 on IIS
Wire publish and Web Deploy into GitHub Actions so ASP.NET Core 10 hits IIS the same way every push. Covers profiles, safe excludes, and a post-deploy smoke check.
-
SQL Connection Pools and Timeouts on IIS Hosts
Pool exhaustion often surfaces as random SQL timeouts under load. Tune Max Pool Size, Connect Timeout, and CommandTimeout for ASP.NET apps on IIS before traffic spikes.
-
Tune .NET GC for ASP.NET Core App Pools on IIS
Default GC settings can thrash IIS app pools under load. Align heap limits with recycle thresholds so ASP.NET Core 10 stays stable on Windows hosts.
-
Security Headers for ASP.NET Core 10 on IIS
Missing response headers still open clickjacking and MIME sniff paths on hosted ASP.NET sites. Wire HSTS, CSP, and cookie flags once in middleware or web.config.
-
IIS URL Rewrite HTTPS Redirects Without Loops
Force HTTPS and a single host name at the IIS edge without redirect loops. Patterns that play cleanly with ASP.NET Core in-process hosting.
-
HttpClient DNS Refresh for IIS-Hosted .NET Apps
Long-lived IIS worker processes keep outbound sockets past DNS TTLs. Set connection lifetimes so .NET 10 apps pick up endpoint changes without a recycle.
-
Preload ASP.NET Core on IIS to Cut Cold Starts
App pool recycles leave the next visitor paying startup cost. IIS Application Initialization can warm ASP.NET Core before real traffic hits—when the host allows it.
-
app_offline.htm for Clean ASP.NET Core IIS Cutover
Drop app_offline.htm before you overwrite bins on IIS. It stops new requests, reduces file locks, and makes .NET 10 cutovers predictable on Windows hosts.
-
Query Store for ASP.NET Deploys on SQL Server
A page that was fine before an IIS publish suddenly waits on SQL. Query Store shows plan and duration changes without Profiler. Enable it, tag app traffic, and read regressions on SQL Server 2022/2025.
-
Rate-Limit ASP.NET Core APIs Before SQL Pools Fill
One noisy client can exhaust SQL connection pools on IIS. Use ASP.NET Core’s built-in rate limiter to reject excess traffic early—before controllers and EF Core run.
-
Safe File Uploads for ASP.NET Core on IIS
Stop treating uploads as trusted input. Validate type and size in ASP.NET Core, constrain IIS limits, and keep files outside the web root on Windows hosts.
-
Lock web.config Sections with IIS Feature Delegation
Stop risky site-level overrides before they hit the worker process. Use IIS Feature Delegation and PowerShell to lock the sections that matter on Windows Server 2025 hosts.