Ed Andersen

Software Developer and Architect in Japan

Adding an Admin Panel to a .NET Core web app with CoreAdmin

Ed Andersen Avatar

by

in ,

I’ve published version 1.0.0 of a new open source package and a corresponding nuget package – CoreAdmin.

CoreAdmin adds a nice set of CRUD screens to your .NET Core web app in one line of code!

Adding CoreAdmin to your app

Given a typical Startup.cs file, you will have a ConfigureServices method. You need to add the line services.AddCoreAdmin() somewhere near the bottom (at least after you register your Entity Framework DbContexts).

Then when you visit your site with /coreadmin on the end of the URL, you’ll see this:

On the left you can see your database tables (these are the DBSets in your DbContexts). Click one and you get:

From here you can Create new entities, Delete and Edit them. Full searching, sorting, filtering etc are also supported.

There are a few limitations on data types and primary keys (for example, entities with composite primary keys are not supported for editing or deletion yet) but this should be sufficient for basic quick and dirty editing of entities.

How to get it

CoreAdmin on Github

CoreAdmin on NuGet

Simply install the nuget package “CoreAdmin” and you are good to go!  

Or watch a demo!

Here is a YouTube Style video demo.

Ed Andersen Avatar

About me

Hi! ๐Ÿ‘‹ I’m a Software Developer, Architect and Consultant living in Japan, building web and cloud apps. Here I write about software development and other things I find interesting. Read more about my background.

Ed’s “Newsletter”

Get the latest blog posts via email โœŒ๏ธ


Comments

One response to “Adding an Admin Panel to a .NET Core web app with CoreAdmin”

  1. Ross Williams Avatar
    Ross Williams

    This looks familiar ๐Ÿ™‚

Leave a Reply

Your email address will not be published. Required fields are marked *