How to register WCF with IIS and ASP.NET

By | June 18, 2012
If we have installed .NET framework before installing IIS on our machine and we wanted to deploy a WCF service. Then we need to do some additional steps by registering Windows Communication Foundation with IIS and ASP.NET. This WCF tutorial focuses on  simple steps to resolution.
Firstly, register ASP.NET with IIS by executing following:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i
Secondly, register WCF by executing following:

C:\Windows\Microsoft.NET\Framework3.0\Windows Communication Foundation\ServiceModelReg -i
This is a common issue for which sometimes we spend hours of our time to understand and resolve.

Top 10 Interview Questions and Answers Series:

Category: Uncategorized Tags: , ,

About IMRAN ABDUL GHANI

Imran Abdul Ghani is working as Software Developer(Senior) with extensive knowledge in Web development technologies especially C#, ASP.NET, MVC, WCF, Web API, ADO.NET Entity Framework, jQuery etc. He has several years of experience in designing/developing enterprise level applications. He is Microsoft Certified Solution Developer for .NET (MCSD.NET) since 2005. You can reach his blogging at www.webdevelopmenthelp.net, www.topwcftutorials.net, and www.sharepointfordummies.net.

2 thoughts on “How to register WCF with IIS and ASP.NET

Comments are closed.