Hosting WCF in IIS

Hi!

Need some direction how to create a WCF service that it's going to be hosted in IIS.

If I just create a regular WCF service project there is no problem hosting it in IIS. But if I apply separation of concern, 3 project; Service, Proxies, and Contracts how do I solve the hosting part in IIS then?

The problem is how I should build up the service? can I use a class project and just add a .svc file? or do I need to do anything more then that?
ulf-jzlAsked:
Who is Participating?
 
Kalpesh ChhatralaConnect With a Mentor Software ConsultantCommented:
Here is Steps for Hosting WCF Service

http://www.wcftutorial.net/WCF-IIS-Hosting.aspx
0
 
ulf-jzlAuthor Commented:
I don't want to have all the code in in one project. I want to seperate the code into three projects, so how do I do that if I want to host it in IIS?
0
 
ulf-jzlAuthor Commented:
This is want I like to do:

1: Have a Web Application that hosts several WCF services in IIS
2: Apply Seperation of Consern (SOC) for the WCF services.
       - One service consists of 3 projects:
             - WcfApplication.Service  
             - WcfApplication.Proxies
             - WcfApplication.Contracts
3: I don't want to use the "Add Service Reference" in my web app, I just want to add the references as dll files and config the the rest manually.

My problem is, how do I set up the WCF service so I can have it hosted in IIS by my Web App without using "Add Service Reference" in my Web App?
0
 
ulf-jzlConnect With a Mentor Author Commented:
0
 
ulf-jzlAuthor Commented:
Found the solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.