CSLA & WCF

CSLA & WCF

Old forum URL: forums.lhotka.net/forums/t/10758.aspx


lazaroms posted on Sunday, October 09, 2011

I was reading the Expert VB 2008 BO, I have a doubt. If I use WCF to create couple of web services, does it means that I will have another one website to host?

Now I have a project library and a web project (interface).

The WCF project will be another website?

My hosting provider allow just one website in my contract, I'm thinking that the WCF site could not be in the same physical hosting where the web project is. They have differents web.config files and differents App_Code folders.

Any help or commments will be truely appreciated.

Thank,

 

Lazaro M

RockfordLhotka replied on Monday, October 10, 2011

You can have a WCF endpoint in a normal web site. You just need to add the system.ServiceModel element to your existing web.config, add the svc file to your site along with the aspx files, and make sure Csla.dll and your business assemblies are in the bin folder.

Copyright (c) Marimer LLC