Please note that this repository is currently archived, and is no longer being maintained.
The contents might still serve as a source of inspiration, but please review any contents before reusing elsewhere.
This repository contains the complete source code for the ResourceProvisioning MVP and serves as a starting point for .NET Core developers looking to onboard the resource provisioning bandwagon. While the sample code is provided "AS-IS" it is possible to reach out to DevEx with any questions/comments or create an issue on GitHub.
The project is split up in quite a few sub-projects that can be found in the "src" directory.
Of those the following are applications that can be built to an executable:
If you want to release(Optional)
Dotnet EF CLI - dotnet tool install --global dotnet-ef
ResourceProvisioning.Broker.Host.Api
From the root of the source repo run the following docker commands:
docker build -t local-development -f ./src/ResourceProvisioning.Broker.Host.Api/Dockerfile .
docker run -it -p 50900:50900 local-development
ResourceProvisioning.Cli.Application
Within the following path "pipeline/ssucli", run the following Powershell script like so:
pwsh build.ps1 OS_TARGET APP_VERSION
Replace OS_TARGET with a value supported by the .NET Core SDK runtime targets. See here for more information on runtime targets.
Replace APP_VERSION with a value that follow semver, e.g. 0.1.0
.
Thus if you were to build this for a Windows platform that runs 64-Bit, with the version 0.1.0, it would look like this:
pwsh build.ps1 win10-x64 0.1.0
The following is non-exhustive list of the various third-party dependencies that is utilized in the repository:
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.