/MASA.Template

Primary LanguageHTMLApache License 2.0Apache-2.0

MASA.Template

For information on how to use dotnet new CLI, visit the official documentation.

After installing the template, you can quickly create the following items:

  • masablazor: MASA Blazor Web App Template
  • masablazor-server: MASA Blazor Server Template
  • masablazor-wasm: MASA Blazor WebAssembly Template
  • masablazor-empty-server: MASA Blazor Server Empty Template
  • masablazor-empty-wasm: MASA Blazor WebAssembly Empty Template
  • masablazor-pro-server: MASA Blazor Pro Server Template
  • masablazor-pro-wasm: MASA Blazor Pro WebAssembly Template
  • masablazor-maui: MASA Blazor MAUI Template
  • masablazor-wpf: MASA Blazor WPF Template
  • masablazor-photino: MASA Blazor Photino Template
  • masablazor-winform: MASA Blazor Winform Template
  • masafx: MASA Framework Full Template(Cqrs、Ddd、Repository、Dapr、Auth、Minimal Api)
  • masafx-service: MASA Framework Pure Template (Minimal Api)
  • masafx-service-cqrs: MASA Framework CQRS Template(Minimal Api、CQRS)

Install template

dotnet new install Masa.Template

Install specific version or prerelease version

dotnet new install Masa.Template::1.0.4

Uninstall template

dotnet new uninstall Masa.Template

How to use

Take the masa framework template(masafx) as an example, run commands:

Get help

dotnet new masafx -h

Create project

dotnet new masafx -n Masa.EShop

Develop or install locally

  1. Clone the repository

    git clone https://github.com/masastack/MASA.Template.git
  2. Install Template

    cd MASA.Template
    dotnet new install .\src\ --force
  3. Uninstall Template

    dotnet new uninstall  .\src\