240 发简信
IP属地:重庆
  • EQueue 魔改

    我忆经放弃这个队列了。看不懂,缺少维护。该释放的没有释放,只很少的操作,几天就会占去大半的内存。跟据VS生成的警告进行修改,改完之后,又莫名奇妙...

  • DateTime.Now 性能杀手

    这个不是瞎说,微软自己解释的: System.DateTime.Now 运行缓慢[https://learn.microsoft.com/zh-...

  • 添加一个 HttpServer 到桌面程序中

    之前在一个 .NET3.5 的桌面程序中,内嵌的 HttpServer 是通过 HttpListener 来实现的, 但是这个东西对 Https...

  • 用 SourceGenerator 生成 注册 IoC / 配置的代码

    之前运行在服务器上的程序 , 注册 IoC, Optons 都是通过扫描目录下的DLL, 然后遍历包含特定 Attribute 的类, 在跟据 ...

  • AvaloniaUI + Microsoft.Extensions.DependencyInjection

    AvaloniaUI 默认使用的IoC是reactiveui/splat[https://github.com/reactiveui/splat...

  • Avalonia UI 11

    几个优势: 自绘控件 支持 Windows, MAC, Linux, Android, Web 支持 Native AOT 比较 虽然控件不及 ...

  • Could not load file or assembly System.Runtime, Version=7.0.0.0

    错误详情: System.IO.FileNotFoundException: Could not load file or assembly '...

  • Resize,w 360,h 240
    MAUI 无法在 Android Emulator 上调试的奇特BUG

    环境: VS2022 17.4.1 .NET 6/7 Android Emulator API 30/31/32/33 都试过. 表现方式: F...

  • .NET6 ShadowCopy

    1, 启用 ShadowCopy 如何启用, 参见:What's new in ASP.NET Core 6.0 | Microsoft Lea...