It’s that time of the year again when the licenses on my third party products start lapsing and I pull out my card to renew for another year. Although having used Resharper for a long time, the line between it and Visual Studio has blurred for me. So instead I’ve decided not to renew andContinue reading “My Resharper license just expired…renew or not to renew”
I couldn’t find a similar solution online as I believe there is an emerging pattern where we are now instructing clients to drag EPiServer Blocks into Rich Text editors. Requirement: As an Editor I want to limit certain blocks types from being dragged into the rich text editor Solution #1: Apply this attribute to anyContinue reading “EPiServer 10 – Restrict any Block Types on XHtmlString property using the Validation Attribute”
Kiss goodbye to potentially getting your laptop screwed up when your nephews and nieces infer it’s basically just a giant iPad. Sigh.
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”
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”
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”
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”
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”