上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 322 下一页
摘要: 在 dotnet 5 开始,可以设置 ProduceReferenceAssembly 为 true 让项目构建时输出仅引用程序集。仅引用程序集是仅导出项目的公开成员定义,而不包含具体的实现的代码逻辑。只用来被其他项目引用,体积很小,但不用来作为最终发布文件 阅读全文
posted @ 2024-06-22 09:40 lindexi 阅读(255) 评论(0) 推荐(0)
摘要: 在本地完成 Phi-3 模型的部署之后,即可在本地拥有一个小语言模型。本文将告诉大家如何将本地的 Phi-3 模型与 SemanticKernel 进行对接,让 SemanticKernel 使用本地小语言模型提供的能力 阅读全文
posted @ 2024-06-20 07:08 lindexi 阅读(368) 评论(0) 推荐(1)
摘要: 在 C# 里面的 using 关键字可以非常方便调用 IDisposable 接口的 Dispose 方法,进行一些资源的释放或实现有趣的逻辑的执行 阅读全文
posted @ 2024-06-18 07:19 lindexi 阅读(384) 评论(0) 推荐(0)
摘要: 有些应用程序比较机密或隐私,不期望被其他截图软件截图到应用的窗口,或者被录屏软件录制到。简单的方法是通过 SetWindowDisplayAffinity 方法进行配置窗口阻止截图软件对其截图 阅读全文
posted @ 2024-06-16 07:25 lindexi 阅读(1133) 评论(0) 推荐(5)
摘要: 本文将和大家简单介绍一下如何在控制台里面使用 Microsoft.KernelMemory 调用 TextEmbedding 对一些文本知识库内容生成向量化信息,以及进行向量化查询 阅读全文
posted @ 2024-06-16 07:25 lindexi 阅读(341) 评论(0) 推荐(0)
摘要: 本文将和大家介绍如何在 C# dotnet 里面的控制台应用里面,使用 DirectML 将 Phi-3 模型在本地运行起来 阅读全文
posted @ 2024-06-13 07:29 lindexi 阅读(568) 评论(4) 推荐(3)
摘要: This article introduces a hack that allows access to internal, non-public members of the UNO framework. This includes calling non-public API methods and properties, and accessing non-public types within UNO. 阅读全文
posted @ 2024-06-12 07:11 lindexi 阅读(30) 评论(0) 推荐(0)
摘要: 本文和大家介绍一个 Hack 的方式,通过此方式可实现访问 UNO 框架里面的 internal 不公开成员,调用 UNO 框架里面的不公开的 API 方法和属性,访问 UNO 里面不公开的类型 阅读全文
posted @ 2024-06-12 07:11 lindexi 阅读(69) 评论(2) 推荐(0)
摘要: 本文将告诉大家,如何使用 VisualStudio 2022 工具,通过 SSH 远程调试运行在 Linux 系统上的 dotnet 系应用的启动过程 阅读全文
posted @ 2024-06-08 07:21 lindexi 阅读(540) 评论(0) 推荐(1)
摘要: 本文将告诉大家如何在 X11 里面创建一个窗口时,设置窗口的背景颜色 阅读全文
posted @ 2024-06-01 07:12 lindexi 阅读(158) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 322 下一页