I haven’t touch Node.js much lately, however, back while I have been working with it, I was always curious, how to leverage both Passport.js with Azure AD and using ADAL for Node.js together in order to have ADAL handle the tokens, refreshes, cache etc. In the end, I have come up with a solution which I am going to share below.Continue reading “Using ADAL for Node.js with Passport.js”
There are many different articles on the internet about how to make an application faster when hosting it on Azure. This has been a real pain point with big PHP applications or applications which involve a lot if IO operations – like loading modules with Node.js. Recently, I was working with one startup and they approached me with a very interesting issue: Their Node.js application was running about 35x faster on Heroku than on Azure App Service and that is what actually made me to write this article.
When speaking of modern development nowadays, we can hear words like DevOps and as part of that, Continuous Integration (if you never heard about it, you can read more about it here). Anyways, today I am going to show you how to set up a build definition for a PHP project stored in Visual Studio Team Services and then the publication to an Azure Web App or a physical server.Continue reading “Creating a build agent and definition for PHP in VSTS”
Recently, I discovered a series of 7 episodes about getting started with Node.js on Microsoft Virtual Academy! It goes through the basics and moves you deeper into the specific topic. I especially like the fact, that they also focus on building applications with Electron shell which has been getting more popular over the past year or so. Another great thing is that all of the examples are leveraging ES2015 enhancements and features.
- Part 1: Introduction to Node.js
- Part 2: Node.js Modules
- Part 3: Node.js Files, Streams, and Buffers
- Part 4: Node.js Packages
- Part 5: Node.js Express REST Services
- Part 6: Node.js Express Web Applications
- Part 7: Building Desktop Apps with Node.js and Electron
Additionally, I also found a course named Game-Changing Features in ES2015 which introduces all the awesomeness coming with ES2015.