344 Views
In Web API, by default, you just serialize your models (or DTO). Let’s build something which help you decorate (wrap) your response with helpful metadata, like “total Results”, “timestamp”, “status” and so on.
0 comments
Join in on a hand-picked round up of the best .NET articles every day.
Curated by our Moderators and Voted up by our Community. Free.
In Web API, by default, you just serialize your models (or DTO). Let’s build something which help you decorate (wrap) your response with helpful metadata, like “total Results”, “timestamp”, “status” and so on.