Chapter 21. Hosting ASP.NET MVC applications
This chapter covers
You have just learned how to leverage full system tests with ASP.NET MVC. We’ll now take that down the software development lifecycle. After testing, you need to push your application to production. In a Windows-hosted environment, web applications are typically deployed to Internet Information Services (IIS). But several versions of IIS are on the market, each with different configurations and options for hosting an ASP.NET MVC application. IIS differs somewhat in different versions of Windows Server and Windows Azure.
In this chapter, you’ll learn options for hosting in the various IIS versions supported today.
In most scenarios, deploying an ASP.NET MVC application involves deploying to a modern Windows Server OS environment. Occasionally, it’s necessary to deploy to older environments, such as Windows Server 2003 or Windows XP, with older versions of IIS. Table 21.1 lists the Windows OSs and the versions of IIS available.
Table 21.1. Windows and IIS versions
Windows operating system |
IIS version |
---|---|
Windows XP Professional | IIS 5.1 |
Windows XP Professional x64 Edition | IIS 6.0 |
Windows Server 2003 | IIS 6.0 |
Windows Vista | IIS 7.0 |
Windows Server 2008 | IIS 7.0 |
Windows 7 | IIS 7.5 |
Windows Server 2008 R2 | IIS 7.5 |
Windows Azure | IIS 7.0/7.5 |