Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect IIS Express version?

I have found that our ASP.NET application runs differently on different machines in IIS Express. All have VS 2012, .Net 4.5 and Integrated mode. But some has VS 2012 Update 1, some not.

How do I find IIS Express version?

like image 834
IT Hit WebDAV Avatar asked Apr 05 '13 17:04

IT Hit WebDAV


People also ask

What is the latest version of IIS Express?

The most current version of the product is IIS 7.5 Express.

What is IIS 8.0 Express?

Internet Information Services (IIS) 8.0 Express is a free, simple and self-contained version of IIS that is optimized for developers. IIS 8.0 Express makes it easy to use the most current version of IIS to develop and test websites in development tools like Visual Studio and WebMatrix.

What is the difference between IIS and IIS Express?

IIS 7 is a single user application. IIS Developer express supports multi developer environment. Configuration files, settings, and Web content are maintained on a per-user basis.

Does IIS Express come with Visual Studio?

Yes, Visual Studio 2010 SP1 Beta allows you to build and test web applications using IIS Express instead of the built-in ASP.NET Development Web Server (also known as Cassini). IIS Express is not included with VS 10 SP1 and will need to be installed separately.


2 Answers

Browse to "C:\Program Files\IIS Express", select the file iisexpress.exe, press Alt+Enter to open the properties dialog, click on the Details tab and read the product version.

like image 152
avenmore Avatar answered Sep 19 '22 12:09

avenmore


HttpRuntime.IISVersion will give you the major and minor version of IIS (e.g., 8.0).

System.Diagnostics.Process.GetCurrentProcess().MainModule.FileVersionInfo will give you much more information, including the file version and build flavor (e.g., 8.0.8418.0 (winmain(eokim).120521-1311)).

like image 43
Levi Avatar answered Sep 21 '22 12:09

Levi