CDCavell.NetCoreApplicationTemplate 1.0.1

dotnet new install CDCavell.NetCoreApplicationTemplate::1.0.1
                    
This package contains a .NET Template Package you can call from the shell/command line.

.NET Core Application Template

A reusable dotnet new template for creating a production-oriented ASP.NET Core application baseline with structured logging, security headers, forwarded headers, rate limiting, centralized error handling, authentication-ready architecture, and EF Core-ready structure.

This README is intended for NuGet package consumers. The full repository README and documentation site provide deeper implementation and maintainer guidance.

Template identity

Item Value
Package ID CDCavell.NetCoreApplicationTemplate
Template short name netcoreapp-template
Default authentication provider cookie
Default data provider sqlite

Install

Install the template package from NuGet:

dotnet new install CDCavell.NetCoreApplicationTemplate

For local package validation, install a packed package directly:

dotnet new install ./artifacts/template-package/CDCavell.NetCoreApplicationTemplate.1.0.1.nupkg

Generate a project

Create a default scaffold:

dotnet new netcoreapp-template -n ContosoSecurityPortal

The default scaffold uses the cookie-authentication-ready baseline and SQLite development configuration.

Generate with authentication disabled

dotnet new netcoreapp-template `
  --name ContosoNoAuth `
  --authProvider none

Use this option when the generated application should start with application authentication disabled by default.

Generate with SQL Server selected

dotnet new netcoreapp-template `
  --name ContosoSqlServer `
  --dbProvider sqlserver

Use this option when the generated application should use the SQL Server provider configuration instead of the default SQLite development configuration.

Generate with authentication disabled and SQL Server selected

dotnet new netcoreapp-template `
  --name ContosoNoAuthSqlServer `
  --authProvider none `
  --dbProvider sqlserver

Template options

Option Default Supported values Description
--authProvider cookie cookie, none Selects the generated authentication baseline.
--dbProvider sqlite sqlite, sqlserver, none Selects the generated EF Core provider configuration.
--skipRestore false true, false Skips the post-create NuGet restore action when set to true.

Build and test generated output

cd ContosoSecurityPortal
dotnet restore
dotnet build --configuration Release
dotnet test --configuration Release

Update

Install the newer package version with the same package identity:

dotnet new install CDCavell.NetCoreApplicationTemplate

Uninstall

dotnet new uninstall CDCavell.NetCoreApplicationTemplate

Additional resources

Generated projects receive their own consumer-oriented README from the scaffold. This package README is intentionally limited to NuGet installation, scaffold options, validation commands, and consumer-facing reference links.

  • net10.0

    • 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.

Version Downloads Last Updated
1.0.1 95 6/1/2026
1.0.0 96 6/1/2026
0.5.9 93 5/31/2026
0.5.8 92 5/30/2026
0.5.7 84 5/29/2026
0.5.6 115 5/28/2026
0.5.5 172 5/27/2026
0.5.4 104 5/25/2026
0.5.2 107 5/25/2026
0.5.1 96 5/25/2026

Stable 1.0.1 release of the NetCoreApplicationTemplate dotnet new template, including the production-oriented ASP.NET Core baseline, template package validation, consumer scaffold support, documentation, coverage gates, and release-readiness hardening.