Geeks With Blogs

News Please visit me at my new blog!!

profile for Aligned at Stack Overflow, Q&A for professional and enthusiast programmers
"free in Christ Jesus from the law of sin and death." Romans 8:2 (ESV) Check out the Falling Plates video on YouTube.
more about the Gospel
And then listen to Francis Chan speaking at LifeLight in SD.

Programming and Learning from SD April 2013 Entries
MVC Validation of a Password with a Regular Expression
Re-posted on January 19th, 2018 to have requirement (specification) that the password has to be at least 7 characters long and contain a special character (~@#$&*()-_+=) which are all the specials in the number keyboard row. I found that using the RegularExpression DataAnnotations is really slick, but there was a point that caught me for a while. The problem is that @".*([!@#$&*()-_+=]+).*$" works in the UI, but fails in the unit test. @"[!@#$&*()-_+=]+" works in the ......

Posted On Friday, April 26, 2013 11:16 AM

Strategy for Studying for Certifications
Recently I’ve passed the 70-480 (my post on it) and 70-486 certifications. In the past I’ve used the MS Press books that have many chapters and practice tests with them. These tests do not have books yet (coming this summer), but our company is pushing to get back to Gold status before August, so we had to go ahead. There was a great series of videos for 70-480 and doing HTML, CSS, and JavaScript for my recent projects helped a lot. The 70-480 didn’t have a specific course. We ended up using Trello ......

Posted On Thursday, April 25, 2013 8:07 AM

The Best SignalR Guide I have come across
A co-worker sent me a link to this PDF was but has moved to https://ptgmedia.pearsoncmg... (you have to put your email address in) and it is very in depth and invaluable.update on 9/14/2017 Link fixed for the PDF Here are a few other links: On GitHub From Scott Hanselman Watch Video #8 from the Microsoft Virtual AcademyAsks questions int the Jabbr chatroom I hope this helps someone ......

Posted On Wednesday, April 24, 2013 9:19 AM

DataService and AjaxService for JavaScript
Here 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. I got the idea for the DataServices from John Papa's Pluralsight course on Knockoutjs, but modified it to work with promises, instead of passing in the callback as a parameter. // DataService example: dataService.UiDataService = (function (ajaxService) { 'use strict'; var webServiceUrl = "/api/UiApi/", /** * @brief Get all the components from the service. */ ......

Posted On Friday, April 12, 2013 8:54 AM

Jasmine Specification Testing Pointers
I’ve been using Jasmine JavaScript testing library for Behavior Driven Development (see my Benefits of BDD post) testing the last few months with KnockoutJs view models and the Revealing Module Pattern. We now have 244 specs on a system that will be around and hopefully expand. I was hired to get it going, then others will maintain it and add to it after I’m gone. They have helped me think through what needs to happen (when {X} it should do this), test functionality with out having to click through ......

Posted On Friday, April 5, 2013 3:18 PM

Copyright © Aligned | Powered by: