StellarAdmin is still in development. We'd love for you to try it out and get your feedback, but please be advised that your may run into bugs. Changes to public APIs may also occur.


StellarAdmin requires ASP.NET Core 3.1.

Install packages

To add StellarAdmin to your ASP.NET Core application, install the StellarAdmin NuGet package. If you intend to use StellarAdmin with Entity Framework 3, you can also install the StellarAdmin.EntityFrameworkCore package.

dotnet add package StellarAdmin
dotnet add package StellarAdmin.EntityFrameworkCore

Register services

Once installed, you must configure StellarAdmin in your application's Startup class by calling the AddStellarAdmin extension method inside the ConfigureServices method. StellarAdmin also depends on the Razor Pages services, so be sure to register those by calling the AddRazorPages extension method.

public void ConfigureServices(IServiceCollection services)
    // some code omitted for brevity

    // Razor Pages is required by StellarAdmin

    // Register the StellarAdmin services, resources and actions

Register endpoints

The final part of the configuration is to add the endpoints for StellarAdmin in the Configure method of your Startup class. Once again, StellarAdmin depends on some Controller and Razor Pages endpoints, so you must register them by calling the MapControllers and MapRazorPages extension methods. After those are added, you can add the StellarAdmin endpoints by calling the MapStellarAdmin extension method.

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    // some code omitted for brevity

    app.UseEndpoints(endpoints =>
        // Controllers and Razor Pages are required by StellarAdmin

        // Register the routes for the StellarAdmin UI

Verify configuration

You can verify the configuration running your application and going to the /StellarAdmin route. This should display the StellerAdmin UI as in the screenshot below.


Next, you can define your resources.