FuncLun / MediatR.ConnectR

ConnectR is a wrapper around MediatR with the goal of connecting distributed processes. The initial Implementation is HttpClient to AspNetCore Middleware. Future plans include Azure Service Bus, NServiceBus, etc. MediatR will be the Lowest Common Denominator for distributing process communication.
Apache License 2.0
2 stars 2 forks source link

Json Serialization Customization #2

Closed FuncLun closed 5 years ago

FuncLun commented 5 years ago

Need to update AspNetCore Middleware and HttpClient Json serialization so that it is externally configurable, and defaults to camelCase capitalization.

The Json dependency is currently the same as AspNetCore (which is Newtonsoft.Json 11.0.2). However, it might be nice to implement swapping out serializers, allowing for things like ProtoBuf (binary serializer) to be used.

FuncLun commented 5 years ago

Created MediatorMiddlewareOptions that has JsonSerializerSettings, as well as exception options.