Posted on: 2/11/2014 10:11:36 PM | Views : 579

I have a couple of WCF service projects that for some reason where created as class libraries.  Once has an .SVC file and the other does not.  I need to convert these to web applications (as they are hosted in IIS) and I've done some research on how to do that.  I started with the one with the .SVC file.
I followed the instructions outlined at http://stackoverflow.com/questions/4492829/how-to-convert-a-class-library-project-to-a-web-application-project .  I adjusted the project file to make the Web.Debug.config and Web.Release.config dependent upon Web.config and did the same for the .SVC and it's code-behind file.   The code behind file was called Service1.cs and I changed it to Service1.svc.cs (I know the name sucks but I didn't create it) and updated the project file to include the new filename.
I c ...

Go to the complete details ...