Browsed by
Category: Microsoft

JSON Date Serialization C# Snippet

JSON Date Serialization C# Snippet

When exposing .Net DateTime members to service consumers the .Net format is not always appropriate because the consumer may not be on the .Net platform. Therefore it’s best to use the ISO 8601 standard. Serialization is performed in .Net by using the OnSerializing attribute, and deserialization by using the OnDeserialized attribute. I created a Visual Studio snippet that writes the code that enables you to serialize/deserialize your DateTime member. Once added to your Snippets library utilize it by typing “jsd”…

Read More Read More

It’s Friday and there’s 17 new JS frameworks out there

It’s Friday and there’s 17 new JS frameworks out there

If you’re like me you’re tired of hearing that there’s a new JavaScript framework for client-side web development that’s better than everything that ever came before it. It seems that once you have decided on a library and think to yourself “Ok, it has some things I don’t like but I’m going with Angular”, or “React”, or whatever, a newer framework is announced that looks promising. You bite your lip and vow not to look at it; you’ve already made…

Read More Read More