LiteAbpUBDTemplate 1.1.0
dotnet new install LiteAbpUBDTemplate::1.1.0
This package contains a .NET Template Package you can call from the shell/command line.
基于ABP、Jquery+Boostrap+Tabler、ASPNETCORE MVC三层架构 后台管理的小型Web项目模板,含用户、角色权限、菜单快速开始业务开发
源码:Github
环境要求:NET6
使用步骤
1、安装模板
dotnet new --install LiteAbpUBDTemplate
2、创建项目,比如Demo,默认sqlserver数据库,-s mysql 切换mysql数据库
dotnet new lat -n Demo
3、安装ef工具
dotnet tool install --global dotnet-ef
4、把本地sqlserver的sa密码修改为123456(Demo\src\Demo.Web\appsettings.json),然后ef生成数据库
cd Demo\src\Demo.DataAccess
dotnet ef migrations add InitialCreate -o ./Migrations
dotnet ef database update
5、最后net run或者(编译后)iis新建站点指向Demo.Web目录,运行查看
cd Demo\src\Demo.Web
dotnet build
dotnet run --urls http://localhost:5000
效果图
登录(账号:admin 密码:123456)
用户
角色
菜单
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.0 | 617 | 5/7/2023 |