Integrating with Github Webhooks using OWIN

For some reason I got the urge to have a look at webhooks when using GitHub. Since it is a feature that is used extensively by build servers and other applications to do things when code is pushed to GitHub etc, I thought it might be cool to have a look at how it works under the hood. And maybe build some interesting integration in the future…

The basic idea behind it is that you tell GitHub that you want to get notified when things happen in your GitHub repo, and GitHub makes sure to do so. It does so using a regular HTTP call to an endpoint of your choice.

More...

Modules and module loading in node for n00bs

Ok, so in my previous post, I introduced Node to newcomers. And I am in now way condescending towards people new to Node. But, wait…Chris, you are always condescending!? Not quite true, but in this case I am definitely not, as I am myself a n00b in the area.

The goal with my blogging about node is to share the stuff I learn along the way, in a way that I think make sense to a C# dev like myself. It might not be the correct node lingo, and I might be wrong in some cases, but I just call it as I see it…

This time around, it is time to have a look at modules in node, and how we load them.

More...

SignalR Demo Code from the 1st Wednesday presentation

So…here is the code that I promised the people participating at the 1st Wednesday presentation last night. It worked straight up when I tried rebuilding the whole thing, so hopefully the code in this zip will work for you all. If not, let me know and I will fix it somehow… Code: DarksideCookie.SignalR.Demo.zip (1.24 mb)

Unit of Work and Entity Framework

The Unit of Work pattern is a really useful pattern that I really haven’t given a lot of thought to for some reason. Generally it just seems to need very little attention. I guess frameworks around us shield us from it… But I guess it the more you learn, the more you think of, and the more time you spend working on things that you previously never invested much thought in.

Anyhow, recently, working with Entity Framework (yes…it is another EF post…) I realized that this pattern is really key to a lot of things, and it isn’t always that easy to implement. So I decided to Google it and borrow heavily from some smarter person than me who had already built a nice solution for it. Unfortunately, all the information I found regarding UoW and EF was overly simplified, and generally based around abstracting away EF in a single repository.

More...

The application from the Wellington Silverlight User Group

Hi! For those of you who attended the Silverlight User Group meeting yesterday, and saw my presentation on data bindings in Silverlight, here is the sample application zipped up and ready. For those of you who have no clue what I am talking about, and instead wonder where the last part of the Twitter client is, I’m sorry! I have been up to my eyeballs in stuff lately… Work, presentations at the Wellington Web Meetup and the Wellington Silverlight User Group and so on. I promise I will try to get it online as soon as possible. Hopefully early next week…

But here is the code at least…DataBindingDemo.zip (369.84 kb)

Hmm…that file got grossly bloated…sorry about that. It just has a bunch of compilation crap in it…but hey…bandwidth is free…ohh…that’s right, I’m in New Zealand where you for some !£$%@# don’t have flat rates on broadband…

Oh…and I forgot…the cool framework I was talking about is here