ulf-jzl
asked on
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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?
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?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found the solution.
ASKER