Mark%20coleman_large

Mark Coleman

Removing server side scripts, gulp-preprocess

Sometimes you need to process first

Problem, we want to remove server side asp.net scripts from our aspx page and covert them to plain html.

Old Way

In our old index.aspx page we had a few server rendered scripts for example a simple welcome message that is set by some method in code behind.

<h1><%:WelcomeMessage%></h1> 

index.aspx.cs

WelcomeMessage =  . . .

Read More

Posted in: gulp

November 23, 2015

The road to gulpjs

Embracing webapp builds

Since the inception of the web app we have been using asp.net ideas inside of our angular application. This was a logical choice at the start since we were .net developers at heart. During the past year we came to the realization we needed to change things and embrace modern web app tooling for our angular site.

Old Way

Read More

November 23, 2015

Refactor Old Code to Unit Test

Even old code can be unit tested

I originally wrote this article on 4/10/10 which is now over five years ago! I am posting it in its original form to get it online.

Begin time warp...

How to refactor your code to aid in unit testing

One of the biggest problems that occur with legacy code is the problem of testability. Many times developers are afraid to make the simplest . . .

Read More

July 26, 2015

Kid's Day 2015

BYKTWD - Bring your kid to work day

Every year Members 1st FCU invites associates to bring their kid to work to learn about Members 1st FCU and participate in activities organized by associates. Each associates that volunteers helps put together a little activity for the children highlighting a business unit.

  • Tele-branch
  • Security
  • Learn about being a Teller
  • Data Center Tour
  • . . .

Read More

May 03, 2015

Programming Resources

Brain dump

Two weeks ago an associate requested to shadow myself and the development team to learn more about what we do as they are interested in development. I unfortunately only had two hours with them to dump tons of information into their brain which most likely resulted in overload. To help combat this I provided a list of random topics to help . . .

Read More

April 25, 2015

Gated Checkins

When sometimes you are not sure...

This might be old news for some but figured I would share.

One feature of TFS is it allows you to perform a gated checkin where the checkin will only occur if the build/tests are successful. I used this in the past a few times when I was making some changes that were conjecture if it would fix the problem on the build server. (binding . . .

Read More

April 21, 2015

Alter scope via Console

angular.element() is your friend

Yesterday I was tasked with changing some verbiage inside of an AngularJs application that is only displayed under a certain condition via ngIf. How can I validate the changes to the application without mucking up the boolean logic to display the div?

Given the following

<div ng-if="isNewUser">
Welcome new user to the site.
. . .

Read More

April 11, 2015

Archive