Replies: 2 comments
-
Is the issue that I'm running an old version of CSLA? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This might help: https://github.com/MarimerLLC/csla/blob/main/docs/serialization.md |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I've a XML string that I need to deserialize. The XML contains an array of objects that inherit from BusinessBase. I'm using System.Xml.Serialization.XmlSerializer to deserialize the string and I'm getting an exception:
Version and Platform
CSLA version: 5.5.3
OS: Windows
Platform: ASP.NET Core 8.0
Code that Fails
new XmlSerializer(type1, extraTypes)
where extraTypes contains an array of types where one of the types are inheriting from BusinessBase
Stack Trace or Exception Detail
Additional context
The XML string I'm deserializing is coming from an external app.
Beta Was this translation helpful? Give feedback.
All reactions