This project has moved and is read-only. For the latest updates, please go here.

WCF add service reference and package issue

Jun 19, 2014 at 10:20 PM
Edited Jun 19, 2014 at 10:21 PM
Hi All,

When adding reference to a WCF service in a web project that has the package installed, the generated client proxy is using XmlSerializer instead of DataContractSerializer. If the package is removed, then DataContractSerializer is used when generating the client proxy classes. How can I safely use and still have the client proxy using DataContractSerializer?
This happens when the WCF service is using System.Data namespace objects like System.Data.DataTable. Any help here is appreciated.