In today’s API economy, we are always dealing with some piece of JSON in and out. We also prefer strongly typed serialisations/deserialisations for better practices. This not only helps overall programming experience, but also abstracts DTO in a very productive way.
In this context, when it comes to productivity, I think one of the best productivity features Visual Studio offers is the following
- Copy some JSON from Internet etc
- Create a new Class
- Go to Edit from top menu
- Select Paste Special
- Select Paste JSON as Classes
Now you have classes and fields generated from a valid JSON snippet. Visual Studio does run a tiny validator and shows an error if JSON you are pasting is not a valid one…