I am trying to build asp.net core WEB API service, wherein i want to send consistent response with a similar structure returned for all requests.
In earlier version of WEB API, we had DelegatingHandler ,using this we could intercept response and add metadata information into response.
Something of what following URL explained : https://www.devtrends.co.uk/blog/wrapping-asp.net-web-api-responses-for-consistency-and-to-provide-additional-information
I tried OWIN Middleware , but not getting the result.
Is there any way of achieving it in core WEB API.?
Thanks in advance.