部署 Casdoor 单点登录认证源(协议)大概有这么几种: LDAP、SMTP、OAuth2.0 等,目前主流是 OAuth2.0 ,支持 OAuth 的平台在开源社区也有不少,有 Keycloak、Okta、Casdoor 等,还有很多第三方的 OAuth2 Server SDK 或者商业收[......] 继续阅读
部署 Casdoor 单点登录认证源(协议)大概有这么几种: LDAP、SMTP、OAuth2.0 等,目前主流是 OAuth2.0 ,支持 OAuth 的平台在开源社区也有不少,有 Keycloak、Okta、Casdoor 等,还有很多第三方的 OAuth2 Server SDK 或者商业收[......] 继续阅读
Deploying Casdoor There are several types of single sign-on authentication sources (protocols): LDAP, SMTP, OAuth2.0, etc., with OAuth2.0 being the[......] 继续阅读
Kiota 是一个命令行工具,用于将 swagger、openapi 生成对应语言的的代码文件,目前支持: .NET CLI(C# 的 System.CommandLine) Go Java PHP Python TypeScript/JavaScript 官方文档: https://learn[......] 继续阅读
Kiota is a command-line tool used to generate code files in various programming languages from Swagger and OpenAPI specifications. Currently, it suppo[......] 继续阅读
MainWindow 窗口使用 Blazor WebView2: <Border Margin="0,0,0,0" Background="Transparent" BorderThickness="0"[......]继续阅读
MainWindow window using Blazor WebView2: <Border Margin="0,0,0,0" Background="Transparent"[......]继续阅读
包 CommunityToolkit.Mvvm 主要用于代码生成,能够为用户减少编写大量的代码,在 WPF 中可以实现 MVVM 设计模式,降低代码复杂度。 引入项目包: <PackageReference Include="CommunityToolkit.Mvvm" Versio[......]继续阅读
The CommunityToolkit.Mvvm package is mainly used for code generation, which helps reduce the amount of code users need to write. It facilitates the im[......] 继续阅读
Deploy Apollo and create an application. Then create a namespace, select private to create a private namespace, and choose the json format. Click mo[......] 继续阅读
部署 Apollo 之后,创建一个应用。 然后创建命名空间,选择 private 创建私有命名空间,选择 json 格式。 点击修改文本,填入 json 内容。 然后在 .NET 程序中引入包 <PackageReference Include="Com.Ctrip.F[......]继续阅读
Jq is a lightweight and flexible command-line JSON processor. Official website: https://jqlang.github.io/jq/ https://jqlang.github.io/jq/manual/ Jq ca[......] 继续阅读
Jq 是一个轻量级和灵活的命令行 JSON 处理器。 官网: https://jqlang.github.io/jq/ https://jqlang.github.io/jq/manual/ Jq 可以从 JSON 中解析数据以及将数据替换到字段表达式生成新的 Json。 例如一个 JSON: [......]继续阅读
swagger2tsclient is not a Vue.js related library, but a tool used to convert Swagger API definition files into TypeScript client code. You can use the[......] 继续阅读
swagger2tsclient 并不是一个 Vue.js 相关的库,而是一个用于将 Swagger API 定义文件转换为 TypeScript 客户端代码的工具。您可以将生成的 TypeScript 客户端代码与 Vue.js 项目一起使用,以简化与后端 API 的交互。以下是如何在 Vue.j[......] 继续阅读
Fail2ban is a tool designed to prevent brute-force attacks by monitoring log files and blocking IP addresses when malicious behavior is detected. Here[......] 继续阅读
Fail2ban 是一个用于防止暴力破解的工具,可以监控日志文件,并在发现恶意行为时封锁 IP 地址。以下是 Fail2ban 的基本使用方法: 安装 Fail2ban: 对于 Debian/Ubuntu 系统,使用以下命令安装: sudo apt-get update sudo apt-g[......]继续阅读
连接 如果不想对外暴露密码,可以自行写一个 AuthorizationHeader,只使用 Base64 处理后的 Basic 认证密钥。 using Elastic.Clients.Elasticsearch; using Elastic.Transport; public class Prog[......]继续阅读
Connection If you don't want to expose the password, you can create your own AuthorizationHeader and use only the Base64 encoded Basic authentication[......] 继续阅读
建立链路 SDK 官方仓库地址: https://github.com/open-telemetry/opentelemetry-go 设计一个这样的执行流程: Run 先后执行 Run1、Run2: a.Run1(newCtx) a.Run2(newCtx) Run1 中,还执行[......] 继续阅读
Establishing Link SDK Official Repository Address: https://github.com/open-telemetry/opentelemetry-go Design an execution flow like this: Run execute[......] 继续阅读