摘要: ssh-keyscan 域名 ssh 域名 阅读全文
posted @ 2024-04-30 16:44 邪不压正! 阅读(1) 评论(0) 推荐(0) 编辑
摘要: private static async Task DownloadFile(string url, string filePath) { var progressMessageHandler = new ProgressMessageHandler(new HttpClientHandler()) 阅读全文
posted @ 2024-04-04 14:42 邪不压正! 阅读(149) 评论(0) 推荐(0) 编辑
摘要: function downloadFile(id) { var xhr = new XMLHttpRequest(); xhr.open('POST', 'https://localhost/api/app/isp-detection/' + id + '/download'); xhr.respo 阅读全文
posted @ 2024-02-07 17:52 邪不压正! 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Arithmetic operation resulted in an overflow. 数据库类型和对象类型不兼容会出现上面的错误提示。 阅读全文
posted @ 2023-10-06 11:37 邪不压正! 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1、dotnet dev-certs https -ep $env:USERPROFILE\.aspnet\https\aspnetapp.pfx -p 1232、dotnet dev-certs https --trust 3、docker run --rm -it -p 80:80 -p 443 阅读全文
posted @ 2022-08-28 15:00 邪不压正! 阅读(215) 评论(0) 推荐(0) 编辑
摘要: ASPNETCORE_Kestrel__Certificates__Default__Password=证书密码 ASPNETCORE_Kestrel__Certificates__Default__Path=HTTPS证书路径 阅读全文
posted @ 2022-08-26 09:59 邪不压正! 阅读(39) 评论(0) 推荐(0) 编辑
摘要: @echo offtitle WebApi %date% %time% %cd% 阅读全文
posted @ 2022-08-22 18:14 邪不压正! 阅读(19) 评论(0) 推荐(0) 编辑
摘要: context.Services.ConfigureApplicationCookie(options => options.Events.OnRedirectToLogin = httpContext => { httpContext.Response.ContentType = "applica 阅读全文
posted @ 2022-08-22 09:54 邪不压正! 阅读(158) 评论(0) 推荐(0) 编辑
摘要: using Microsoft.AspNetCore.Mvc; using System; namespace Feed.Controllers { [ApiController] public class AaaController : Controller { [HttpGet] [Route( 阅读全文
posted @ 2022-03-07 16:39 邪不压正! 阅读(133) 评论(0) 推荐(0) 编辑
摘要: "Kestrel": { "Endpoints": { "Https": { "Url": "https://localhost:5101", "Certificate": { "Path": "./localhost.pfx", "Password": "123456" } } } } 自签名开发 阅读全文
posted @ 2022-02-21 11:52 邪不压正! 阅读(299) 评论(0) 推荐(0) 编辑