How to Resize Images Uploaded to Blob Storage with Azure Functions

Here’s the scenario: you have some block of processing that needs to be executed everytime a file is pushed up into your blob storage account. The solution: use Azure Functions and the integration module for blob-triggers so that you don’t have to do any of the heavy lifting.

In this post we’ll look at using a storage account trigger to automatically have an image processed as part of an Azure Function App. Not just to be used for image processing, any type of object can trigger a block of work and it will follow these same mechanics.

Read More

How to organize types in your Azure Function scripts

Even when you’re dealing with Function Apps that have limited scope it’s a good idea to break your scripts up into manageable, possibly reusable chunks. This is especially true if you want to work with the same data in several Functions in your app.

Keep your functions type-free

This is one way you can organize your scripts, types and objects in Azure Function Apps, and we’ll have a deeper look at another approach later in this series.

Read More

Bending ASP.NET Core MVC To Your Will

The default conventions of ASP.NET Core MVC allow us to easily construct applications without having to worry about the minutiae of wiring up the “how-to” parts that are required in nearly every application that will be built. There are times when these conventions do not meet your application needs, but you can instruct the framework to work the way you need it to by building your own.

Bring Your Own Conventions

Read More

GitHub Authentication with ASP.NET Core

Authentication has changed over the years, and my take on it has surely shifted. No longer is it the scary, intimidating beastie that must be overcome on our projects. Today, we can let external providers provide the authentication mechanisms, giving the user with a streamlined experience that can give them access to our application with previuosly defined credentials.

GitHub Authentication in ASP.NET Core

Let’s have a look at what it takes to allow users to authenticate in our application using GitHub as the login source, and you can check out the Monsters video take of this on Channel 9.

Read More