The other day I was working on an Angular project and noticed that my controller scope had loaded twice. I noticed this phenomenon using Batarang: Tip: Batarang is a great chrome developer tool plugin that helps a lot with debugging your Angular applications. Where in the world did scope.$id=2 come from? The rest of the … Continue reading Why would AngularJS load $scope twice?
Anyone can write code that a computer can understand, it’s much more difficult to write code that other people can understand! Our team is always striving to make our code as easy to understand and intention revealing as possible. Using the new ES6 syntax and features can be a great way to improve your existing … Continue reading Awesome Angular Controllers with ES6: 6 Easy Steps!
Use these instructions at your own risk. As with all installations you should become familiar with the software and ensure it is setup and secured correctly. Recently I’ve been using Redis on some projects to provide a really fast and reliable in-memory, distributed cache and datastore. It’s easy to use and has been a blast … Continue reading Installing Redis on a Windows Workstation
AngularJS is awesome! I've been spending a lot of time lately learning and building applications using the AngularJS framework. I'm definitely not an expert yet, but I'm having a lot of fun! It's a great framework and I really like how they've made testing a first-class feature. Templates with directives Recently I had to create … Continue reading Testing Templated AngularJS Directives
That's right. I said it. If you are a software developer, then you are also a software tester. If you care about the quality of the software you are developing then you should be spending a significant amount of your development effort ensuring and verifying that quality. The only way to do that is to … Continue reading Developer === Tester
We have multiple web applications on our server farm that share forms authentication. This makes it possible to have a single login page / functionality that can be shared between the applications. In order to allow the encrypted forms authentication cookie to be shared between these applications the web.config needs to be setup in the … Continue reading Problem Sharing ASP.NET Forms Authentication or A Tale of Two Cryptography Cores
Also known as watch the precedence order of your registrations! We have recently begun switching our MVC project to leverage the Areas feature in MVC. This is a big benefit and allows us to organize our application functionally as opposed to by file type. As an example it allows us to put everything about updating … Continue reading ASP.NET MVC – Why doesn’t my area route registration work?
Recently we upgraded an MVC 3 application to MVC4 and wanted to take advantage of the new bundling and minification functionality for our css and js files. There are some great articles on the asp.net site about how to use all of these new features: http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification Initially I tested it out on a brand new … Continue reading ASP.NET MVC4 Bundling and Minification: Where did System.Web.Optimization go?
I've been using R# from Jet Brains extension for Visual Studio for about three years and consider it a critical part of the IDE. In fact, when I consider using a beta or release candidate build of Visual Studio, my first question is whether or not R# is available for use in the new version. … Continue reading Jet Brains ReSharper: Essential Extension for Visual Studio