Generating Pre-signed URIs with Azure Blob Storage

by 

|

|  

in

It is common to have files stored in Azure Blob storage, but we occasionally need to allow others to access those files. Sometimes we need to allow someone to upload a file; other times, we need to allow someone to download a file. Either way, we usually only want to allow partial control of the…

Read more…

Quick Look – Html Agility Pack

Quick Look – Html Agility Pack

by 

|

|  

in ,

Software projects often come down to transforming data from one format to another. A common situation involves extracting some data from HTML. This can occur when transferring data from a legacy system, and the best way to do it is screen scraping. There are a variety of options available when screen scraping, but a really…

Read more…

Multiple Azure Functions in the Same File

Multiple Azure Functions in the Same File

by 

|

|  

in

Azure Functions are very useful for hosting APIs in the cloud or for responding to asynchronous events in our cloud systems. Azure Functions also have a nice pricing model for startups; they can be priced on a per-consumption basis which can reduce monthly costs until you start to get real usage, which often takes longer…

Read more…

Uploading a Video from Angular to Amazon S3

by 

|

|  

in

The ability to upload files from HTML applications has existed for a long time. But in many modern scenarios, we are uploading very large files such as videos, and they are potentially uploading to a cloud blob technology such as Amazon S3. In this blog post, we are going to upload a file to S3…

Read more…

Setting Up Injection Tokens with Dynamic Values

by 

|

|  

in

Injection tokens are a popular way of providing dependencies in Angular. They are used to provide a value, such as a service instance or a configuration setting, to a component or other part of the application. Below is a simple example of setting up an injection token and using it. Suppose you have a constant…

Read more…

Sending Messages to Azure Service Bus Queue Using Node.js

by 

|

|  

in ,

Azure Service Bus is an excellent glue technology that we can use to handle the communication between our subsystems. We often use Azure Service Bus as the “queue” between our subsystems, which works great. We usually build our backend systems using C#/.NET, but what if we need to send a message using Node.js? Node.js is…

Read more…

How to Set Up User Secrets for .NET Core Projects in Visual Studio

by 

|

|  

in

What are secrets, and why would you want to use them? Secrets are hidden configuration values that are not checked into source control or deployed. These commonly include values such as passwords, API keys, and certificates. In .NET Core, Microsoft provides a package to set up secrets on the level of individual projects. These secrets…

Read more…

Giving Someone Access to Your AWS Account

by 

|

|  

in

Sometimes you need to let someone else configure your AWS account for you. There are two options. One option is to create an IAM user with AdministratorAccess, and the second would be to use AWS IAM Identity Center. In this blog post, we will cover using the IAM user option. Visit https://console.aws.amazon.com to access your…

Read more…

Quick Look – Luxon

by 

|

|  

in ,

In JavaScript projects, we have been using MomentJS for a lot of the date math that happens in much of the business software we write. The MomentJS team is pushing for Luxon as the replacement. To get started with Luxon, you need to install it with npm. npm install luxon Luxon works a lot like…

Read more…

Working with Styra on Windows

by 

|

|  

in

I was working on a research project that involved evaluating Styra, but it took me a couple of days before I was able to write my first policy. Styra provides authorization policy management for native cloud apps. It is built on top of the open-source Open Policy Agent. What bothered me was that the numerous…

Read more…