WCF IISEXpress

May 6 2014 9:51 AM

Hi,

Could anyone help me with this newbie question please?

I have followed the walkthrough for creating and accessing a WCF service http://msdn.microsoft.com/en-us/library/bb386386.aspx and it all works fine.

Here's my problem.

If I set my WCF Service project as the startup project and hit F5 then the service is up and running and available. I can call it from my ASP page from another machine on the network and all is fine.

ServiceReference1.Service1Client clent = new ServiceReference1.Service1Client();
string returnString = clent.GetData(textBox1.Text);

So the service is hosted at this point.

How can I host the service from IISExpress aside form having visual studio running it?

I can hit Build->Publish and I get an .svc and Web.Config file and a bin directory with the .dll in it but how to get IISExpress is provide this service. I see no mention of it in my IISExpress applicationhost.config file.

I've googled this plenty with no success. Thanks for any help.

Mitch.