Commit Graph

24 Commits

Author SHA1 Message Date
anjoy8
7ca3e1ec22 feat: update to 8.0 2023-11-15 16:15:21 +08:00
anjoy8
0c6ea285ac Merge branch 'master' into net7.0 2023-11-01 10:45:53 +08:00
LemonNoCry
7629527ee9
🎨 缓存的完善优化
1.统一封装基于微软分布式缓存接口IDistributedCache使用
2.IDistributedCache只适合普通的缓存使用,如果要使用redis队列、订阅redis消息等,就要使用redis原生库
3.增加缓存管理接口[Systems/CacheManageController]
4.目前支持内存、redis缓存实现,理论可随意扩展甚至自定义实现
5.默认使用内存缓存,可在appsetting.json中配置Redis

切换到IDistributedCache好处如下
默认session使用IDistributedCache进行存储,如果你搭配使用IDistributedCache+外部缓存(如Redis),可实现应用程序重启session不丢失
更直观就是,调试的时候登录swagger后即使重启调试也无需在登陆
2023-06-01 17:54:54 +08:00
anjoy8
57555d1f3c Merge branch 'master' into net7.0 2023-03-10 11:32:13 +08:00
anjoy8
77f16b55e1 feat: 🐬 update publish linux sh 2023-02-26 18:32:49 +08:00
anjoy8
1f1525640c Fixed #334 BUG 2023-02-25 14:02:29 +08:00
Geralt_Zhang
d0e4ff7757 添加公共项目属性配置文件
将`TargetFramework`属性迁移到`common.targets`作为方便管理
2023-02-02 20:42:46 +08:00
anjoy8
ff03c4a462 feat:update to net 7.0 2023-01-17 17:00:31 +08:00
Nine
afd20399d4 修改Appsettings 驼峰命名规范为AppSettings,增加sqlsugar model 定义表字段注释示例在Blog.Core.Model.Models.SysUserInfo 2022-10-11 14:10:28 +08:00
zhanganzhong
784644e032 feat: update nuget package 2022-09-07 18:29:51 +08:00
anjoy8
e39d7b5a23 fix: remove some warnings 2022-02-15 14:18:33 +08:00
boboyunz
85097ab5aa boboyunz -- fix 2022-02-15 13:25:30 +08:00
boboyunz
3467e41152 boboyunz-fix bug 2022-02-15 13:20:09 +08:00
boboyunz
9161ec914e boboyunz gateway 2022-02-14 23:35:25 +08:00
anjoy8
5564c52f78 fix: gateway add api result handler 2022-02-11 19:27:46 +08:00
anjoy8
2e04353548 Update Startup.cs 2022-02-11 15:45:51 +08:00
anjoy8
6a79425f65 feat:gateway add authentication 2022-02-06 14:05:51 +08:00
anjoy8
b9dc6deb7a feat:ocelot swagger 2022-02-05 12:10:50 +08:00
anjoy8
bd53e42a22 update to .net6.0 2021-11-09 18:02:41 +08:00
dependabot[bot]
13d285026b
Bump Microsoft.AspNetCore.Authentication.JwtBearer in /Blog.Core.Gateway
Bumps [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore) from 5.0.0 to 5.0.9.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.0...v5.0.9)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 02:42:46 +00:00
anjoy8
496970984f fix:change port from 8081 -> 9291 2021-08-24 15:21:25 +08:00
anjoy8
1fc32e5ccb fix:remove some no need code 2021-08-10 17:03:25 +08:00
anjoy8
7639ba548e adjust gateway
调整网关
2021-01-26 10:48:56 +08:00
anjoy8
0952a2a4f1 Gateways Config
配置网关
2021-01-25 19:58:34 +08:00