Vertical.Slice.Template
1.3.5
dotnet new install Vertical.Slice.Template::1.3.5
This package contains a .NET Template Package you can call from the shell/command line.
Vertical Slice API Template
This is a An
asp.net core template
based onVertical Slice Architecture
, CQRS, Minimal APIs, API Versioning and Swagger. Create a new project based on this template by clicking the above Use this template button or by installing and running the associated NuGet package (see Getting Started for full details).
Getting Started & Prerequisites
- This application uses
Https
for hosting apis, to setup a valid certificate on your machine, you can create a Self-Signed Certificate, see more about enforce certificate here. - Install git - https://git-scm.com/downloads.
- Install .NET Core 7.0 - https://dotnet.microsoft.com/download/dotnet/7.0.
- Install Visual Studio, Rider or VSCode.
- Run
dotnet new install Vertical.Slice.Template
to install the project templates. - Now with running
dotnet new --list
, we should seeVertical.Slice.Template
in the template list. - Create a folder for your solution and cd into it (the template will use it as project name)
- Run
dotnet new vsa
for short name ordotnet new Vertical.Slice.Template -n <YourProjectName>
to create a new project template. - Open <YourProjectName>.sln solution, make sure that's compiling.
- Navigate to
src/App/<YourProjectName>.Api
and rundotnet run
to launch the back end (ASP.NET Core Web API) - Open web browser https://localhost:5158/swagger Swagger UI
For install package locally you can use this command in the root of your cloned responsitory:
dotnet new install .
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.3.5 | 131 | 9/26/2024 |
1.3.4 | 104 | 9/24/2024 |
1.3.3 | 201 | 8/22/2024 |
1.3.2 | 115 | 8/22/2024 |
1.3.2-preview.1 | 76 | 8/22/2024 |
1.2.1-gfae4bb3887 | 99 | 8/22/2024 |
1.0.8 | 755 | 9/5/2023 |
1.0.7 | 215 | 5/27/2023 |
1.0.6 | 170 | 5/4/2023 |
1.0.5 | 148 | 5/3/2023 |
1.0.4 | 202 | 4/14/2023 |
1.0.3 | 170 | 4/12/2023 |
1.0.2 | 162 | 4/12/2023 |
1.0.1 | 204 | 4/9/2023 |
1.0.0 | 180 | 4/9/2023 |