Nested [DataContract]'s not serialising through WCF

本小妞迷上赌 提交于 2019-12-08 02:43:29

The issue was that the Visual Studio Web Setup project, that was being used to deploy to the server, wasn't updating the dependencies of the IIS host properly.

This means that any changes to the data contracts were not being copied across, causing the issues as the server didn't know about the properties to serialise them.

I had to remove the project output from the setup project and re-add it before it would pick up the dependencies properly.

Now everything works again!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!