I am writing a WCF service application where I have isolated WCF classes in my own "Presentation Layer" (due to lack of a better term). Then under this, I have an application layer that organizes domain objects.
I like the fact that none of the WCF technologies has leaked to the application layer, so I can easily exchange it for something like the Web API (which I reviewed). My concern, however, is that it seems to break the rules without repeating itself. The WCF layer has essentially become a proxy layer that simply transfers calls to the application layer, supporting the same signatures.
For example:
public void Method(string arg)
{
_appService.Method(arg);
}
Is this a murder? Should I just move the logic to WCF classes?
Chris source
share