This repository contains the source code for the blog series
It contains a sample implementation of an electronic voting system as a showcase for how we can build scalable web applications using .NET and Azure.
Please refer to the blog posts for a detailed description of the project.
The sample uses .NET Aspire for simplified local development.
See the docs for prerequesites or additional information on how to run it locally or deploy to Azure.
EF Migrations can be executed via the Migration Service's endpoints.
While it is possible to use the Cosmos DB Emulator for local development, it caused some issues for us, so we decided to use a real instance for local development as well. In order to run the ApiService.Cosmos
project, you need to provision a database first using azd provision
.
The API Service contains an .http file that shows how to use the various endpoints.