Skip to content

cortside/cortside.templates

Repository files navigation

cortside.templates

dotnet new --install cortside.templates

C:\Work\temp [nonprod] [master ≡ +10 ~0 -0 !]> dotnet new --install cortside.templates
The following template packages will be installed:
   cortside.templates

Success: Cortside.Templates::1.0.56 installed the following templates:
Template Name                       Short Name                 Language  Tags
----------------------------------  -------------------------  --------  -------------------------------------------
ASP.NET Core Template               cortside-api               [C#]      ASP.NET Core/Core/MVC/Template/Web/Cortside
ASP.NET Core Template deploy        cortside-api-deploy        [C#]      ASP.NET Core/Core/MVC/Template/Web/Cortside
ASP.NET Core Template editorconfig  cortside-api-editorconfig  [C#]      ASP.NET Core/Core/MVC/Template/Web/Cortside
ASP.NET Core Template Powershell    cortside-api-powershell    [C#]      ASP.NET Core/Core/MVC/Template/Web/Cortside
ASP.NET Core Template resource      cortside-api-resource      [C#]      ASP.NET Core/Core/MVC/Template/Web/Cortside
ASP.NET Core Web Template           cortside-web               angular   ASP.NET Core/Core/MVC/Template/Web/Cortside

api templates

Create new api project (created in new Company.Product directory):

dotnet new cortside-api --name Company.Product --company Company --product Product

Update .editorconfig in already created api project:

(from root of repo)
dotnet new cortside-api-editorconfig --force --output ./ --name Acme.ShoppingCart --company Acme --product ShoppingCart

Update powershell scripts in already created api project:

(from root of repo)
dotnet new cortside-api-powershell --force --output ./ --name Acme.ShoppingCart --company Acme --product ShoppingCart

Create new api resource with empty classes for all service tiers:

(from root of repo)
dotnet new cortside-api-resource --name Company.Product --company Company --product Product --resource Blog
C:\Work\temp\foo [nonprod] [master ≡ +10 ~0 -0 !]> dotnet new cortside-api --name Company.Product --company Company --product Product
The template "ASP.NET Core Template" was created successfully.

The api template will be create a new directory using the --name value for Company.Product.

FYI: you can add --force to force overwriting existing files

web templates

Create new web project (created in new Company.Product directory):

dotnet new cortside-web --name Company.Product --company Company --product Product

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •