ASP.NET Core OData 8.0 and AddServicePrototype #698
Unanswered
jeffreyrjones-tc
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I add a service prototype with ASP.NET Core OData 8.0. I need to override the ODataMessageReaderSettings & ODataMessageWriterSettings so that I can change the MessageQuotas.
I used to do the following in v7.5, but MapODataServiceRoute is no longer available so I'm not sure how to add service prototypes.
I was going to override the DefaultContainerBuilder, but in v8.0 DefaultContainerBuilder is tagged as internal.
Then I was just going to copy the source for DefaultContainerBuilder to MyContainerBuilder, but I couldn't register MyContainerBuilder because configuration.UseCustomContainerBuilder is gone in ODATA v8.0
Beta Was this translation helpful? Give feedback.
All reactions