新文章 网摘 文章 随笔 日记

11 2022 档案

摘要:how to solve the problem of AddStoreOcelotConfigurationInConsul doesn't work? · Issue #371 · ThreeMammals/Ocelot · GitHub 阅读全文
posted @ 2022-11-26 16:27 岭南春 阅读(11) 评论(0) 推荐(0)
摘要:zhoubohua 于2022-06-01 14:06:56 .netcore 本文案例说明环境: Windows10、 VS2019、 netcore 3.1 consul概述说明 参考官方地址:https://www.consul.io/docs Consul 是一个服务网格解决方案,提供具有服 阅读全文
posted @ 2022-11-26 09:22 岭南春 阅读(161) 评论(0) 推荐(0)
摘要:ConsulConfigDemo.zip Download Free .NET & JAVA Files API 背景 通常,.NET 和 .NET Core 应用程序中的配置存储在配置文件中,例如 App.config 和 Web.config,或 appsettings.json;但是,它们都有 阅读全文
posted @ 2022-11-26 08:52 岭南春 阅读(226) 评论(0) 推荐(0)
摘要:微服务(入门学习五):identityServer4+ocelot+consul实现简单客户端模式 摘要:简介 主要是采用identity Server4 和ocelot 加上consul 实现简单的客户端模式 开发准备 环境准备 下载并安装Consul具体请参考前几篇的内容 项目介绍 创建ocel 阅读全文
posted @ 2022-11-23 13:30 岭南春 阅读(31) 评论(0) 推荐(0)
摘要:了解如何在将应用程序连接到Oracle客户端数据库时修复以下错误: 错误:系统。InvalidOperationException:尝试加载 Oracle 客户端库时抛出了 BadImageFormatException。在安装了 32 位 Oracle 客户端组件的 64 位模式下运行时,会出现此 阅读全文
posted @ 2022-11-18 14:30 岭南春 阅读(1941) 评论(0) 推荐(0)
摘要:/// <summary> /// 下载文件 /// </summary> /// <param name="serialNumber"></param> /// <param name="siteOperation"></param> /// <param name="location"></pa 阅读全文
posted @ 2022-11-18 08:29 岭南春 阅读(150) 评论(0) 推荐(0)
摘要:https://github.com/ospanic/EzCad_Dev_Dome 阅读全文
posted @ 2022-11-16 11:18 岭南春 阅读(84) 评论(0) 推荐(0)
摘要:更新时间:2018年06月08日 08:51:26 作者:小角色Byme 这篇文章主要介绍了bootstrap treeview 树形菜单带复选框及级联选择功能,代码超简单,感兴趣的朋友跟随脚本之家小编一起学习吧 具体代码如下所示: <div id="searchTree"></div> <scri 阅读全文
posted @ 2022-11-12 10:10 岭南春 阅读(197) 评论(0) 推荐(0)
摘要:C# 同步上下文 提供用于在各种同步模型中传播同步上下文的基本功能。 全名: 复制 System.Threading.SynchronizationContext 例 下面的代码演示如何使用System.Threading 中的同步上下文。 例 1 复制 namespace Microsoft.We 阅读全文
posted @ 2022-11-09 14:03 岭南春 阅读(93) 评论(0) 推荐(0)
摘要:Stephen Toub - MSFT February 2nd, 20122 0 在这个简短系列的第1 部分和第2 部分中,我演示了如何构建 SynchronizationContext 并使用它来运行异步方法,以便该方法中的所有延续都将在当前线程上序列化时运行。在控制台应用中或在不直接支持异步方 阅读全文
posted @ 2022-11-09 09:49 岭南春 阅读(42) 评论(0) 推荐(0)
摘要:Shaman.SingleThreadSynchronizationContext GitHub - antiufo/Shaman.SingleThreadSynchronizationContext: Provides a single-threaded synchronization conte 阅读全文
posted @ 2022-11-09 09:39 岭南春 阅读(28) 评论(0) 推荐(0)
摘要:Stephen Toub - MSFT January 21st, 20120 0 昨天,我在博客上写了一篇关于如何实现自定义 SynchronizationContext 的博客,以便抽取异步方法使用的延续,以便可以在单个专用线程上处理它们。我还强调,这基本上是像Windows Forms和Win 阅读全文
posted @ 2022-11-09 08:52 岭南春 阅读(18) 评论(0) 推荐(0)
摘要:Stephen Toub - MSFT January 20th, 20124 0 当我讨论 C# 和 Visual Basic 的新异步语言功能时,我赋予 await 关键字的属性之一是它“试图将你带回原来的位置”。例如,如果在 WPF 应用程序的 UI 线程上使用 await,则 await 完 阅读全文
posted @ 2022-11-08 19:53 岭南春 阅读(61) 评论(0) 推荐(0)
摘要:定义一个委托类型: public delegate ICollection<string> FooDelegate(string a, out int b); public class Foo { public void DoFoo() { int x; var coll = TheFunc("ba 阅读全文
posted @ 2022-11-08 08:17 岭南春 阅读(24) 评论(0) 推荐(0)
摘要:1、要使用post方式2、Body选择x-www-form-urlencoded类型3、参数示例: grant_type:client_credentialsclient_id:WinFormClient1client_secret:xxxxxscope:ApiSample 4、注意,客户端授权方式 阅读全文
posted @ 2022-11-02 14:33 岭南春 阅读(371) 评论(0) 推荐(0)
摘要:新建一个文本文档,把下面这段代码复制进去,存成.reg文件(必须保证后缀名是.reg),直接双击运行 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.doc] @="Word.Document.8" "Content Type"="a 阅读全文
posted @ 2022-11-01 13:25 岭南春 阅读(713) 评论(0) 推荐(0)