Manatee.Json (Part 3: User-Defined Serialization)

In the past couple posts, we’ve looked at JSON as a language, how to represent it in code, and how to translate between JSON in a string and our object model. Now, let’s take a look at how we can make JSON work for us.

Most notably, JSON is used as an alternative data transfer format to XML in web API calls (usually, but not exclusively, in REST services). This is accomplished through the power of serialization. Continue reading “Manatee.Json (Part 3: User-Defined Serialization)”

C# 6 Features I Don’t Like

There have been many posts on the features of C# 6. Probably the most thorough (however now a bit dated) I’ve seen is this one.

When I first read about these new features, I was discouraged about the direction the language is headed, and I still am for some of these. I therefore emailed my not-so-local C# expert to solicit his opinion on some of them. He has allowed me to share some of his responses to my concerns. Continue reading “C# 6 Features I Don’t Like”