Aligned
30 posts.
- Some Git helpI shared some information at a Lunch and Learn along with a demo and now I’m sharing it with you. "branching as a tool vs branching as a strategy" ~ Scott…
- Karma Test Results with TFS BuildTLDR; 1\. Setup the Karma Trx Reporter. 2\. Add Publish Results Build Step using ../TestResults/\\/karma-test-results.trx as the path. 3\. If remote Vm…
- Avoid ClickJacking in ASP.Net Core 1.0Please do me a favor and read this on my Gooroo site. (if I get enough hits, I get a payment) Thanks! I recently received the status report of a…
- Better single-page apps with ASP.NET MVC 6 - Steve Sanderson NDC2016I watched the very interesting talk by Steve Sanderson (KnockoutJs creator) from NDC 2016 yesterday and took some notes and screenshots that are worth…
- FakeItEasy and EntityFrameworkWe needed to fake or mock out Entity Framework so that we could test our “service layer” that holds our business logic without hitting a real database. We…
- Resx strings can be technical debtI’m working on a project that requires translation using .Net’s Resx capabilities. This project is 2 years old and counting and our duplication and…
- VS 2015 and Typescript module flagTypescript 1.5 allows you to import modules using the import statement. import {DataService} from"../Modules/jQueryAjaxDataService";
- NDC 2015 VideosThe Norwegian Developer Conference 2015 videos have been uploaded in the last few days. I didn’t get to go, but they always have a lot of great speakers…
- TypeScript and RequireJsTypeScript and RequireJs work well together. Writing small modular code with Single Responsibilities (SOLID principles) is a good practice in any language…
- My small contribution to ASP .NET 5I saw that the readme files for ASP NET 5 Home and ASP NET Data Project still said vNext so I made a pull request on github to change it to the announced…
- TypeScript Import casing mattersI have a TypeScript class with PascalCasing, but the file name was camelCasing.ts (to match our other existing js files) and my TypeScript wouldn’t…
- Quick Guide to setup a MVC project for Unit TestingReposted on my new blog. Come visit me there! A barrier to getting into writing executable tests (Unit Tests, integration tests, automated UI tests, etc)…
- Technical DebtIf any of you don't know about the concept of Technical Debt in your projects, this is a good presentation about it and how to handle it.
- Mock the window.setTimeout in a Jasmine test to avoid waiting, but I was unable to make it work in a function that I’m calling and want to test. The example only shows using clock for a setTimeout in the spec tests…
- Mock RequireJS define dependencies with config.mapI had a module dependency, that I’m pulling down with RequireJS that I needed to use and write tests against. In this case, I don’t care about the actual…
- MVC OnActionExecuting to RedirectI recently had the following requirements in an MVC application: Given a new user that still has the default password
- Use Selenium to Find Elements By Knockout’s Data-bindI created a quick C# extension method for Selenium to find an element by its data-bind attribute. I wanted to find an element by the binding instead of…
- Notes from a short presentation on NodeJsI volunteered myself to give a short 30 minute presentation at a work lunch and learn on NodeJs. With my limited experience I see using Node as a great…
- Working with IFrame elements and Selenium 2+ in C#I added a lengthy answer to the StackOverflow question on switching focus to an iFrame when using Selenium to automate a UI for testing and thought it…
- Steps to Get MVC running with Ninject1. enable package restore on solution 2. Nuget Ninject.MVC3 (pre-release available?) \ adds Ninject, Ninject.Web.Common, Ninject.Web.Mvc \…
- Benefits of Behavior Driven DevelopmentNow posted on aligneddev.net Continuing my previous article on BDD, I wanted to point out some benefits of BDD and since BDD is an extension of Test…
- Data Compare is Finally Back in VS 2012I’ve been missing the data compare tool this since moving from VS 2010. I’ve install the VS 2013 v3 update and then the SQL Server Data Tools - June 2013…
- ASP.Net 4.5 Garbage Collection ImprovementI just read on CodeProject by Shivprasad koirala. Feature 5 in his article mentions the GC background cleanup and has a good explanation of the work the…
- Faking the WebApi UserI needed to unit test a WebAPI call in my MVC 4 application that checks the user's role. I'm doing this in my MVC controllers with the following code…
- Pre-Compiling your MVC ViewsOne part of MVC Views that can cause problems is that the cshtml can cause run-time errors. This can lead to bugs in Production or found by QA that could…
- DataService and AjaxService for JavaScriptHere is what I’ve been using to make my JavaScript more modular and testable. I’m using JQuery’s promises and the Revealing Module Pattern.
- Specification Test for the Authorized Attribute in MVCI wanted to Unit Test (in BDD I’d call it a specification) that the controller had the authorize attribute.aspx) so I found this approach in a GoodSearch…
- MVVM and Animations in SilverlightI wanted to spin an icon to show progress to my user while some content was downloading. I'm using MVVM (aren't you) and made a satisfactory Storyboard to…
- Speed up your Silverlight Debugging for large projectsI'm working on a 5+ year old ASP.NET project that has 74+ projects and we've been adding new Silverlight applications to run in the ASP.NET page islands.…
- Programming and Learning from SD - ToolsHave you thought about how you've built web applications in the past and how you want to do it now? Please visit me at for my reflections.
