WCF Architectural Debate
Posted
by Matt Ruwe
on Stack Overflow
See other posts from Stack Overflow
or by Matt Ruwe
Published on 2010-05-21T20:15:40Z
Indexed on
2010/05/21
20:20 UTC
Read the original article
Hit count: 301
wcfservice
|architecture
When building a WCF service for a large scale application, which is better:
In both cases, assume that the business logic layer is separated into a different assembly.
Using your business logic layer as a service implementation i.e. with no code behind and no wrapper
<%@ ServiceHost Language="CS" Service="MyApp.BusinessLogic.BusLogicImpl" %>
or
Using the codebehind of the WCF service that wraps calls into your business logic layer.
<%@ ServiceHost Language="CS" Service="MyApp.WebServiceHost.Service" CodeBehind="Service.svc.cs" %>
© Stack Overflow or respective owner