.NET 10
50 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 cut in-flight work. Schedule quiet-hour recycles, enable overlap, and set shutdown limits.
-
GitHub Actions Web Deploy for .NET 10 on IIS
Wire publish and Web Deploy into GitHub Actions so ASP.NET Core 10 reaches IIS the same way every push, with safe excludes and a 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 on IIS.
-
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 sniffing paths on hosted ASP.NET sites. Wire HSTS, CSP, and cookie flags once.
-
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.
-
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.
-
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 before EF Core runs.
-
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.
-
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.
-
Keep IIS Disk Free: Logs, Temp Files, Uploads
ASP.NET apps fill Windows volumes with logs, temp compile output, and uploads. Control paths and retention before the host runs out of space.
-
FDD vs Self-Contained for .NET 10 on IIS Hosts
Framework-dependent .NET 10 publishes stay lean on IIS when the host has the runtime. Use self-contained only when you must pin a patch level.