.NET Deployment of Interface/Classes for Command Pattern Question
Posted
by Jonno
on Stack Overflow
See other posts from Stack Overflow
or by Jonno
Published on 2010-06-13T11:30:18Z
Indexed on
2010/06/13
11:32 UTC
Read the original article
Hit count: 241
In theory I would like to produce 2 projects:
1) Asp.net (Sever A)
2) DAL running (Server B)
I would like to utilise command objects to comunicate with the DAL.
ASP.net instantiates a command class e.g. CmdGetAllUsers which impliments IMyCommand interface and sends it to the DAL (using ASMX or WCF).
My question is:
Would the class definition of CmdGetAllUsers need to exist on the DAL server? Or would having the interface definition be enough?
My goal is to reduce the need to redeploy the DAL code, and have it as a fairly simple pass-through layer.
Many thanks for your time.
© Stack Overflow or respective owner