Skip to content

Getting Started

Prerequisites

  • .NET SDK 10 (template targets net10.0 onlynet8/net9 are excluded)
  • Optional: Visual Studio or Rider with ASP.NET workload
  • For E2E tests: Playwright browsers (pwsh bin/Debug/net10.0/playwright.ps1 install after first build)

Install the template

From a clone of the repository:

cd ConnectSoft.MarketingSiteTemplate
dotnet new install .

Verify:

dotnet new list connectsoft-marketing-site

Generate a solution

dotnet new connectsoft-marketing-site -n MySite \
  --ProjectName MySite \
  --CompanyName MyCompany

The template runs dotnet restore by default unless you pass --skip-restore.

Page pack presets

--PagePack Includes
minimal Core only
standard Core + Trust
growth Core + Product + Trust
full Core + Product + Content + Trust + Auth (default)

Build and test

cd MySite
dotnet restore
dotnet build
dotnet test

Run the site locally:

dotnet run --project src/MySite

Default URLs: https://localhost:5000 and http://localhost:5001 (see Properties/launchSettings.json).

Next steps