.NET Aspire and Functions image gallery sample

Screenshot of the web frontend the .NET Aspire with Azure Functions sample

The app consists of two services:

  • ImageGallery.Frontend: This is a Blazor app that displays a for uploading of images, showing thumbnails of images in a grid.
  • ImageGallery.Functions: This is an Azure Function triggered by the arrival of a new blob using a Functions Blob Trigger.

The app also includes a class library project, ImageGallery.ServiceDefaults, that contains the service defaults used by the service projects, and the ImageGallery.AppHost Aspire App Host project.

Pre-requisites

Running the app

If using Visual Studio, open the solution file ImageGallery.sln and launch/debug the ImageGallery.AppHost project.

If using the .NET CLI, run dotnet run from the ImageGallery.AppHost directory.