-
-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NewtonSoft SerializerSettings globally in startup when PiranhaManager is present #1354
Comments
Good point, we’ll take a look at how we can achieve this. The reason Piranha sets this up internally is that it also needs to configure the JsonOptions in order to work. |
Great. Hope you can find a way. THX |
FYI, given that .NET 5 has better support built in for Json (System.Text.Json), might look into implementing that where possible instead of Newtonsoft |
Hi there @zoinkydoink. We will look into |
Yes the support of |
We will most likely not be able to use |
Which according to their release plan seems to be |
This will be available in services.AddPiranha(options =>
{
...
options.UseManager(jsonOptions =>
{
...
});
...
}); |
Hello everyone.
I have an existing .NET Core 3.1 project which needs to set the NewtonSoft SerializerSettings contract resolver to be the ContractResolver. The problem is, when i setup this and include the services and middleware relative to PiranhaManager, the serializer settigns are ignored. This is my actual startup (with the piranhamanager commented to made the application works).
Can some one help me with this issue?
The text was updated successfully, but these errors were encountered: