Categories
Android Angular Ionic Framework iOS Mobile Development

Implementing D3.JS in Ionic 3 / Angular

What did I learn today?

Today I found that implementing D3.js into an Ionic 3 application is much more difficult than I thought it would be originally.  I tried to use just the default D3 library as well as a D3 NPM package named d3-ng2-service.  In the end, it came down to needing to use both of them.

Categories
Dev Ops Dev Tools

Stupid Easy Scripts to Run to Setup a Website in IIS

Why use batch scripts to setup IIS?

I’m weird.  I like my development, test, and production environments to be setup as close to the same as possible.  It isn’t exactly rocket science but it helps eliminate errors that always tend to creep up on deployment day and are always unexpected.  I’ve had instances where deployments were rolled back because a site wasn’t tested with an SSL certificate on test or in a load balanced environment, someone missed a key IIS setting that caused half of all requests to fail.

So now whenever I am working on a new site, I like to create a batch script does all of this creation for me and I can run it on multiple environments will little changes.

Categories
CSS SASS

Stupid Easy Instructions To Implement SASS into your Visual Studio Project

I found that there are still many developers not using a CSS preprocessor to simplify their web development when it comes to styling.  You don’t have to be a “front-end” guy to do it and it actually does make life way more simple.  Dare I say that you might actually enjoy working on styles?

Categories
AngularJS

Client-side PDF Generation with AngularJS

Creating PDF’s with Client Side JavaScript Sucks!

I’ve learned that creating PDFs with JavaScript is not easy but it can be done and can be done well.  It can be done using HTML/CSS/JavaScript.  In this post, I’ll be using AngularJS but I’ve seen how this can be done with Angular as well.  There can be a lot of gotchas especially if you need it to work on mobile.

So let’s get to it!

Categories
Career Soft Skills

Becoming a Tech Conference Speaker: Creating Your Presentation

Intro

There are already a ton of groups, tips, and blogs that are out there that will help you learn to become a great speaker.  This post won’t go into a lot those topics because simply Googling will you get there.  What I will be doing though is describing the process that I use to come up with my speaking ideas, created my decks, and practicing for the upcoming conferences.

I hope to give you another perspective on taking your speaking to the next level and the tips and tricks I use to get there.  This will be a multipart series on becoming a conference speaker.  This post specifically is about creating your presentation!

Categories
Soft Skills Uncategorized

Becoming a Tech Conference Speaker: Selecting Your Topic

Intro

There are already a ton of groups, tips, and blogs that are out there that will help you learn to become a great speaker.  This post won’t go into a lot those topics because simply Googling will you get there.  What I will be doing though is describing the process that I use to come up with my speaking ideas, created my decks, and practicing for the upcoming conferences.

I hope to give you another perspective on taking your speaking to the next level and the tips and tricks I use to get there.  This will be a multipart series on becoming a conference speaker.

Categories
AngularJS

Filtering Input Fields in AngularJS

What did I learn today?

Today, I came across a situation where I needed to have an input field containing a phone number format the number on page load and during user entry.  Formatting the phone number while the user was typing was easy, all it took was a pattern attribute and a simple directive.  But when I tried to use a filter to format the phone number on page load, it was more difficult than I expected.  The normal filter syntax was not usable and caused the screen to error.

Because I spent an hour or two looking for the best solution, I decided to write this blog post to remind me how to do this six month from now when I need to do this again.

Categories
Android iOS Mobile Development

Visual Studio Starter Kit for Ionic 3

Updated for Ionic 3.9.2

Just updated on 11/28/2017 – This was mostly just updating NPM packages but the main thing was to add the vendor.js file to the index.html

Updated for Ionic 3.7.1

Just updated on 10/20/2017 – There were a few things that needed to be done to the solution instead of just updating the NPM packages.

First update the index.html with:

<!– all code from node_modules directory is here –>
http://build/vendor.js

Then added the bolded text to the service-worker.js

self.toolbox.precache(
 [
 './build/main.js',
 './build/vendor.js', 
 './build/main.css',
 './build/polyfills.js',
 'index.html',
 'manifest.json'
 ]
);

 

What did I learn today

Today I spent several hours setting up a default Ionic 3 project on my local machine and spent several more hours setting up Ionic Package to upload and build my Android application.  While the instructions were not easy, I spent a lot of time looking at various different resources.  This post will compile this list of resources and list the steps I used to get a very basic project up and running.  This is my attempt to create a Visual Studio Starter Kit using Ionic 3 and Ionic Package

Categories
Career

Self Evaluations: Talking about Yourself without being a Jerk

Don’t be a Jerk!

I’m writing this post to write about what I believe everyone should be doing with their career.  It will be opinionated but hopefully it will give you some good ideas on how to make sure you get what you deserve.  But why should you listen to me?  Good question,  I’ve been a part giving reviews for several years and have given the whole spectrum of results.  I am also a bit selfish.  I hate giving reviews on poor performance and so I want to help everyone out so I don’t ever have to do that again.

Categories
Security

.NET Identity Claims Are Under-utilized

What did I learn today?

Today I realized how I may have been under-utilizing .NET Identity Claims for a long time.  I’ve only really used identity claims under normal circumstances which basically just handled default information about a logged in user; Name, Email, etc.  Until recently this was usually enough. However, I recently have had 2 instances where if I did not extend the default claims, I would need to write an enormous amount of code.  Without using claims, I would either have to write code to pass values between services or constantly look it up from a database.

Today’s post will describe two ways I have recently used .NET Identity Claims to solve problems that would have required a lot of rework and code.