ronkpunk
ronkpunk
CC#
Created by dreamdoctor on 1/17/2023 in #help
ASP.NET Core API - Post to accept JSON array with multiple items
maybe your returned missions list hasn't any ID on list items, if so, you have to retrieve data from context (if so, remember to return missions.ToList() )
11 replies
CC#
Created by dreamdoctor on 1/17/2023 in #help
ASP.NET Core API - Post to accept JSON array with multiple items
have you tried this?
return Ok(missions);
return Ok(missions);
11 replies
CC#
Created by EliasGPS on 11/14/2022 in #help
foreah loop [Answered]
i don't know exaclty the context but I'm trying to read the stacktrace
14 replies
CC#
Created by EliasGPS on 11/14/2022 in #help
foreah loop [Answered]
Is "client" initialized?
14 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
thank you for your help and for your patience
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
yep, I'll confirm that removing ReferenceHandler resolve this issue
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
maybe this is the right time I resolve also this ^^
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
I inherit the backend from old developer and trying to fix many things
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
Yep, but in some case I had nested objects to avoid too much call from frontend and sometime it creates a loop
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
I'm trying to remove them but in some cases they return...
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
ok, I'll try to remove it but if I remember right, I added it to resolve other issues
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
I'll try to add next time
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
yeah, Alt 96, thank you
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
I've italian layout and no backticks in my keyboard
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
modix suggested me before but I've to search it in chat every time ^^
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
it there a way to use the shortcut to highlight the code?
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
this is in my program.cs
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
builder.Services .AddControllers(options => { options.Filters.Add<AclActionFilter>(); }) .AddJsonOptions(options => { options.JsonSerializerOptions.ReferenceHandler = ReferenceHandler.Preserve; options.JsonSerializerOptions.PropertyNameCaseInsensitive = true; options.JsonSerializerOptions.PropertyNamingPolicy = null; });
117 replies
CC#
Created by ronkpunk on 11/14/2022 in #help
Unit Testing, AcionResult Metadata Properties and JsonSerializer.Deserialize [Answered]
i'm looking in my program.cs and so on
117 replies