Receiving a DTO From an ASP.NET Web Service

后端 未结 3 1634
情书的邮戳
情书的邮戳 2021-01-28 07:10

If I run ASP.NET, and I am accessing a foreign asmx web service that returns a List of Person objects, where Person is some DTO defined by the foreign company, then what is the

3条回答
  •  闹比i
    闹比i (楼主)
    2021-01-28 07:28

    If you are using a .NET Web Application (as opposed to a Web Site), I would add a service reference, let Visual Studio build all the classes for me and use those.

    http://msdn.microsoft.com/en-us/library/bb386382.aspx

提交回复
热议问题