Programming

As you may have seen, I’m a programmer. Specifically, I’m a .NET programmer using the C# language to build websites and applications.

Oddly enough, this site is hosted on a Linux server and was originally written in PHP, and now is built using WordPress on AWS hardware.

Regardless, sometimes issues come up and I’ll post about them here. Perhaps, I’ll post a discussion on a problem that I’ve worked through that you may be facing now. In that case, I hope that you can find this useful.

JavascriptSerializer Example – Parsing JSON with C#

Parsing a JSON string is straightforward. You create an instance of the JavaScriptSerializer class and then call it’s Deserialize function to operate on the JSON string. You will get back a dictionary object of type  Dictionary<string, object>. This dictionary can then be examined and referenced as you would any other dictionary object. But… it’s never...

Read more ...

Compiling a C# Project using Command Line Tools (Example)

(Updated 12/4/2015) Compiling a C# (C-Sharp) file using command line tools is not as difficult as you may think. In this tutorial, I will walk you through the steps needed to create a project using nothing more than Notepad and the Command Prompt. Jump to the code A lot of programmers are not aware that...

Read more ...

Generating Hierarchical (Nested) XML from a DataSet

At my latest position, we work with data in XML format. A Lot! (Jump to the code. Download all the code.) Our results are often offered to outside clients from some of our web services. In most cases the data is provided in XML format (we are beginning to convert our output to JSON, but...

Read more ...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.