Tag: C#

C

Convert a JSON string into a C# object

There could be scenarios in our project wherein we consume a service which returns back a JSON message. These JSON message is infact a stringified version of an object and are recognized as a simple string format by our server side. Decoding them gets difficult at the first shot. But C# itself has got a ...

G

Generate JSON string output in C#

This is one of the most widely used and very useful script that you could use in your web services/ WCF services/ Handlers or any place wherein you require a JSON string to be passed to the client/ consumer. We make use of the Serialize method in JavaScriptSerializer class in C# under the following namespace: ...

.

.Net Coding Standards Part2 : Coding Practices

This post is in continuation to my previous post ".Net Coding Standards Part1 : Naming conventions and style". If you wish to go through it again, you can access it here. Here i will be taking you through some Coding practices in DotNet coding. I would request you to go through them slowly and with ...

.

.Net Coding Standards Part1 : Naming conventions and style

As .Net developers we tend to forget this key ingredient in our lives. Quite frequently, we end up in a coding mess. It would be good to take into account of coding standards before you start writing your first letter. It took me a lot to understand them. In no way you could learn them ...

Advertisements
Advertisements