What is the default recommended serialization now in CSLA 9/10? #4814
Replies: 2 comments 5 replies
-
|
The In CSLA 10 you can use the PocoSerializer to serialize pretty much any POCO - details are in the upgrading doc and also in the MCP server. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, using binary/mobile formatter then......trying POCO and get the "Serialization of type object is not supported. ..... (CurrencyNVListCriteria) What am I missing here? Server config like this; and client setup like this; with helper to register the types.... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm upgrading CSLA 8.x solution and we have a mix of ASPNet API serving Android and Desktop (Winforms) client apps, all calling through the dataportal.
Upgrading to v9 (10 to come later) I'm struggling with getting the dataportal configuration and/or serialisation dataportal calls to work.
First my CriteriaBase objects needed changing as were not serializable, so have made them POCO.
Now I get....
Should I be setting UseTextSerialization = true on client and server? Should the dataportal endpoint be /dataportal or /dataportaltext
What is recommended considering my need for WinForms and Android apps here?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions