Tag

IIS

81 posts tagged with this.

  1. Official Blog
    · 4 min read

    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.

  2. Official Blog
    · 4 min read

    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.

  3. Official Blog
    · 5 min read

    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.

  4. Official Blog
    · 3 min read

    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.

  5. Official Blog
    · 4 min read

    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.

  6. Official Blog
    · 4 min read

    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.

  7. Official Blog
    · 4 min read

    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.

  8. Official Blog
    · 4 min read

    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.

  9. Official Blog
    · 3 min read

    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.

  10. Official Blog
    · 4 min read

    Keep IIS Disk Free: Logs, Temp Files, Uploads

    ASP.NET apps fill Windows volumes with logs, temp compile output, and uploads. Control paths, retention, and app pool behavior before the host runs out of space.

  11. Official Blog
    · 3 min read

    FDD vs Self-Contained for .NET 10 on IIS Hosts

    Framework-dependent .NET 10 publishes stay lean on Windows IIS when the host runtime is present. Self-contained bundles the runtime—use it only when you must pin a patch band the server lacks.

  12. Official Blog
    · 4 min read

    SQL Deadlock Retries for ASP.NET Core on IIS

    Error 1205 becomes a user-facing 500 unless ASP.NET Core retries the unit of work. Enable provider retry, shorten transactions, and cut lock cycles on SQL Server 2022/2025.

  13. Official Blog
    · 4 min read

    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.

  14. Official Blog
    · 4 min read

    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.

  15. Official Blog
    · 4 min read

    Harden Schannel TLS for IIS on Server 2025

    Legacy TLS protocols and weak ciphers still linger on IIS hosts. Tighten Schannel on Windows Server 2025 so ASP.NET sites negotiate modern, browser-safe connections.