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…

Using AWS Cognito as an Identity Provider

by 

|

|  

in

AWS Cognito is an identity provider we can use to manage users in our systems. Cognito supports a simple oauth2 sign-in flow. Following this flow makes it pretty straightforward for users to sign in or sign up. Before doing anything else, you must create an AWS Cognito user pool in the AWS Console. For this…

Read more…

Using AWS Elemental MediaConvert

by 

|

|  

in

Before hosting a video, you usually need to encode it into bitrates that perform well for various situations. AWS has Elemental MediaConvert, a service that generates videos for online distribution. When you first get started, a wall of options emerges. But when you walk through the wall, it isn’t that bad. First, we have to…

Read more…

Video Playback with Azure Media Player

by 

|

|  

in

In my earlier blog post about Azure Media Services, we transcoded our video for better hosting on the web. In this blog post, we will host the video for playback. This starts with creating a streaming locator, which will handle the requests from our video player. One thing about streaming locators is that they can…

Read more…

Quick Look – Postman Newman

by 

|

|  

in

Building software often requires running many experiments. Some of these experiments can involve making HTTP requests to a backend. When developing a new API, I usually end up with a pretty comprehensive collection inside Postman, the tool I use to test APIs. If you’re like me, your Postman collection can be something you forget about…

Read more…

Getting Started with Azure Media Services

by 

|

|  

in

Azure Media Services is a solid group of technologies you can use to host video as part of your web application. There are a lot of other solutions out there that provide similar services, but Azure’s solution may, in many cases, be a cheaper hosting option. For example, hosting 1000 videos on Vimeo will require…

Read more…