mojoPortal Tips: Using IIS 7.5 Express to Test mojoPortal Locally
Written by Carole Bennett Sunday, 12 February 2012
There are times when testing custom features or skins on a mojoPortal implementation that the Cassini web server built into Visual Studio 2010 isn’t quite up to the task, or doesn’t reveal a problem that only manifests in a hosting environment. One great (and free!) way to even the odds is to utilize IIS Express 7.5 as your testing web server.
By default, whenever you run your mojoPortal instance in Visual Studio 2010, it will use the internal web server (Cassini). It’s actually amazingly simple to switch over to using IIS Server Express 7.5 as your development web server – just follow these steps.
1) Download IIS 7.5 Express here.
Keep in mind that the download is 32-bit, so a 64-bit OS isn’t required. The supported operating systems are: Windows 7, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP – the only other system requirement is the installation of .Net Framework 4.0, which you’ll presumably already have in place to run your mojoPortal dev environment.
2) Install your download, and configure it as you consider needful for your development environment.
3) Don’t worry about making sure the IIS Express service is started; we can control it from inside Visual Studio.
4) Open your Visual Studio project containing your mojoPortal instance.
5) Right-click on your “mojoPortal.Web” folder, and in the menu, select “Use IIS Express”
6) A confirmation pop-up will appear – select “Yes”
7) You’ll see an additional pop-up, giving you the localhost:port at which IIS Express will host your new mojoPortal web instance.
And with that, you’re ready to leverage IIS Express – have fun!