Posts

Showing posts from May, 2012

IIS Express - Host WCF service over SSL

Image
In my  previous article , I described about configuring virtual directory under IIS Express. Here I am going to explore about setting up a WCF service using iis express and setting the transport security over SSL. We'll go step by step.  Setup SSL If you have experience with setting up SSL on IIS, it is very similar on iis express, except you don't have an GUI tool support, you will need to use proper utilities to do it manually. In a high level, we will need to perform following tasks to achieve this. Get an appropriate certificate. Create an HTTPS binding on the site. Create a secure WCF service. Test the changes. Get an appropriate certificate :  There are two ways to choose from, if it's not important for an end user to trust your server you could use a self-signed certificate created on your computer. If you want your end user to be able to verify the server's identity with your certificate, then you can obtain a certificate from one of the known cer

IIS Express - Configure local website

Image
Recently Microsoft announced release of IIS Express - a simple version of IIS - which you can configure to run websites locally. Microsoft also released a simple web development tool, WebMatrix, in which IIS Express is integrated to serve the purpose of development web server.  Benefits of IIS Express include:  It has got same feature sets as of IIS production server Most tasks can be done with out the need for admin privileges It runs on windows XP and later versions In part 1 of this article, I am exploring how we can manually configure IIS express to point to my local web pages in a directory. First we will see how we can make it work in plain http, and then next step we will create a WCF and will host it over SSL.  IISExpress is available for download  here . Once you download install IIS Express, you will see all related files in the installation folder - normally, this will be under " C:\Program Files (x86)\IIS Express"  folder if you are installing th