development

Post collection

As a Software Developer I am continuously learning, trying to improve my skillset and stay on top of the latest advances within the industry. Very recently I have been finding that I have a long list of languages, tools and techniques in my head that I want to learn more…

I recently came across a blog post on LosTechies detailing how AutoMapper could be used to map from models to ViewModels in MVC controllers utilising custom ActionFilters. I found this to be a fantastic way of keeping the code in our controller actions concise, avoiding 'fat controllers'. In essence it…

I’m currently in the process of restructuring an ASP MVC project. The system was built around 9 months ago and unfortunately there are a few issues around the architecture of the system and as a result there is business logic that has creeped into the ‘data’ project. The current…

Today I did something drastic! I deleted almost all the code I had been working on over the last week or so and started again. I’m currently working on a new application at work being written in AngularJS. This is the first real experience I’ve had with AngularJS…

Being an avid VIM and OSX/Linux user it’s frustrating using Windows for a lot of things, however one aspect that would greatly increase my productivity and enjoyment of working on Windows would be getting VIM working correctly. I have to use Windows at work so investing some time…

This week I will be presenting at Agile Staffordshire with Paul Williams providing an introduction to the Vi text editor. This post is to detail all the resources that may be of use to anyone wanting to use Vi or Vim more productively. Apologies in advance for any typos or…

So you want to have both WebAPI and MVC controllers in the same project. You add in the route configurations and the WebAPI controllers and come to run the project however you get an exception like this.. ExceptionMessage=Type 'MyProject.Web.Controllers.api.ProductController' does not have a default constructor…

Reflection in .NET is something I’d heard of but never knew what it was. I’d also never thought to find out. That all changed when working on a .NET MVC project recently. One of the requirements for the project I was working on was to create an audit…

So the last few hours I’ve been racking my brain trying to figure out at what point I was doing an INT conversion. After stepping through the code from the web tier down to the EF context no luck! I have a stored procedure in SQL Server 2014 that…

Overview I always find it interesting to see how different people work. What tools they use and how they use them? Any plugins that they find useful? Even things like colour schemes and fonts that they like to work with. I find it helps discover new ways of working to…