on x64 Windows 7 I am trying to get hello world MVC 3 website running as 64-bit process (so Environment.Is64BitProcess returns true on a page) using IIS Express 8 latest bet
Late to the party but VS2013 has this in the Options.
Tools -> Options -> Projects and Solutions -> Web Projects -> Use the 64 bit version of IIS Express…
Simple possibility is just to set IIS x64 as starting program for the WEB project :
Project Properties -> Web -> Start Action - > Start Program : c:\Program Files\IIS Express\iisexpress.exe command arguments: /path:{yourProjectPath} /port:{yourPort}
This option is now part of Vs 2013 / 2015 / 2017:
Tools | Options | Projects and Solutions | Web Projects | Use the 64 bit version of IIS Express
From a Microsoft response to forum post on http://visualstudio.uservoice.com -
This is working for me even though it is not endorsed or supported officially by Microsoft.
Mike Harder (Microsoft) commented · January 31, 2013 5:26 p.m.
You can configure Visual Studio 2012 to use IIS Express 64-bit by setting the following registry key:
reg add HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\WebProjects /v Use64BitIISExpress /t REG_DWORD /d 1
However, this feature is not supported and has not been fully tested by Microsoft. Improved support for IIS Express 64-bit is under consideration for the next release of Visual Studio.
Allow for IIS Express 64 bit to run from Visual Studio 2012