Andrew Connell

Latest Node.js topics

All the latest Node.js pages on this site.

Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser.

  • Published on

    Blog: New show by Julie Turner & Andrew Connell: CloudDev Clarity

    Today I’m excited to share a new regular show: CloudDev Clarity. In this show, Julie Turner & Andrew Connell discuss topics for Microsoft 365 & Azure developers.
  • Published on

    Blog: How to create Azure Function Apps with Bicep | step by step

    Learn how to use Azure Bicep to create resources reliably & orchestrate changes and embrace infrastructure as code (IaC) in your Azure projects.
  • Published on

    Blog: SPFx Basics: Configure NPM for a coporate web proxy

    Learn how to configure your development environment for NPM to work with corporate web proxies to install NPM packages.
  • Published on

    Blog: Understand difference SharePoint Framework generator related packages

    Since the SharePoint Framework initial v1 release, I’ve seen questions coming up about a concept that confuses developers. This is a simple concept, one that could have been avoided with a better naming decision many years ago. In this post, I’m going to attempt to clear it up.
  • Published on

    Blog: Mea culpa - always install gulp-cli globally, not gulp

    This is a story about a mea culpa. You should have been installing the gulp-cli package globally (as the docs show), not gulp globally. To better understand why, keep reading.
  • Published on

    Blog: State of SharePoint Client Side Dev 2020 December

    As we near the end of 2020, I wanted to take a look at where we are with respect to the State of SharePoint Client-Side Development. In this post, I’ll give you an update on where we are with popular frameworks and tools developers use in the client-side SharePoint development world.
  • Published on

    Blog: Validating Azure Active Directory (AD) generated OAuth tokens

    In this post, I’ll explain how you can validate OAuth tokens generated by Azure Active Directory (AD) in your custom apps.
  • Published on

    Blog: Workarounds for package manager issues with React and tslint

    In this post, I explain a pair of workarounds to address issues uncovered with tslint since the SharePoint Framework (SPFx) v1.7 release.
  • Published on

    Blog: Don't be alarmed by vulnerabilities after running NPM Install

    I’ve seen more and more questions since the folks at NPM added an automatic scan for vulnerabilities after every NPM install. What’s going on? The NPM registry runs a security audit on NPM packages. With the release of NPM v6, this command is run automatically when you execute an npm install on your project. You can manually run one of these audits by executing the command npm audit (ref: npm-audit docs ).
  • Published on

    Blog: Creating and Trusting Self-Signed Certs on MacOS and Chrome

    In this post, I’ll explain how to create a self-signed certificat configure Chrome on your macOS to trust it for local development.
  • Published on

    Blog: Better Node.js Install Management with Node Version Manager

    I am working on a series of posts that aren’t specific to the SharePoint Framework (SPFx) but are tangentially related to the development experience.
  • Published on

    Blog: FREE 10-day Email Course from Voitanos: Understanding the SharePoint Framework Development Toolchain

    Are you a traditional SharePoint developer used to working in Visual Studio on Windows building solutions or add-ins? On May 4th, 2016 at the Future of SharePoint event, Microsoft announced the new direction of SharePoint customizations: the SharePoint Framework. This development model not only favors the client-side approach to customizing & extending SharePoint, it’s the only approach that is supported. That’s a big change from the old ways that primarily favored the server side approach.
  • Published on

    Blog: gRPC and Protocol Buffers: an Alternative to REST APIs and JSON

    In this post, I want to show you another option that I’ve started using: gRPC with protocol buffers. I love the tight coupling, speed, client, & config.
  • Published on

    Blog: Where You can Find Me This Fall - Conferences & Sessions

    After a slower year than normal traveling & speaking at various conferences, I’m looking forward to this upcoming fall & some events I’ll be attending.
  • Published on

    Blog: Debugging Node.js projects with TypeScript & VS Code - Digging into Sourcemaps

    In this post I’ll explain how it works, the guts of JavaScript sourcemaps & how to take control over them to get debugging to work in VSCode.
  • Published on

    Blog: Node.js, TypeScript & building to different folders

    In this post, I explain how I setup my Node.js projects, written in TypeScript. I’ll share how I build to different folders.
  • Published on

    Blog: Dynamically Loading Gulp Tasks For Simplified Reuse and Maintenance

    When I first got into Node.js I quickly learned about Gulp . Gulp is a task runner that favors code over configuration. This differs from something like MSBuild that we use in the Microsoft world for Visual Studio that favors a configuration over code defining tasks using XML files. What is Gulp? In a nutshell it’s a task runner commonly used in a build system that where you use JavaScript to glue a myriad of plugins to create tasks, all written in JavaScript.
  • Published on

    Blog: Unification Complete - Node.js & io.js Are Together as Node.js v4.0.0 + Running Multiple Node or io.js Versions

    If you’ve payed any attention to Node.js world, you are likely aware of the whole Node.js & io.js fiasco where they forked & diverged & then agreed to come back together. I wrote a little about it back in May of this year: The Past, Present & Future of Node.js and io.js . Earlier this week they annoucned the reconcilation project is complete and they are together as Node.js v4.0.0 !
  • Published on

    Blog: Creating Office Add-ins with Yeoman - YO OFFICE!

    When buiding Office Add-ins developers are provided first-rate tooling with Visual Studio. Developers can easily create Office Add-ins for Outlook, Excel, Word and other Office applications by simply using the familiar File => New Project dialog and answer a few questions. After coding the add-in, pressing F5 deploys the add-in to the local Office client or web client based on the selection the developer made. But Visual Studio is only available to developers on Windows… so Office Add-in development was easy for just Windows & Visual Studio developers… until now!
  • Published on

    Blog: Running Mocha Tests with Visual Studio Code

    In my last post I showed how I setup Visual Studio Code to support debugging a Yeoman generator to easily stub out a Node.js web server locally that can serve HTTPS requests: generator-nodehttps . In this post I want to show how you can trigger all your unit tests to get run using a keyboard shortcut in Visual Studio Code as well. I’m implementing this by setting up a task using Gulp and then making VSCode aware of the task, but flagging that task as a test task.
  • Published on

    Blog: Debugging Yeoman Generators with Visual Studio Code

    Recently I was working on a Yeoman generator to easily stub out a Node.js web server locally that can serve HTTPS requests: generator-nodehttps . I built this using Visual Studio Code and wanted to set it up so I could easily debug the generator while I was building it, setting breakpoints and the like. Always nice to have breakpoints, watches, call stacks and the ability to step through your code when you hit F5, right?
  • Published on

    Blog: Node.js Development for .NET Developers: Developing & Debugging Workflow - with Visual Studio Code

    This post is part of a series of pieces on Node.js Development for .NET Developers. The other posts in this series can be found here: Node.js Development for .NET Developers In my previous post I talked about how you can debug Node.js applications regardless of the tool & platform you are using. These days I’m primarily using Visual Studio Code (aka VSCODE) as my primary editor of choice. VSCode has some additional capabilities that make debugging Node.
  • Published on

    Blog: Node.js Development for .NET Developers: Developing and Debugging Workflow

    This post is part of a series of pieces on Node.js Development for .NET Developers. The other posts in this series can be found here: Node.js Development for .NET Developers In my previous posts I mentioned the different tools you can use to code in Node.js. Microsoft stepped up to the plate and provided an add-on to Visual Studio for Node.js development . If you want to see the development and debugging story around that, I’d recommend checking out the official page for the tools, as well as their YouTube channel and a good post by John Papa: Get Up and Running with Node & Visual Studio .
  • Published on

    Blog: Introduction to Node.js for the SharePoint & Office 365 Developer

    Have you heard about this thing called Node.js. They actually got JavaScript to run on the server? Are you kidding me!? Nope… and there are some very good reasons why you should consider it for your next SharePoint or Office 365 app project. In this webinar, you will learn what Node.js is, how to create a simple site and walk away with some resources on where to go from there.
  • Published on

    Blog: I'll be presenting at SPTechCon Boston - August 24-27, 2015

    The SharePoint Technology Conference (aka: SPTechCon) is heading back to Boston this August! I love this show and they have a killer line up of speakers & sessions this year! This is not one to miss! And better yet, if you register with the promo code CONNELL you’ll get an additional $200 off a full conference pass! I’m doing a half-day workshop on Monday afternoon, August 24, on Build Secure Enterprise Angular Apps That Leverage Various Microsoft Tech.
  • Published on

    Blog: Node.js Development for .NET Developers: Tools

    This post is part of a series of pieces on Node.js Development for .NET Developers. The other posts in this series can be found here: Node.js Development for .NET Developers So you’re interested in kicking the tires with Node.js and you’re ready to start coding… what tool do you use? Thankfully you have a ton of options as there’s just so much support for this young platform (Node.js has only been around since 2009 or 2010).
  • Published on

    Blog: Node.js Development for .NET Developers: Overview

    This post is part of a series of pieces on Node.js Development for .NET Developers. The other posts in this series can be found here: Node.js Development for .NET Developers Over the last few months I’ve had the opportunity to present at a few conferences on the subject of Node.js . No surprise, most of the folks I get to talk to are .NET developers who are interested in learning what Node.
  • Published on

    Blog: I'm Presenting at Unity Connect Online - June 9-11, 2015

    Next week The folks at ITUnity are holding a free webinar with presentations from some top notch folks. I’m presenting a session on Thursday, June 11. **Building Apps for Office & Office 365 Using Node.js **Are you an Office, Office 365 or even a SharePoint developer and interested in this thing called Node.js? This session will walk you through the steps to get started with Node.js and the plumbing needed for Add-ins for Office.
  • Published on

    Blog: The Past, Present & Future of Node.js and io.js

    In the last few weeks I’ve spoken at a few conferences about using Node.js to build Office Addins, SharePoint Addins & web applications that talk to Office 365 APIs. There’s one part in my presentation where I’ve talked a bit about the status of io.js and Node.js and the future going forward. The skinny is that io.js forked Node.js back in late 2014, they continued down their own paths, but recently they have agreed to merge themselves into a new Node.
  • Published on

    Blog: What to do with your new Raspberry Pi 2 B

    Are you one of the lucky people who grabbed one of the Raspberry Pi 2’s from the Office 365 Developer team at the Ignite conference? You might be wondering “this is cool, but what do I do with it?” There are a ton of resources and if you are first getting started they might not be so obvious to you. Learning The Basics When I first started playing around with DIY hardware I realized real quick I didn’t have an EE (electronic engineering) degree… I hadn’t played much with electronics… well ever.
  • Published on

    Blog: Join me at AngleBrackets, SP Saturday Atlanta, AngularU and/or SPTechCon DevDays!

    After the last few weeks of three straight conferences, I’m not exactly thrilled to look forward to the next set of commitments I have, but here they are anyway. If you missed my talks at Build or Ignite, I’m presenting some of the same ones in just a few weeks as well as some that are closely related… AngleBrackets (Scottsdale, AZ) - May 18-21, 2015 I’ll be at the conference the week of May 18-21 in Scottsdale, Arizona presenting two fun sessions:
  • Published on

    Blog: The Future of JavaScript is (almost) Now

    Over the last three weeks I’ve had the opportunity to speak at there absolutely fantastic conferences: SharePoint Evolutions in London , Microsoft’s Build in San Francisco & Microsoft’s Ignite in Chicago . At each of these conferences, virtually all of my sessions were along the lines of one of two themes: JavaScript & related technologies (like Angular or TypeScript) or Office 365. One thing I said a few times over the last few weeks in these sessions was how I’ve almost entirely switched sides to doing virtually everything with JavaScript.
  • Published on

    Blog: Wrap-up of my Presentations at the Microsoft Ignite Conference May 2015

    This week I presented at Microsoft’s first Ignite Conference in Chicago, IL . This was by far the biggest conference I’ve attended or been a part of coming in at around 22,000 people. The first day when I walked into the expo and saw the sea of people, I immediately thought “oh man, this isn’t my cup of tea.” It will be interesting to see how people react and what the feedback is to an event that was this big.
  • Published on

    Blog: Wrap-up of my Presentations at the Microsoft Build Conference April 2015

    Last week I presented at the Microsoft Build conference which was a special treat as it was the first Build conference I’ve attended. I presented two breakout sessions… the slides and video are now online for you to watch 699 - Building Office Add-ins using Node.js Session 699 video & slides on Channel 9 In this session I showed how you can use Node.js to build websites that deliver Office Add-ins.
  • Published on

    Blog: Get Node.js Apps Running on a Raspberry Pi 2 that Use AzureAD, ADAL, TypeScript & Office 365 APIs

    Last week at the Microsoft Build conference & this week at Microsoft’s Ignite conference, I presented short express talks / theater sessions on using Node.js to run a web application that integrates TypeScript, AzureAD, ADAL & Office 365 APIs in a neat little demo. If you missed it, you can grab the code from this project in github as well as watch this video of the running demo . What I find so cool about this approach to building web application is that they can run on any platform with no code changes.
  • Published on

    Blog: I'm Presenting At Microsoft's Ignite Conference

    On the heels of Build, I’m heading straight to Chicago for microsoft’s Ignite conference. This is the third conference Ina row after SharePoint Evolutions in London, then Build in San Francisco so you’ll have to understand why I’m only sticking around until Tuesday afternoon. To kick it off, I’m co-hosting a full day workshop with my good friend Scot Hillier on Sunday: **Office 365 Developer On-Ramp **Are you an Office & SharePoint developer looking to come up to speed on Office 365 development with modern web technologies?
  • Published on

    Blog: I'm Presenting At Microsoft's Build Conference

    … and if you told me a year ago what my sessions were on, I’d tell you that you were freaking bat ** crazy. This is my first Build conference, and I’m honored to be presenting a few sessions on some edge technologies on behalf of the Office group. What tech? This week I will be talking about TypeScript, Node.js, AzureAD and Office 365 APIs to implement stand alone websites as well as Office Add Ins.
  • Published on

    Blog: Setup Self-Signed Certificates & Trusting them on OS X

    The way Chrome handles certs recently changed and this process doesn’t work as well as it used to. See this post for an updated process: Updated: Creating and Trusting Self-Signed Certs on MacOS and Chrome . Last week I put together two sample Apps for Office for use at the hackathon at ng-conf . Two two apps, one for Excel & one for Outlook, were a bit different from your typical App for Office because of a few things:
  • Published on

    Blog: Setup Node.js on Raspberry Pi 2 B

    Recently I picked up one of new Raspberry Pi 2 Model B microcontrollers. Most people who play with these seem to use Python or Java for coding… but me, I’d much rather use JavaScript. For that, the solution is to run Node.js on the Pi. These are the steps I used ot get it working. These were based & inspired from this article series on AdaFruit : Why Node.js .