项目结构 首先创建3个项目,这3个项目将做为我们学习 IdentityServer4 的基础项目,项目框架全部使用 .NET CORE 3.1。 端口约定如下: MicroShell.IdentityServer4.Server : 5000 MicroShell.IdentityServer4.A ...
分类:
其他好文 时间:
2021-04-10 13:31:25
阅读次数:
0
描述 当前后端 ip 不同时进行请求发送就会存在跨域问题而无法发送请求,前端和后端都有解决方案,但使用 Vue 去解决跨域要进行代理配置是比较麻烦的,所以记录一下使用 .NET Core 3.1 进行跨域配置,不支持低于 3.1 以下的版本 方法 添加策略打开项目的 Startup.cs 文件,在 ...
分类:
其他好文 时间:
2021-04-10 13:10:42
阅读次数:
0
Clang Static Analyzer-使用手册-编写Checker代码实现 示例程序MainCallChecker.cpp #include"ClangSACheckers.h"#include"clang/StaticAnalyzer/Core/BugReporter/BugType.h"# ...
分类:
其他好文 时间:
2021-04-10 13:02:00
阅读次数:
0
环境准备: 系统版本:CentOS Linux release 7.5.1804 (Core) 软件版本:apache-maven-3.8.1-bin.zip 安装目录:/application/ 安装: 下载安装包: wget https://mirrors.bfsu.edu.cn/apache/ ...
分类:
其他好文 时间:
2021-04-09 13:05:21
阅读次数:
0
[云计算]浅谈文件存储、块存储、对象存储 参考红帽:https://www.redhat.com/zh/topics/data-storage/file-block-object-storage 参考胖墩哥博客:https://www.cnblogs.com/jimlau/p/11926282.ht ...
分类:
其他好文 时间:
2021-04-09 12:55:16
阅读次数:
0
一、 环境和版本 1. 操作系统 干干静静的centos7系统,选取的是mini的iso最小化安装 # cat /etc/centos-release CentOS Linux release 7.3.1611 (Core) # cat /proc/version Linux version 3.1 ...
分类:
其他好文 时间:
2021-04-08 13:37:16
阅读次数:
0
首先配置ThreadPoolTaskScheduler线程池: package cn.demo.support.config; import org.springframework.context.annotation.Bean; import org.springframework.context ...
分类:
编程语言 时间:
2021-04-08 13:36:55
阅读次数:
0
SpringMVC web.xml 前端控制器servlet 中文乱码拦截器filter 支持rest风格的过滤器 spring-mvc.xml 扫描controller包 添加 视图解析器 静态资源拦截器 添加controller层 spring spring-core.xml 扫描除了contr ...
分类:
其他好文 时间:
2021-04-07 10:56:25
阅读次数:
0
Bitter ORM 全网最轻量化高性能的 ORM 之 .NETFRAMEWORK 版本数据库连接
下面使.NETFRAMEWORK Bitter orm 数据库连接配置,如需 NETCORE 版本的,请参考教程:https://www.cnblogs.com/davidchild/p/142766... ...
分类:
数据库 时间:
2021-04-06 15:14:06
阅读次数:
0
.NET Core + K8S + Loki 玩转日志聚合 1. Intro 最近在了解日志聚合系统,正好前几天看到一篇文章《用了日志系统新贵Loki,ELK突然不香了!》,所以就决定动手体验一下。本文就带大家快速了解下Loki,并简单介绍.NET Core如何集成Loki。 2. What's L ...
分类:
Web程序 时间:
2021-04-06 14:12:52
阅读次数:
0