Solved

Hosting WCF in IIS

Posted on 2011-03-03
5
772 Views
Last Modified: 2012-05-11
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?
0
Comment
Question by:ulf-jzl
  • 4
5 Comments
 
LVL 16

Accepted Solution

by:
Kalpesh Chhatrala earned 500 total points
ID: 35028264
Here is Steps for Hosting WCF Service

http://www.wcftutorial.net/WCF-IIS-Hosting.aspx
0
 

Author Comment

by:ulf-jzl
ID: 35028481
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
 

Author Comment

by:ulf-jzl
ID: 35029368
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
 

Assisted Solution

by:ulf-jzl
ulf-jzl earned 0 total points
ID: 35095142
0
 

Author Closing Comment

by:ulf-jzl
ID: 35135823
Found the solution.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now