-
-
Notifications
You must be signed in to change notification settings - Fork 602
Open
Labels
Description
Hi Tidyui,
I have faced the some issue. Before using Piranha, I used AddMVC. When I use the AddMVC function, it breaks the Piranha manager function. The code I provided below:
services.AddMvc(options => options.EnableEndpointRouting = true)
.AddNewtonsoftJson(options => options.SerializerSettings.ContractResolver = new DefaultContractResolver());
However, I tried to add internally in
options.UseManager(o =>
{
o.JsonOptions(options =>
{
// I don't know how to add here for JSON serialization
});
});.
Could you please give me an idea?