This repository contains a collection of .NET Template Packages,
which can be used from IDEs such as Visual Studio and from the .NET CLI using dotnet new. They are also used by Initializr.
Project templates:
steeltoe-webapi: Add Steeltoe components to the defaultwebapiC# template.
This document describes template installation and template general usage help. For learning how to develop additional options for the templates, see DEVELOPER.md.
$ dotnet new install Steeltoe.NetCoreTool.Templates
$ dotnet nuget add source https://pkgs.dev.azure.com/dotnet/Steeltoe/_packaging/ci/nuget/v3/index.json -n Steeltoe-ci
$ dotnet new install Steeltoe.NetCoreTool.Templates
$ dotnet new install src/Content
- When searching for occurrences of options, Visual Studio doesn't show everything by default. Change the File types from
!*\bin\*;!*\obj\*;!*\.*\*to!*\bin\*;!*\obj\*to fix this. - If you've added a new option to
template.json,dotnetcli.host.jsonandide.host.json, but it doesn't appear, make sure it is listed in one of theHasAny*computed options intemplate.json. - To observe changes in Visual Studio's File > New > Project dialog, close all instances and run
devenv.exe /updateconfiguration. - Unit tests are available for all options (CLI only), be sure to update them.
- To verify all relevant options are exposed, temporarily add
"defaultSymbolVisibility": truetoide.host.json. - Documentation links