# Alison-Api **Repository Path**: AlisonCore/alison-api ## Basic Information - **Project Name**: Alison-Api - **Description**: 自用测试.NET5+NpgSQL+EF Core + JwtBearer 案例 1、采用.NET5开发技术、EF Core访问数据库 2、使用NpgSQL数据库 - **Primary Language**: C# - **License**: EPL-1.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2021-08-03 - **Last Updated**: 2024-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: NETCode, Npgsql ## README Alison-Api 一、介绍: 自用测试.NET5+NpgSQL+EF Core + JwtBearer 后台API案例 1. 使用.NET5 和 EFCore 开发技术 1. 数据库使用NpgSQL 13.1.1 1. Jwt全局,但是只加在了User控制器上,后期自行加在其他控制器即可 二、安装教程 1. 下载代码后用vs2019 打开,自动补给Nuget包 2. 等待Nuget完成之后打包发布。期间记得执行DataBase的数据库文件生成数据库信息 3. IIS部署需要安装 Microsoft .NET 5.0.8Windows Server Hosting 选择 IIS runtime support (ASP.NET Core Module v2) 安装地址:https://dotnet.microsoft.com/download/dotnet/5.0 三、使用说明 无 四、参与贡献 Alison 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request 五、特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)