Internative Logo

What Is Microsoft IIS? Windows Web Server for .NET Applications

What Is Microsoft IIS? Windows Web Server for .NET Applications

In organisations that run on Windows Server, Active Directory and .NET, the web server is usually already there: it ships with Windows. Microsoft IIS hosts the intranet portal, the ASP.NET line-of-business applications and the internal APIs, and it signs users in with the same Windows accounts they use everywhere else. That tight fit with the Microsoft stack is its main strength, and also the main reason to think carefully before using it for new, cross-platform systems.

This article explains what Microsoft IIS is, how it processes requests, where it is still the right choice, and what teams move to when they leave it.

What is Microsoft IIS?

Microsoft IIS (Internet Information Services) is Microsoft's web server for Windows. It serves static content, runs ASP.NET and ASP.NET Core applications, can host PHP through FastCGI, and also provides FTP. It is a built-in role of Windows Server and an optional feature of Windows desktop editions, so it has no separate licence fee beyond Windows itself.

IIS 1.0 appeared in 1995 as a free add-on for Windows NT 3.51. Later versions shipped with each generation of Windows; IIS 7.0, released with Windows Server 2008, rebuilt the server around a modular architecture and an integrated request pipeline. IIS 10.0 is the current version, included in Windows Server 2016 and later and in Windows 10 and 11. IIS follows the support lifecycle of the Windows version it ships with.

How Microsoft IIS works

HTTP.sys receives the request. Requests arrive at HTTP.sys, a kernel-mode driver in Windows that listens on the network, handles parts of HTTP itself and can serve cached responses without reaching user mode.

Application pools isolate sites. HTTP.sys hands each request to an application pool: a group of one or more worker processes (w3wp.exe) with its own identity, .NET settings and recycling rules. If one application crashes or leaks memory, only its pool is affected, and IIS can recycle a pool on a schedule or when limits are reached. The Windows Process Activation Service starts and monitors these processes.

A modular pipeline. Inside the worker process, a request passes through modules for authentication, compression, logging, URL rewriting and the handler that produces the response. Modules can be added or removed per site, which also reduces the attack surface.

Configuration in XML. Server-wide settings live in applicationHost.config, and each application can override them in its own web.config. Administrators manage both through IIS Manager or PowerShell.

ASP.NET Core behind IIS. Modern ASP.NET Core applications run on IIS through the ASP.NET Core Module, either inside the IIS worker process or as a separate Kestrel process that IIS proxies to.

Key features

  • Application pools with process isolation, identities and automatic recycling.
  • Windows Authentication with Active Directory, so intranet users sign in with their domain accounts.
  • IIS Manager and PowerShell for graphical and scripted administration.
  • URL Rewrite and Application Request Routing modules for rewrites, redirects, reverse proxying and load balancing.
  • HTTP/2, and HTTP/3 on Windows Server 2022 and later, plus centralised certificate management.

Where Microsoft IIS is used

  • ASP.NET and ASP.NET Core applications in Windows-based data centres.
  • Intranet portals and internal tools that rely on Windows sign-in and Active Directory groups.
  • Older .NET Framework applications, such as Web Forms or WCF services, which only run on Windows.
  • Microsoft server products that depend on IIS, such as SharePoint Server and Exchange Server.

When to choose Microsoft IIS, and when not to

Choose IIS when:

  • The application targets the .NET Framework and cannot move to modern .NET yet.
  • Users must sign in with Windows accounts and Kerberos single sign-on across the domain.
  • The organisation has standardised on Windows Server, with existing skills, monitoring and patching around it.

Look elsewhere when:

  • You are building a new ASP.NET Core application. It runs on Linux with the built-in Kestrel server behind Nginx, in containers such as Docker, or on a managed platform, all without Windows licences.
  • The stack is not .NET. PHP, Node.js and Python applications are better served on Linux with Nginx or Apache.
  • You are moving to containers and Kubernetes. Windows containers exist, but the Linux ecosystem is far larger.

Microsoft IIS and its alternatives

OptionPlatformStrengthBest fit
Microsoft IISWindowsWindows authentication, .NET FrameworkWindows-centred enterprises
KestrelCross-platformBuilt into ASP.NET Core, fastNew .NET services, usually behind a proxy
NginxLinux, cross-platformReverse proxy, low memoryFront of Kestrel and other app servers
Apache HTTP ServerLinux, cross-platform.htaccess, modulesPHP and legacy Linux hosting
Azure App ServiceManaged cloudNo servers to patch.NET apps moving to the cloud

The question "is IIS better than Apache?" usually depends on the stack. IIS is the natural host for .NET on Windows, Apache for PHP and Linux. The bigger shift is that modern .NET no longer needs Windows at all, so many teams moving an application off IIS go to Kestrel on Linux or to Microsoft Azure rather than to another Windows web server. We compare .NET with other back-end stacks in Choosing a Backend Stack: NestJS, Express or .NET?.

How we use Microsoft IIS at Internative

We use Microsoft IIS for Windows-based infrastructure that needs close integration with .NET, Active Directory and Microsoft security standards. It is a reliable choice for enterprise and intranet applications.

If you are running .NET applications on IIS and planning their next step, whether that is a more manageable Windows setup or a move to modern .NET and the cloud, our product modernization and hybrid infrastructure setup teams can help you plan it.

Frequently asked questions

Does anyone still use IIS?

Yes. IIS ships with every current Windows Server release and remains common in enterprises running ASP.NET, intranet portals and Microsoft products such as SharePoint and Exchange. New cross-platform projects are more often built on ASP.NET Core with Kestrel on Linux.

What is replacing IIS?

For new .NET applications, the usual replacement is Kestrel, the web server built into ASP.NET Core, running on Linux behind Nginx or in containers, or a managed service such as Azure App Service. IIS itself is still supported as part of Windows Server.

What is an IIS application pool?

An application pool is a group of IIS worker processes that run one or more web applications with their own identity, .NET settings and recycling rules. Pools isolate applications from each other, so a crash or memory leak in one site does not bring down the others on the same server.

How do you enable IIS on Windows?

On Windows Server, add the Web Server (IIS) role in Server Manager or with PowerShell. On Windows 10 or 11, turn on Internet Information Services under "Turn Windows features on or off". The site is then managed in IIS Manager.

Related services

Where this topic becomes an engagement.

Keep reading

The articles that follow this one.