随笔分类 - 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 平
阅读全文
摘要:Middlewares.NET 是一个开源 DOTNET 中间件管道,基于 .NET Standard 2.0 开发。 开源地址: https://github.com/microestc/Middlewares.NET Nuget地址:https://www.nuget.org/packages/
阅读全文
摘要:请注意 RuntimeInformation 支持 .netstandard2.0 以上的版本 using System; using System.Linq; using System.Runtime.InteropServices; Console.WriteLine(Environment.O
阅读全文
摘要:Append 追加不换行 AppendLine 追加并换行, 注意 → 先追加再换行.
阅读全文
摘要:直接上代码比较好 using System; using System.Collections.Generic; using System.Threading.Tasks; namespace src { public class Program { public static async Task
阅读全文
摘要:第一步 在单元测试项目添加包 JunitXml.TestLogger dotnet add package JunitXml.TestLogger 第二步 dotnet test --logger:junit dotnet test --logger:"junit;LogFilePath=xxx.x
阅读全文
摘要:特别是在测试方案中,一种常见模式使用 HttpClient 来连接到证书不应验证的服务器,例如自签名证书。 通常 HttpClientHandler 通过将属性设置为始终返回的委托来实现此目的 ServerCertificateCustomValidationCallback True ; 这表示证
阅读全文
摘要:先看代码 using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AsyncStream { class Program { static async Task Main(stri
阅读全文
摘要: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
阅读全文
摘要:转载文章: Unit Testing with ILogger An effective logging system is essential for application monitoring and analysis. .NET Core supports a logging API tha
阅读全文

浙公网安备 33010602011771号