1
私はC#アプリケーションでAppFabricキャッシングを使用しています。私は常にXmlDocumentをキャッシュしようとしたが、次のエラーを取得しています:'System.Xml.XmlDocument'をシリアル化できません。
Type 'System.Xml.XmlDocument' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute.
どのように私はこの問題を解決することができますか?
シリアル化されたXmlDocumentクラスではなく、XMLを文字列として保存するだけではどうですか。 – mdm
可能な複製[C#:wcfはXmlDocumentを返す?](http://stackoverflow.com/questions/964870/c-wcf-return-an-xmldocument) –