Hosting WCF on IIS??

RK RK

Usenet Archive
Joined
Feb 1, 2010
Messages
2
Reaction score
0
In general we create WCF Service Library Project with all available WCF Services, then create new WebSite Project of the WCF Service to host WCF services on IIS.

I am new to WCF would like to know what happens if we create just the website project (of WCF Service) create various services underneath?
 

Mr. Arnold

Usenet Archive
Joined
May 7, 2007
Messages
470
Reaction score
0
RK said:
In general we create WCF Service Library Project with all available WCF Services, then create new WebSite Project of the WCF Service to host WCF services on IIS.

I am new to WCF would like to know what happens if we create just the website project (of WCF Service) create various services underneath?

What kind of services are you talking under the WCF service? You can have as many WCF services as you want in a project as long as they are using different TCP ports.
 

RK RK

Usenet Archive
Joined
Feb 1, 2010
Messages
2
Reaction score
0
I am looking for more towards the different kinds of project templates.

In general when we host WCF on IIS 6/5.1
1. Create new WcfService Library project, then add all WCF Services.
2. Create new WebSite(of WCFService) project to host the WCF Service.

My question is, what happens if I create ONLY Single Website project (it creates .svc file rite) and create WCF Services in the same project and associate them with .svc.

Thanks in advance
rk2k09
 

Mr. Arnold

Usenet Archive
Joined
May 7, 2007
Messages
470
Reaction score
0
RK said:
I am looking for more towards the different kinds of project templates.

In general when we host WCF on IIS 6/5.1
1. Create new WcfService Library project, then add all WCF Services.

I assume you mean you have a BLL or DAL Lib projects that is referenced by the the WCF project. Yeah you can do that.
2. Create new WebSite(of WCFService) project to host the WCF Service.

Yeah, you can do that.
My question is, what happens if I create ONLY Single Website project (it creates .svc file rite) and create WCF Services in the same project and associate them with .svc.

One WCF service can host multiple SVC(s) with their respective end points.

You should be doing Project references in the solution for all projects in the solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top