Select Page

C# Articles

Excellent viral developer video for Java

As a .net developer I came across this today and absolutely loved it. [su_youtube url="https://www.youtube.com/watch?v=kLO1djacsfg" autoplay="no"]

RESTSharp with MVC3

Just had a programmers moment of joy, I figured out to hook up an MVC3 view to a REST web service using RESTSharp to render an HTML table Having RESTSharp make the request, de-serialize the XML response to my model and strongly type that to the view... beautiful...

EventLog writing class

Meh, that previous post was kind of too simple etc, so thought I'd wrap up the logic in a nice class here you go. It ccouldn't be easier to call one example to write exceptions is [codesyntax lang="csharp"] EventLogger.Write(ex.Message, "error"); [/codesyntax] The...

Quick way to write to the event log from your C# applications

Namespace to import [codesyntax lang="csharp"] using System.Diagnostics; [/codesyntax] Code to write to the application log, sure this is super simple but sometimes that's all you need ;) [codesyntax lang="csharp"] const string sSource = "Your Application name..";...

RESTSharp with MVC3

Just had a programmers moment of joy, I figured out to hook up an MVC3 view to a REST web service using RESTSharp to...

EventLog writing class

Meh, that previous post was kind of too simple etc, so thought I'd wrap up the logic in a nice class here you go. It...