Installation
Requirements
- .NET 10 (LTS) SDK and an ASP.NET Core app: MVC, Razor Pages, Minimal APIs or Blazor Server (Interactive Server render mode).
- An EF Core 10 relational provider package for your database, for example
Microsoft.EntityFrameworkCore.SqlServer. See Databases.
Install from NuGet
dotnet add package SuperAdmin.Rbac
dotnet add package Microsoft.EntityFrameworkCore.SqlServer # or .Sqlite, Npgsql.EntityFrameworkCore.PostgreSQL, ...
To pin a version, add --version, for example --version 0.2.3. The package is also available from any NuGet feed your team uses: nuget.org, GitHub Packages, Azure Artifacts or a shared folder. See Build and publish.
Install from a local .nupkg file
You do not need a server. Put the file in a folder and add that folder as a source:
# put SuperAdmin.Rbac.0.2.3.nupkg in a folder, for example C:\nuget-local
dotnet nuget add source C:\nuget-local --name local
dotnet add package SuperAdmin.Rbac --version 0.2.3 --source local
Next step
Wire the package into Program.cs and sign in for the first time: Quick start.