10-Day .Net Aspire Challenge: Day 2— Add MSSQL Component

Sukhpinder Singh | C# .Net
.Net Programming
Published in
3 min readAug 29, 2024

--

Step-by-step guide on how to use the .Net Aspire MSSQL component in Visual Studio.

Introduction

.Net Aspire framework is used to develop cloud and production-ready distributed applications. It consists of components to handle cloud-native concerns such as Redis, Postgres etc.

Prerequisites

10 stories

Objectives

Learn how to create a starter project using .Net Aspire with MSSQL EF Core component.

Github Sample: The solution structure is divided into the following projects

  • DotnetAspireChallenge.ApiService
  • DotnetAspireChallenge.AppHost
  • DotnetAspireChallenge.ServiceDefaults
  • DotnetAspireChallenge.Web

--

--