Во-первых, извиняюсь, если это базовый / простой вопрос WCF, я новичок в WCF и пока не сталкивался с этим.
Вопрос 1 - Есть ли способ увидеть, какие данные упорядочиваются при вызове службы wcf?
и с учетом следующих определений
Interface IX
{
List<string> list;
Dictionary<string,MyType> dict;
}
Interface IY : IX
{
List<string> list2;
Dictionary<string,MyType2> dict2;
}
Interface IService
{
DataSet MethodX( IX arg);
DataSet MethodY( IY arg);
}
class service : IService { }
class A : IY { }
, где служба размещается на отдельной машине
Вопрос 2 - что дает переносится при вызове MethodX и MethodY следующим образом
A instance = new A();
service s = new service();
// init instance & Service
s.MethodA(instance); // what carries over to service on machine B ?
s.MethodB(instance); // same question - full A or only properties of IY ?