Recently, in a project, we had to extract the values from a large collection of objects and, while the easiest way to do so was to use the native Object.values()method, which returns an array of a given object’s own enumerable property values, we noticed some performance issues. So, we started measuring the performance of this method compared to some other…
In this post we will talk about all the necessary steps to build and deploy an Angular web application to a static website hosting container in Azure Storage using Azure DevOps. Step 1. Setup a GitHub Repository & commit a sample Angular App To start with, you need to create a new repository in GitHub and push an Angular application…
JavaScript, and the tools around it, have advanced a lot during the last couple of years. So, below you will see few tips and tricks that I find useful in my day-to-day development workflow, in regards to console logging. 01. Custom Css Styling in your console log statements You can add custom styling to your log statements using the %c attribute….
Azure Storage is a cloud storage solution for data storage scenarios and one key service, among others, is Azure Blobs, a scalable object store for text and binary data. A main use is to upload files to it, either as a long term backup solution, or as a way to serve documents, images and videos directly to a browser. To do so, you…
The information you send on the Internet is passed from computer to computer to get to the destination server. The least you can do to provide privacy, critical security and data integrity for both your websites and your users’ personal information is to have your application secured under an SSL certificate. SSL providers need to set up a trusted infrastructure…
One new feature recently announced, and currently in public preview, is the ability to host your own static website on Azure Storage, a solution which is more cost-effective than the traditional Azure App Service. In this post we will see the necessary steps to follow in order to enable web site hosting functionality on Azure Storage and, as a proof…
In this post, we will showcase the necessary steps to follow in order to de-associate your azure account from any subscription you have joined in the past and you no longer use. Till recently, in order to do so, you had to ask the admin of the subscription to perform this task, however, now, you can do it all by…
HTTP/2 is a major revision of the HTTP network protocol used by the World Wide Web and comes with a promise to make our applications faster, simpler, and more robust by allowing us to undo many of the HTTP/1.1 workarounds previously done within our applications and address these concerns within the transport layer itself. In this post, we will showcase how simple it is to…
In this tutorial we will use Computer Vision service to analyze an image and determine the accent and dominant color and whether the image is black & white or colored. Step 1. Create Computer Vision Service Let’s start by creating the Computer Vision API service. To do so, head over to Azure portal, click on Create Resource link, select AI + Machine…
If you have an ASP.NET Core web application that already has JWT authorization, this guide will help you add JWT (JSON Web Token) support to the Swagger UI. What is Swagger UI? Swagger UI is a collection of HTML, Javascript and CSS assets that dynamically generates beautiful documentation from a Swagger-compliant API. You can learn more in https://swagger.io/ and in the project’s…