This is a projects for dotNet Core Web Applications with modern Admin UI (based on AdminLTE)
You can copy from NuGet or GitHub
You mut install the software
- .Net 6.0 SDK
- IDEs (choose one)
You can clone source code from GitHub
git clone https://github.com/wupojung/DotNetCoreWeb.AdminLTE.ProjectTemplates.git
All configuration settings contains in appsettings.json.
- PostgreSQL
dotnet add package Npgsql --version 8.0.1
dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL --version 7.0.11
dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL.Design --version 1.1.0
Login DB
psql -U postgres
Create Database,Usernmae
postgres=# create database adminlte;
postgres=# create user adminlte with encrypted password '12345678';
postgres=# grant all privileges on database adminlte to adminlte;
postgres=# GRANT ALL ON DATABASE adminlte TO adminlte;
postgres=# ALTER DATABASE adminlte OWNER TO adminlte;
dotnet tool install --global dotnet-ef --version 6.0.26
dotnet ef migrations add InitialUser
dotnet ef database update
- AdminLTE 3.2.0 UI
- Asp.Versioning.Mvc api versioning
- Autofac IoC container
This function based on aspnet-api-versioning. The setting is on the Program.cs You can find two EchoController on the Controllers\APIs
This project is licensed under the MIT License.
- Abdullah Almasaeed for great AdminLTE Template project.
- Leonid Shishkin for great AdminLTE-Starter-Kit Template project.