OnionArch.Mvc
0.0.4
dotnet add package OnionArch.Mvc --version 0.0.4
NuGet\Install-Package OnionArch.Mvc -Version 0.0.4
<PackageReference Include="OnionArch.Mvc" Version="0.0.4" />
paket add OnionArch.Mvc --version 0.0.4
#r "nuget: OnionArch.Mvc, 0.0.4"
// Install OnionArch.Mvc as a Cake Addin #addin nuget:?package=OnionArch.Mvc&version=0.0.4 // Install OnionArch.Mvc as a Cake Tool #tool nuget:?package=OnionArch.Mvc&version=0.0.4
OnionArch.Mvc is an ASP.NET Core project template which uses the onion architecture and domain driven design to scaffold an ASP.NET Core MVC application using feature folders.
Installation
To install this project template, use the following command:
dotnet new --install OnionArch.Mvc
Usage
Issuing the following command will create a new project with the name testProject
:
dotnet new onionArch --name testProject
OnionArch.Mvc also has a number of parameterised command line switches, details on these can be displayed by running the following command:
dotnet new onionArch --help
The output of which should look similar to the following:
Onion Architecture MVC (C#)
Author: Jamie Taylor
Options:
-egp|--enable-gnu-pratchett Whether to include and activate middleware which will include the X-GNU-Pratchett header in all requests
bool - Optional
Default: false / (*) true
-esh|--enable-secure-headers Whether to include and activate middleware which will include a range of OWASP suggested security headers
bool - Optional
Default: false / (*) true
Learn more about Target Frameworks and .NET Standard.
This package has 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.