The musings of an ASP.NET Developer from Canada's We(s)t Coast

Comments

Articles

Welcome to a new series on the latest version of ASP.NET – currently being called ASP.NET vNext (or ASP.NET 5). Microsoft has been working on this latest version of ASP.NET for just over a year and last month they released a Beta 1 preview of the code and tooling as part of the Visual Studio 2015 Preview.

In this blog post I am going to return to my investigation of the graph database Neo4j. So far I have done a brief introduction to Neo 4j and I have shown how easy it is to install Neo 4j in an Azure VM.

In an earlier blog I described the use of the DnnExceptionFilterAttribute which can be used to simplify the exception handling in Services Framework action methods. In this blog I turn my attention to another, more generic attribute that you can apply to your action methods.

One of the tenets of Unit Testing is that in order to test a piece of code we often need to create some alternate implementation of one or more of the Interfaces involved in a test. This concept is generally called a Test Double. However there are many types of Test Double, and there is some degree of confusion about the types of doubles used.

One of the biggest challenges in writing Unit Tests - at least when you write them after you have created the actual code, rather than in a Test Driven Development style, is determining what should be tested.