Skip to content

wupojung/DotNetCoreWeb.AdminLTE.ProjectTemplates

Repository files navigation

AdminLTE Starter Kit for ASP.NET Core

This is a projects for dotNet Core Web Applications with modern Admin UI (based on AdminLTE)

1. Getting Started

You can copy from NuGet or GitHub Imgur

2. Prerequisites

You mut install the software

3. Installing

3.1 Installing from .NET Core CLI

3.2 Installing from GitHub repository

You can clone source code from GitHub

git clone https://github.com/wupojung/DotNetCoreWeb.AdminLTE.ProjectTemplates.git

4. Templates Settings

All configuration settings contains in appsettings.json.

4.1 Database

  • 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

5. Including List

6. Sample

6.1 Api Versioning

This function based on aspnet-api-versioning. The setting is on the Program.cs You can find two EchoController on the Controllers\APIs

Authors

License

This project is licensed under the MIT License.

Acknowledgments

Ref

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published