Forgive me if this a duplicate, I didnt find the answer.
We have the following network setup
Internal | DMZ | Internet
I believe it is standard for security.
I then have an internal WCF service that has both business logic and persistence.
Since data should not ideally be hosted in the DMZ, I assume that the best solution would be having a "dumb" shell of that same service deployed to the DMZ and is passed parameters necessary to communicate with the Internet
I believe it would look something like this:
Internal | DMZ | Internet
WCF_Full <---> | <-- WCF_Thin --> | <----> (Third party)
- What would be the best approach?
My solution is
- having a service reference in WCF_Full that points to WCF_Thin.
- both with identical interfaces, and WCF_Thin just passing on messages to the internet
The challenge came in that I have to pass more data(config+business messages) along the wire, to get WCF_Thin to work, which I wouldnt otherwise be doing if I had persistence on WCF_Thin.
- Is that a worthwhile trade-off, or am I doing it wrong?