R.Forge
0.1.0-preview.0.18
dotnet tool install --global R.Forge --version 0.1.0-preview.0.18
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local R.Forge --version 0.1.0-preview.0.18
#tool dotnet:?package=R.Forge&version=0.1.0-preview.0.18&prerelease
nuke :add-package R.Forge --version 0.1.0-preview.0.18
forge
Forge is an alternative deployment tool for .NET Aspire.
It also fixes dotnet watch
on Aspire 9 projects until the a newer .NET SDK is out.
Getting Started
Install the tool.
dotnet tool install --global R.Forge --prerelease
Watch your AppHost project. Note that --no-hot-reload
is recommended for your projects so that new files
are generally picked up better, also .NET 9's dotnet watch is pretty broken.
forge fire --no-hot-reload
Reasons
azd is great but contains a lot of non-customisable magic, such as creating its own Container Registry and magical environments that aren't controllable in any way. It also only supports ACA as a deployment target.
There's also no option for creating different environments (dev/test) and having different configurations for each.
This tool will create all of the Bicep necessary for creating the entire environment as well as mimicking the azd up|deploy|provision
commands in something that's repeatable without magic, after reading the manifest.
Proposed usage
forge fire|watch [--no-hot-reload] [--apphost-build-output]
- Fires up the app for local developmentforge temper|prepare [-env {dev}]
- Generate the relevant configuration filesforge forge|deploy [-env {dev}]
- Meta af. Deploy to the cloud!Goals
Create reusable Bicep files
Support multiple environments for deployment that can be committed to CI
Support ACA deployment target
Support AppService deployment target
Add dotnet watch support back to individual projects
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.1.0-preview.0.18 | 48 | 11/28/2024 |