Loading

随笔分类 -  DOTNET

摘要:FFmpegs.NET This is a project that plans to build FFmpegs.NET dynamic libraries, it's call FFmpeg API on .NET Platform. 这是一个FFmpegs.NET的动态库,支持在 .NET 平 阅读全文
posted @ 2022-06-05 21:51 microestc 阅读(215) 评论(0) 推荐(0)
摘要:Middlewares.NET 是一个开源 DOTNET 中间件管道,基于 .NET Standard 2.0 开发。 开源地址: https://github.com/microestc/Middlewares.NET Nuget地址:https://www.nuget.org/packages/ 阅读全文
posted @ 2022-06-03 23:56 microestc 阅读(85) 评论(0) 推荐(0)
摘要:请注意 RuntimeInformation 支持 .netstandard2.0 以上的版本 using System; using System.Linq; using System.Runtime.InteropServices; Console.WriteLine(Environment.O 阅读全文
posted @ 2022-03-31 16:00 microestc 阅读(160) 评论(0) 推荐(1)
摘要:Append 追加不换行 AppendLine 追加并换行, 注意 → 先追加再换行. 阅读全文
posted @ 2022-02-08 19:04 microestc 阅读(1097) 评论(0) 推荐(0)
摘要:直接上代码比较好 using System; using System.Collections.Generic; using System.Threading.Tasks; namespace src { public class Program { public static async Task 阅读全文
posted @ 2021-09-27 10:27 microestc 阅读(73) 评论(0) 推荐(0)
摘要:第一步 在单元测试项目添加包 JunitXml.TestLogger dotnet add package JunitXml.TestLogger 第二步 dotnet test --logger:junit dotnet test --logger:"junit;LogFilePath=xxx.x 阅读全文
posted @ 2021-07-28 18:19 microestc 阅读(241) 评论(0) 推荐(0)
摘要:特别是在测试方案中,一种常见模式使用 HttpClient 来连接到证书不应验证的服务器,例如自签名证书。 通常 HttpClientHandler 通过将属性设置为始终返回的委托来实现此目的 ServerCertificateCustomValidationCallback True ; 这表示证 阅读全文
posted @ 2021-07-23 16:19 microestc 阅读(538) 评论(0) 推荐(2)
摘要:先看代码 using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AsyncStream { class Program { static async Task Main(stri 阅读全文
posted @ 2021-07-02 00:15 microestc 阅读(99) 评论(0) 推荐(0)
摘要:Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with n 阅读全文
posted @ 2021-05-15 17:46 microestc 阅读(3015) 评论(2) 推荐(2)
摘要:转载文章: Unit Testing with ILogger An effective logging system is essential for application monitoring and analysis. .NET Core supports a logging API tha 阅读全文
posted @ 2020-12-28 18:04 microestc 阅读(579) 评论(0) 推荐(0)