Text casing and Examine

This post was imported from FARMCode.org which has been discontinued. These posts now exist here as an archive. They may contain broken links and images.A few times I’ve seen questions posted on the U…

Read this article

WebApi per controller configuration

This is more of a blog post about what not to do :) At first glance, it would seem relatively painless to change your WebApi controller’s configuration, I’d assume most people would do what I initiall…

Read this article

Multi targeting a single .Net project to build for different framework versions

Consider this scenario: I have a project that relies on ASP.Net MVC and currently this project is built against the .Net framework 4.0 and MVC 4 I want to support MVC 5 for this project To support…

Read this article

Get JQuery requests to play nicely with AngularJS CSRF convention

Decided to write this quick post for anyone searching on this topic. AngularJS has it’s own convention for CSRF (Cross Site Request Forgery) protection but in some cases you’ll be calling these same s…

Read this article

How to inspect assemblies with reflection before including them in your application

If you application supports plugins or extensions in some cases it might be useful to scan a packages assemblies before importing them in to your app. Some reasons for this might be: Checking if the…

Read this article

Custom MVC routing in Umbraco

This post will describe how you can declare your own custom MVC routes in order to execute your own custom controllers in Umbraco but still be able to render Umbraco views with the same model that Umb…

Read this article

Reference the current form controller in AngularJS

I previously wrote a post about Listening for validation changes in AngularJS which with my knowledge at that time required a handy hack to get a reference to the currently scoped form controller (ngF…

Read this article

Listening for validation changes in AngularJS

In some applications it can be really useful to have controllers listen for validation changes especially in more complicated AngularJS apps where ‘ng-repeat’ is used to render form controls. There’s…

Read this article

NDepend review = pretty cool!

For a while I’ve been wanting to automate some reporting from our build process to show some fairly simple statistical information such as Obsoleted code Internal code planned to be made public Co…

Read this article

Uploading files and JSON data in the same request with Angular JS

I decided to write a quick blog post about this because much of the documentation and examples about this seems to be a bit scattered. What this achieves is the ability to upload any number of files w…

Read this article