ronkpunk
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