Creating a SQL Alias

To help standardize the connectionstrings across your team’s development machines. You can all use the same sql alias, database name, username and password. The last three are easily configurable however the sql alias isn’t so obvious. Here’s a simple set of instructions to get it working. My environment at time of this post is WindowsContinue reading “Creating a SQL Alias”

Disabling NuGet Package Restore

You’ve enabled NuGet Package Restore and want to reverse that decision? Follow the steps below for every csproj in your solution: Close down the solution Delete the .nuget folder on the solution level Open up each csproj in a text editor Find the following XML tags and delete them: <RestorePackages>true</RestorePackages> <Import Project=”$(SolutionDir)\.nuget\nuget.targets” /> <Target Name=”EnsureNuGetPackageBuildImports”Continue reading “Disabling NuGet Package Restore”

EPiServer 7.5 – Exception – More than one content model is assigned to the guid

When running an EPiServer site and you get the exception “More than one content model is assigned to the guid”. This is usually because you’ve changed a namespace. There will be a reference to the old namespace cached somewhere so do the following: 1) Clear your bin folder 2) Clear the ASP.NET Temporary files folderContinue reading “EPiServer 7.5 – Exception – More than one content model is assigned to the guid”

AngularJS – Why?

Why Angular? AngularJS is written in Javascript and is a HTML compiler. It was written by developer, Misko Hevery who originally built AngularJS as a solution for building HTML components with functionality. It is now a fully fledged open source framework. It allows you to build complete applications. It is very easy to learn and youContinue reading “AngularJS – Why?”

AngularJS 1.4 – Declaring a Controller

I’ve been following a few tutorials that describe declaring a MainController. However the tutorials a pre AngularJS 1.3x and are no longer valid. Previous AngularJS allowed you to define a controller globally . As of 1.3x this is no longer the case and you must declare your Controllers inside angular modules. Here’s an example: varContinue reading “AngularJS 1.4 – Declaring a Controller”

Javascript – Revealing Module Pattern

This Javascript pattern allows you to define a piece of code with a private scope but have it accessible with a public method. Easy to implement and simple to understand. <blockquote><code> var createWorker = function() {</code> var task1 = function() { console.log(“moo1”); } var task2 = function() { console.log(“moo2”); } return { job1: task1, job2:Continue reading “Javascript – Revealing Module Pattern”

Web Performance – IIS GZip Compression

There’s nothing like performance tuning your website and watching benchmarks better themselves. Sometimes it can be tricky but fortunately this is one of the easier fixes. YSlow and Chrome Dev tools recommend gzip compression and you are looking at around a 70% reduction in file size for your static and dynamic resources. Great! So howContinue reading “Web Performance – IIS GZip Compression”

Implementing UAT into Scrum

Definition of uat User acceptance testing is an a process that validates the deliverable conforms and meets the business requirements initially laid out.   Proposed Agile Process with UAT This proposal introduces a period of time after the sprint has ended to allow for UAT. It provides business analysts, product owners and stakeholders to lookContinue reading “Implementing UAT into Scrum”

New Marie Curie ‘In Your Area’ Search Functionality

For the past two weeks here at Marie Curie we’ve been working on new functionality for searching for Marie Curie services across the United Kingdom. It has just today finally gone live and now we can serve our supporters with better information about the key services and events in their area. ‘In Your Area’ OnContinue reading “New Marie Curie ‘In Your Area’ Search Functionality”

Property Injection & Action Filters in EPiServer 7 CMS

I spent a bit of time putting in some custom implementation to support Property Injection on to my Action Filters before realizing that EPiServer 7 already provides this functionality for me. Doh. In order to take advantage all you need to do is set your DI controlled interface to the generic type property of the Injected class.Continue reading “Property Injection & Action Filters in EPiServer 7 CMS”