Nancy style Modules in Asp.Net Web API with Superscribe

Roysvork is working on a really interesting project to bring NancyFX style routing to Web API.Continue reading

4 helpful productivity tools part 1

I’m always amazed and delighted to discover a new ‘cool tool’ or service cleverly solving a problem I didn’t even know I had! As I enjoy reading other people’s posts about this subject I thought I’d throw in my 2 pence worth.Continue reading

Responsive tables

I’ve recently been doing battle with some rather large html tables trying to make them ‘fit’ in my lovely ‘responsive’ design. There are some really cool options available to you depending on the kind of data you want to show. I highly recommend checking out the great collection of approaches put together by Simon Elvery which can be found at his Reponsive Tables demo page. Unfortunately, for various reasons, I ended up having to come up with a different solution. It was so simple and effective that I’m going to share it here.Continue reading

How to capture your client-side errors using Elmah

For those of you who have never heard of Elmah before (where have you been!) it is a powerful and simple way to log errors on your website – go use it, you’ll love it! What I hadn’t considered before was that it could also log client side javascript errors . I picked up this tip from @craigshoemaker on his plurasight course called HTML5 Line of Business Apps with Bootstrap, MVC4 and Web API.

The basic idea is to hook into the ‘window.onerror’ javascript event and to call a dedicated server side endpoint who’s responsible for logging the event in elmah.Continue reading

‘Messaging’, the new silver bullet?

I had an ‘Ah ha!’ moment just over a year ago when I attended a Greg Young’s CQRS and Event sourcing course with skillsmatter. The ‘Ah ha’ wasn’t about CQRS, or even Event sourcing, it was about how Greg structured his code to work with messages. This approach can have far reaching effects on your software, making it simpler, easier to test and much more flexible. It can even remove the need for an AOP framework (amongst other things).Continue reading