Recent Updates: Web-Matters

Visit For Recent Updates.

Already a Member? Log In to Your Account
This Blog Posts All Posts Directory Listings Articles

Another Look at Unit Testing Umbraco Surface Controllers (Part 2)

04/06/2014 14:36:34 PM

In the previous post I looked at testing Umbraco surface controllers, using a technique that basically avoided the issue by extracting the non-Umbraco related logic for test into a separate class, and testing that. Another option is to test the contr > read more

Unit Testing Umbraco Surface Controllers

03/27/2014 16:12:16 PM

When coming to work with Umbraco as an MVC developer one feature that is immediately familiar and comfortable to work with is surface controllers. Unfortunately, unlike standard MVC controllers, they aren't straightforward to test. In this blog pos > read more

Unit testing Umbraco IPublishedContent with Microsoft Fakes

03/26/2014 16:43:28 PM

I've recently been working on a package for Umbraco called Umbraco Mapper. It's intention is to support development of MVC based Umbraco applications by providing a simple means of mapping Umbraco content to custom view models. You can read more ab > read more

Async and await with external web resources

03/17/2014 17:26:20 PM

Async and await are two keywords that have been available in the C# for a while now. And so whilst probably a bit late to the party thought would share how I've used them for a recent feature, in case they are also new to others. They allow you to > read more

Unit Testing Umbraco Surface Controllers

02/08/2014 15:51:53 PM

Unit testing Umbraco surface controllers isn't straightforward, due to issues with mocking or faking dependencies. There has been some discussion about it and there are some workarounds regarding using certain test base classes. But in general it's > read more

JSON object versus array gotcha

01/06/2014 15:28:39 PM

Pulled a little of what's left of my hair out with this little gotcha looking at an issue with Umbraco.I was looking to add a small feature to allow you to re-order a list. > read more

Umbraco Core Contributions Via Github

06/26/2013 11:01:55 AM

Umbraco CMS have recently moved their source code from CodePlex to Github which has triggered a flurry of contributions in the form of pull requests. Previously I had made a few small contributions to the project whilst on Codeplex and have now subm > read more

Using PhoneGap Build with a Durandal SPA

06/18/2013 10:16:13 AM

Been spending a bit of time recently looking at JavaScript frameworks, and having a prototype project avaialble as an excuse to work on something, built a small application using Durandal. Have been concious recently that my front-end code wasn't ne > read more

Backgammon with SignalR – Part Three – Client Side SignalR

05/03/2013 10:26:26 AM

This is the last of a three part series of posts on BackgammonR – an online Backgammon game built with SignalR. If you haven’t read it already, please see Part 1 – Game Engine and Part 2 – Server Side SignalR The first bit of JavaScript to n > read more

Backgammon with SignalR – Part Two – Server Side SignalR

05/03/2013 10:18:08 AM

This is the second of a three part series of posts on BackgammonR – an online Backgammon game built with SignalR. If you haven’t read it already, please see Part 1 – Game Engine. SignalR actually provides two abstractions above the base techno > read more

Backgammon with SignalR – Part One – Game Engine

05/03/2013 10:04:54 AM

There’s no doubt who the cool kid on the block is when it comes to the “one ASP.Net” stack – SignalR, a library created to simplify the process of creating responsive applications that push AND receive notifications from the server. It provi > read more

Facebook, Internet Explorer, Anti-Forgery Tokens and Cookies

03/18/2013 07:49:08 AM

Tricky issue with the above 4 in one app... IE was blocking a session cookie from my ASP.Net MVC web application when hosted in the Facebook IFRAME. The anti-forgery token in ASP.Net (used to protected against spoof form posts known as CSRF attacks > read more

Localised Form Validation in ASP.Net MVC

03/08/2013 07:18:59 AM

I've recently been working on a web application that required localisation - the display of translated copy depending on which country the user was visiting from. There was a different sub-domain for each country which was used to identify the approp > read more

An Entity Framework Stale Data Gotcha

03/07/2013 16:31:33 PM

For ASP.Net MVC development I've been working for a while with a setup using Entity Framework Code First and Castle Windsor for providing IoC container services. I recently ran into a weird bug that may be obvious to some... but given I wasted an ho > read more

Working with Stylecop

09/02/2012 15:43:12 PM

I was recently asked to review the use of Stylecop as part of our standard procedures for ASP.Net projects. I'd not used it before, but was fairly happy to consider doing so as code styling has always been one of my pedantic points when reviewing cod > read more

© 2006-2014, All Rights Reserved