-
Hi, I see the workaround from @rockfordlhotka here, but it’s not working for me. I wonder if this is because I’m still using CSLA 5.x? I think MAUI is newer than CSLA 5.x, so that might be the issue, but I’m trying to confirm if updating CSLA is the only way to resolve this. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I don't know if v5 will work with MAUI, but I suspect that it will. In the end, the missing piece in HttpProxy is to set the content type. You should be able to to do that in v5. |
Beta Was this translation helpful? Give feedback.
-
@rockfordlhotka , thank you for the quick reply. I had been struggling with this setup for a while. After your response, I decided to give it one more try, and this time, I was finally successful. Here is what helped in my case:
And
#CSLA 5.5.4 |
Beta Was this translation helpful? Give feedback.
-
I'm having some success with MAUI .Net8 and CSLA, but fell foul of trimming targeting Android in our DevOps pipeline and it would not build. I'd prototyped it with a simple NVList Csla object and it worked, but then as I added other types it started throwing build errors. Various errors such as Managed to solve it by marking my business library project that has all my Csla objects with; Maybe that helps someone. |
Beta Was this translation helpful? Give feedback.
@rockfordlhotka , thank you for the quick reply. I had been struggling with this setup for a while. After your response, I decided to give it one more try, and this time, I was finally successful.
Here is what helped in my case:
UseTextSerialization = true
on the server controller...And
UseTextSerialization = true
in the MauiProgram...