MVC Template

Setup

  • Open a terminal where the new project should be set up.

  • Execute the commands below:

# Generate the project
dotnet new uc-mvc --name "<ProjectName>"

# Step into the new project folder
cd "ProjectName"

# Up the docker instances for SQL and Elasticsearch
docker compose -f docker/docker-compose.yml up -d

# Run the project
dotnet watch run --project "<ProjectName>"

Once your application runs, you can access the administration interface by requesting /ucommerce.

Template options

For a full list, you can execute:

dotnet new uc-mvc -h

Last updated