https://github.com/nikiforovall/cap-aspire
Aspire + DotNetCore.CAP+ .NET9 + AzureServiceBus + Postgres + Bicep + azd
https://github.com/nikiforovall/cap-aspire
Last synced: 22 days ago
JSON representation
Aspire + DotNetCore.CAP+ .NET9 + AzureServiceBus + Postgres + Bicep + azd
- Host: GitHub
- URL: https://github.com/nikiforovall/cap-aspire
- Owner: NikiforovAll
- Created: 2024-03-27T10:18:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-30T10:54:31.000Z (about 1 year ago)
- Last Synced: 2025-02-12T12:17:34.584Z (2 months ago)
- Language: Bicep
- Homepage: https://nikiforovall.github.io/dotnet/aspnetcore/aspire/2024/03/30/aspire-cap.html
- Size: 1.92 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DotNetCore.CAP + Aspire [](https://github.com/NikiforovAll/cap-aspire/actions/workflows/dotnet.yml)
See the blog post:
Technologies:
* DotNetCore.CAP
* Aspire
* .NET9
* Azure Service Bus
* Azure SQL
* Bicep
* azdGet your application up on Azure using [Azure Developer CLI](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/overview) (azd). Add your application code, write Infrastructure as Code assets in [Bicep](https://aka.ms/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](https://containers.dev) 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](https://aka.ms/codespaces).
## Getting Started
```bash
azd env new cap-dev
azd provision
``````bash
dotnet user-secrets --project ./src/CapExample.AppHost/ set ConnectionStrings:serviceBus ""
dotnet user-secrets --project ./src/CapExample.AppHost/ set ConnectionStrings:sqldb ""
``````bash
dotnet watch --project ./src/CapExample.AppHost
``````htpp
GET http://localhost:5288/send
```