How to exclude Json properties from WebApi response using a custom ContractResolver
How to Exclude #JSON properties from #WebApi response using a custom #ContractResolver #devs #devtips
I am currently working on a Backend API that acts as a middleman to a Front API and a DocumentDB database (the structure is shown in the above image).
I had the following class which is used to send data to both the Front API and to the DocumentDB. Some of the fields needed to be hidden when returning a response back to the Front API, since they weren’t useful for the user and for security…
View On WordPress













