The main tools we will be using to pull this off are Karma and Istanbul. The test we write will be using Jasmine.
If you don’t use Visual Studio, you should still be able to adapt these instructions to your own environment. I’ve found getting Istanbul setup kind of tricky at times. Since everything I’m going to show you here is pure Node.JS, you can ignore the Visual Studio parts.
Let’s get started.
This week, my intent is to walk you through exactly how I do that.
So, if you don’t already have Node.js and Gulp installed, you may want to go back and read the article I wrote last week.
Since most of the people who read this blog are ASP.NET developers, there may be a few .NET specific tips along the way. But the Gulp file I am going to walk you through is technology agnostic. So if you are using some other technology, you’ll still benefit from this article.
Continue reading “Using Gulp to Bundle, Minify, and Cache-bust”
As I’ve written before, I’m using Angular a lot recently to write the client side of my web applications. As I’ve gotten to the end of my current project, I found myself needing to implement cache busting and while I am at it compression. But because I’m using a regular HTML page to serve up the shell for my single page application, using the regular ASP.NET on the fly compression wasn’t going to work for this application.
But there are a lot of tools in the Node.js space that will work. Would it be possible to wire node.js and Gulp with ASP.NET in my existing web project?
It turns out you can. Although, at this point, it isn’t as straightforward as most other things in Visual Studio.
Continue reading “Using Node.js and Gulp with ASP.NET in Visual Studio 2015”
Today I saw a GREEN traffic light for the first time.
OK, that’s not entirely true. What I mean to say is that I saw that it was green.
You see, I was born color blind. This never really bothered me because, like most people who are handicapped from birth, I didn’t know what I was missing.
But then, I found out that there is this company that sells glasses that help color blind people see color. They are pretty expensive, at least they seem pretty expensive when you believe you don’t really have a big problem. But then I took the standard color blind test on their site and found out
- I’m color blind (duh!)
- there is an 80% chance that the glasses would help and
- I only see 2% of the available color spectrum.
Wow! Only 2%? I knew I had issues. But I’ve been able to function. But only 2%. What am I missing?
Well, my wife got me a pair of glasses for Christmas. Unfortunately, I ordered indoor/computer glasses and what they sent are sunglasses. I’m still trying to get that resolved. But just for kicks, I wore the sunglasses out while I was running errands today. This is the first sunny day that I haven’t been stuck inside since Christmas. The reds are redder, the yellows are yellower and, hey! Guess what?! The green light is actually green!
So, what’s this got to do with programming? You did know this was going to eventually relate to programming right?
Continue reading “Increase Your Excellence Capacity”