question

wavemaster avatar image
0 Votes"
wavemaster asked JiadongMeng-MSFT edited

Net5 Web API EF Core Blazor Server POST - saves data to db but with Json Exception

Again, I could not post what I had typed, no clues offered.

Everything is in the pdf

88032-failed-post-again.pdf


dotnet-aspnet-core-general
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Can you show the codes for Transaction and ProviderSvcTransactions? I have no problem if I don't add the serialize option.

0 Votes 0 ·

I am sorry I cannot send you a reply without going over the maximum allowable count of 1000 characters.



88236-100-chars-limit-stoopid.pdf


0 Votes 0 ·

Have you try to use NewtonsoftJson to do the serilization. services.AddRazorPages().AddNewtonsoftJson(option => option.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore;});

0 Votes 0 ·

0 Answers