Long back I wrote a blog post Step by Step hosting WCF Service in IIS 7.5 . In this post I used Visual Studio 2012 as I remember. Today I was trying to host WCF in local IIS in Visual Studio 2013 and found it is surprisingly easy to host WCF Service in IIS 2013 in Visual Studio 2013.

Let us assume you have created a WCF Service. Now to publish it in local IIS right click on project and from context menu select Properties.

In Properties select Web tab. In Web tab from Servers drop down select local IIS.

clip_image002

Next click on Package/Publish Web tab and from Items to deploy drop down select Only Files Needed to run this application.

clip_image004

Now when you press F5 and run application WCF Service will be hosted in local IIS.

clip_image006

As you see now hosting in IIS is super easy. I hope you find this post useful. Thanks for reading.

Advertisements

3 thoughts on “Publish WCF Service in Local IIS on Visual Studio 2013

  1. how can i publish the wcf service for ionic app i have created and ionic app and in backend i have used wcf service but now i have to publish the service in server for that i need help?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s