当前注册人数422815人 邮箱: 密码: 注册新用户 忘记密码
首页 C/C++/MFC C# ASP.NET VB.NET MATLAB Android   站内搜索 下载代码说明/积分规则
为什么要注册?

1. 可以直接免费从本站下载代码,防止邮件发送不到您的邮箱,或登录不了国外网站

2. 可以设定关键字,当有您关心的代码收录时,邮件通知您

3. 对这里的代码进行评分和评论

4. 可以和大家一起分享你的源代码,得到更多的建议

WCF and XML serialization helper classes

简化WCF和XML序列化工作的封装类源代码

2007年12月27日
C# (C# 2.0, C# 3.0), C#, .NET, .NET (.NET 3.5, .NET 3.0, .NET 1.0, .NET 1.1, .NET 2.0), VS (VS2005, VS2008), VS, Dev
这部分代码实现一个简易使用的WCF和XML序列化封装类,使用它,你只需要写一行代码,就可以实现XML或WCF的序列化了。
相关知识
源代码原文下载:
WCF and XML serialization helper classes Helper classes to serialize and deserialize in a single line of code using XML/WCF serialization. I use these classes primarily in the following scenarios: (1) for unit testing serializable types to ensure that the classes are marked up correctly. I recently worked on a client site where a whole day had previously been lost due to a software defect caused by incorrectly marked up WCF DataContract classes. My solution was to add additional unit tests to "round trip serialize" all serializable types. This then uncovered some other similar errors in the code base (2) for reading and writing application configuration at runtime. On occasions I find the limitations of the .NET framework configuration classes too restricting especially if I need to update configuration at runtime (e.g. saving user settings) and/or re-reading the config at runtime (3) when capturing serializable information for logging purposes

源码图片

从本站下载附件及源代码(1个附件,已经成功下载343次)

最值得关注的外文源代码

Generic TCP/IP Client/Server
WMI Interface for .NET to Aid in Writing WMI Applications
DrawMe - A network ink-chat application exploring .NET 3.5, WPF and WCF
WCF / WPF Chat Application
评论(评论是增加积分的一个有效途径)
字数在300字内
请如实评论
本源代码共评论66次,此处显示最近20次评论! 查看所有评论

Kerry  2014年07月29日
学习学习!!!!
DawnRain  2012年09月24日
啊 爱的
sdm3615  2012年08月15日
需要这样的代码。谢谢分享!
abweixx  2012年07月31日
很实用的代码。
shefeisi  2012年06月03日
下载下来,学习一下
leishiyuning  2012年05月01日
很好的帮助实例
hychong  2012年04月30日
值得看看!
xxx  2012年03月15日
很不错资料。
rt  2011年12月10日
正需要,谢谢咯
niyingchuan  2011年11月23日
真的好好
kuaihuowangzi  2011年10月17日
看看这个序列化的功能如何,谢谢
yoon  2010年06月16日
正需要
ercnet  2009年10月16日
学习学习
ercnet  2009年10月16日
学习
zh1977  2009年06月16日
good
zhaobinbin  2009年06月08日
好东东下来学习学习
shaziwmj  2009年03月18日
好东东下来学习学习
licy  2009年03月10日
学习学习
jiangjiang  2009年03月10日
好东东下来学习学习
BBR  2008年12月24日
学习
字数在300字内
请如实评论
200万国内源码搜索
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved zhihuishi   免责声明