摘要: (^\s*$)|(^swagger/) 阅读全文
posted @ 2024-12-02 13:46 邪不压正! 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 一、Post $("#btn30").on('click', function () { $.ajax({ type: "post", contentType: "application/json", dataType: "json", url: "https://localhost/api/app 阅读全文
posted @ 2024-11-14 10:16 邪不压正! 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 一、创建一个私钥文件 openssl genrsa -out myselfsigned.key 2048 二、利用私钥创建自签名证书 openssl req -new -x509 -key myselfsigned.key -out myselfsigned.cer -days 36500 或 op 阅读全文
posted @ 2024-11-11 11:22 邪不压正! 阅读(73) 评论(0) 推荐(0) 编辑
摘要: namespace Tokens { public class PostTokenDto { public string? Access_token { get; set; } public string? Token_type { get; set; } public int? Expires_i 阅读全文
posted @ 2024-10-24 13:41 邪不压正! 阅读(14) 评论(0) 推荐(0) 编辑
摘要: dotnet dev-certs https -v -ep openiddict.pfx -p 00000000-0000-0000-0000-000000000000 dotnet dev-certs https -v -ep openiddict.pfx -p 00000000-0000-000 阅读全文
posted @ 2024-10-18 09:11 邪不压正! 阅读(13) 评论(0) 推荐(0) 编辑
摘要: install.sh #!/bin/bash # # This script is for Ubuntu 22.04 Jammy Jellyfish to download and install XRDP+XORGXRDP via # source. # # Major thanks to: ht 阅读全文
posted @ 2024-10-10 20:45 邪不压正! 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 一、gcloud init二、gcloud auth application-default login三、gcloud auth application-default print-access-token四、gcloud services enable cloudresourcemanager. 阅读全文
posted @ 2024-09-24 17:41 邪不压正! 阅读(13) 评论(0) 推荐(0) 编辑
摘要: { "Kestrel": { "Endpoints": { "Http": { "Url": "http://localhost:5000" }, "HttpsInlineCertFile": { "Url": "https://localhost:5001", "Certificate": { " 阅读全文
posted @ 2024-09-03 11:47 邪不压正! 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 1、Add BookStore_App section int BookStore.DbMigrator\appsettings.json "BookStore_App": { "ClientId": "BookStore_App", "ClientSecret": "1q2w3e*", "Root 阅读全文
posted @ 2024-08-29 13:59 邪不压正! 阅读(5) 评论(0) 推荐(0) 编辑
摘要: private static async Task DownloadFile(string url, string filePath) { var progressMessageHandler = new ProgressMessageHandler(new HttpClientHandler()) 阅读全文
posted @ 2024-04-04 14:42 邪不压正! 阅读(266) 评论(0) 推荐(0) 编辑