Skip to content

NikiforovAll/cap-aspire

Repository files navigation

DotNetCore.CAP + Aspire .NET

See the blog post: https://nikiforovall.github.io/dotnet/aspnetcore/aspire/2024/03/30/aspire-cap.html

Technologies:

  • DotNetCore.CAP
  • Aspire
  • .NET9
  • Azure Service Bus
  • Azure SQL
  • Bicep
  • azd

Get your application up on Azure using Azure Developer CLI (azd). Add your application code, write Infrastructure as Code assets in Bicep to get your application up and running quickly.

The following assets have been provided:

  • Infrastructure-as-code (IaC) Bicep files under the infra folder that demonstrate how to provision resources and setup resource tagging for azd.
  • A dev container configuration file under the .devcontainer directory that installs infrastructure tooling by default. This can be readily used to create cloud-hosted developer environments such as GitHub Codespaces.

resources

Getting Started

azd env new cap-dev
azd provision
dotnet user-secrets --project ./src/CapExample.AppHost/ set ConnectionStrings:serviceBus "<connectionString1>"
dotnet user-secrets --project ./src/CapExample.AppHost/ set ConnectionStrings:sqldb "<connectionString2>"
dotnet watch --project ./src/CapExample.AppHost
GET http://localhost:5288/send

About

Aspire + DotNetCore.CAP+ .NET9 + AzureServiceBus + Postgres + Bicep + azd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published