Correctly configuring cross-origin resource sharing can be challenging. This post covers common CORS issues encountered while setting up a local development environment with ASP.NET Core Web API. Disclaimer: I am not an expert in configuring cross origin resource sharing (CORS). This post is intended to be for learning purposes only and is not a guide … Continue reading Troubleshooting CORS Issues in ASP.NET Core Web API
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?
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?