Skip to content

softawaregmbh/scalection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scalection

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.

Running the sample

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.

Migrations

EF Migrations can be executed via the Migration Service's endpoints.

Cosmos DB

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.

Endpoints

The API Service contains an .http file that shows how to use the various endpoints.