my question is: possible know wich contract has been called in multiple contract service? in this, case, in constructor.
the implementing class of service this:
public class service : icontract1, icontract2 { public service() { //identify if constructor wass called icontract1 or icontract2 } }
thanks in advance!
i think want implement wcf message inspector. messageinspector "message filter" can intercept , inspect messages coming in or going out of service layer infrastructure.
on server, implement idispatchmessageinspector interface.
here pretty example:
Comments
Post a Comment