redb.Templates 4.0.1

Prefix Reserved
dotnet new install redb.Templates@4.0.1
                    
This package contains a .NET Template Package you can call from the shell/command line.

RedBase Project Templates

Create a new RedBase application in seconds:

dotnet new install redb.Templates
dotnet new redb -n MyApp
cd MyApp
dotnet run

The default project runs as is: SQLite creates its database file next to the app, and Pro is on. Pro is free of charge for the whole 4.x line, no license key required.

Parameters

Parameter Values Default Description
--db sqlite, postgres, mssql sqlite Database provider
--pro true, false true Pro packages: compiled LINQ, change tracking, aggregation

Examples

# SQLite + Pro (default)
dotnet new redb -n MyApp

# SQLite + Free
dotnet new redb -n MyApp --pro false

# PostgreSQL + Pro
dotnet new redb -n MyApp --db postgres

# SQL Server + Free
dotnet new redb -n MyApp --db mssql --pro false

For PostgreSQL and SQL Server, put your password into the connection string in Program.cs first. The database named there must already exist: the app creates the RedBase tables in it, not the database itself.

What you get

A console app that walks through the basics:

  • InitializeInitializeAsync(ensureCreated: true) creates the RedBase tables on the first run and syncs the schemes of your classes
  • Create, load, update, deleteRedbObject<Product> with typed properties, an array among them
  • Query — LINQ over your own properties: Query<Product>().Where(...).OrderByDescending(...)
  • Aggregation (Pro)AverageAsync computed in the database
  • Tree — a three-level category hierarchy with CreateChildAsync and LoadTreeAsync; deleting the root deletes its children

To switch the database later, follow the comments in RedbApp.csproj and Program.cs.

This package has 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
4.0.1 39 9/18/2026
4.0.0 92 9/11/2026
3.7.3 106 9/2/2026
3.7.2 115 8/26/2026
3.7.1 120 8/26/2026
3.6.0 132 8/13/2026
3.5.0 150 8/6/2026
3.4.0 170 7/27/2026
3.3.3 171 7/16/2026
3.3.0 189 7/8/2026
3.2.0 228 6/29/2026
3.0.0 252 5/29/2026
2.0.2 253 5/16/2026
2.0.1 270 5/8/2026