Installation issues

Common problems when you first set up the panel

SymptomCause
404 at /stellaradminapp.MapStellarAdmin() is missing, or you passed it a different path.
The page has no stylesStatic assets aren't mapped. Add app.MapStaticAssets() or app.UseStaticFiles().
Raw <sa-...> tags in the pageA view of yours under Areas/StellarAdmin/Views/ has no _ViewImports.cshtml.
Anyone can open the panelThere's no RequireAuthorization, or the authorization middleware is missing.
A resource's pages return 404It has an error. Check the configuration problems pill or the log. Often no registered DbContext maps the entity, or more than one does: register it with AddDbContext, or pick one with resource.UseDbContext<TContext>().
A resource is at a different URL than you expectedThe slug is the kebab-case plural of the type: TripExtra is at /stellaradmin/trip-extras.
A foreign key shows a number boxRegister the related type as a resource. See foreign keys.
No Create or Edit buttonAllowCreate or AllowEdit isn't called for the resource.
Dates start at 0001-01-01 on createSet defaults with UseFactory.
Signed-in users without access land on a 404Cookie authentication sends them to /Account/AccessDenied. Add that page, or set AccessDeniedPath.
A sidebar link is red, or missing outside DevelopmentIts Page or Action doesn't exist. Check the name, controller and area.

Every page is a 500

Check your app's log for the exception. If there's no exception, look for errors in the StellarAdmin.Configuration category.

Checking without a browser

curl -s -o /dev/null -w '%{http_code}\n' http://localhost:5000/stellaradmin/bookings
curl -s http://localhost:5000/stellaradmin/bookings | grep -c '<sa-'

The second command should print 0. If the panel requires sign-in, an anonymous request gets a redirect to your sign-in page (302) or a 401.

On this page