摘要: Access to XMLHttpRequest at 'file:///C:/Users/.../failedrequests.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome-untrusted, https, edge. reportdata/failedrequests.json:1 Failed to load resource: net::ERR_FAILED 阅读全文
posted @ 2024-06-27 20:51 路边两盏灯 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 问题描述 Azure Logic App连接到SQL数据库后,执行存储过程并转换执行结果为JSON数据的步骤 问题解答 在Logic App Design页面中,添加 Execute stored procedure组件,然后转换结果为JSON。 设计图如下: 关键步骤: 1) 添加 Sql Ser 阅读全文
posted @ 2024-06-24 20:17 路边两盏灯 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 问题描述 原生应用中使用RabbitMQ,是否可以不改动代码的情况下直接转换为使用Azure Event Hub呢? 问题解答 Rabbit MQ使用的协议是AMQP 0-9-1,而Azure Event Hub 或 Service Bus 使用的是AMQP1.0,a56爆大奖在线娱乐无法直接复用之前的代码。需要使 阅读全文
posted @ 2024-06-20 20:03 路边两盏灯 阅读(3) 评论(0) 推荐(0) 编辑
摘要: To connect to a sovereign cloud, set the microsoft-sovereign-cloud.environment setting. This is new as of v0.8.0 and is a result of our migration to the built-in Microsoft authentication extension which replaces the Azure Account extension. Learn more in the release notes. 阅读全文
posted @ 2024-06-18 21:12 路边两盏灯 阅读(5) 评论(0) 推荐(0) 编辑
摘要: SSL: CERITIFICATE_VERIFY_FAILED certificate verify failed: unable to get local issuer certificate 阅读全文
posted @ 2024-06-17 19:49 路边两盏灯 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 问题描述 如果在使用.NET代码对AAD JWT Token进行验证时候,如果遇见无法访问 Unable to obtain configuration from: 'https://login.partner.microsoftonline.cn/<common or your tenant id 阅读全文
posted @ 2024-06-14 21:02 路边两盏灯 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在使用Service Fabric服务后,想删除资源。却遇见无法删除的问题。在查看错误消息中,看见把中文的资源组名称转换为乱码了,十分怀疑是中文字符无法识别的原因。 日志中的资源信息: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/ 阅读全文
posted @ 2024-06-12 20:49 路边两盏灯 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在部署Azure Spring App应用后,访问应用,遇见了502 Bad Gateway Nginx。 问题解答 502 Bad Gateway, 并且由Nginx返回。而自己的应用中,并没有定义Nginx相关内容,a56爆大奖在线娱乐需要查看问题是否出现在Azure Spring App服务的设置上 阅读全文
posted @ 2024-06-11 19:47 路边两盏灯 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 问题描述 使用Azure Service Bus SDK, 从生产端发送消息进入Service Bus中,频繁遇见如下错误,不知消息是否有成功发送到Service Bus中。 发送代码 public void sendMessage(String msg) { // create a Service 阅读全文
posted @ 2024-06-06 22:13 路边两盏灯 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 问题描述 使用Azure Identity,根据指定的客户端凭据获取Access Token中,先后遇见了 “ValueError: "get_token" requires at least one scope” “ClientSecretCredential.get_token failed: 阅读全文
posted @ 2024-06-03 19:33 路边两盏灯 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 在前一篇文章中,a56爆大奖在线娱乐们是把.NET 8应用读取SSL证书(X509)示例部署在App Service Windows环境中,那么如果部署在Linux环境,以及Linux Container中呢? 根据前文中的第a56爆大奖在线娱乐方法,直接在把证书文件包含在源文件中,通过相对路径读取证书文件的方式,经测试,可以正常工 阅读全文
posted @ 2024-06-01 09:25 路边两盏灯 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 问题描述 使用.NET 8开发应用,部署到Azure App Service后,需要直接访问一些静态图片/视频文件,但是直接通过相对路径获取文件时,遇见404错误........ 问题解答 在网上搜索“.NET应用读取静态文件”关键字,找到了问题原因。在IIS部署应用时代(.NET Core之前), 阅读全文
posted @ 2024-05-29 20:31 路边两盏灯 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 在使用App Service服务部署业务应用,因为有些第三方的接口需要调用者携带TLS/SSL证书(X509 Certificate),在官方文档中介绍了两种方式在代码中使用证书: 1) 直接使用证书文件路径加载证书 new X509Certificate2 2) 从系统的证书库中通过指纹加载证书 certStore.Certificates.Find a56爆大奖在线娱乐中,将分别通过代码来验证以上两种方式. 阅读全文
posted @ 2024-05-28 22:20 路边两盏灯 阅读(166) 评论(0) 推荐(1) 编辑
摘要: Message:Encountered error trying to discover new reference data snapshot. Error: The job hasencountered error from Reference Data storage. Error encountered while storingreference data snapshot into the storage account. 阅读全文
posted @ 2024-05-27 20:19 路边两盏灯 阅读(3) 评论(0) 推荐(0) 编辑
摘要: The policy definition 'xxxxxxx' rule is invalid. The resource type 'storageAccounts/blobServices/containers' referenced by the 'field' property 'Microsoft.Storage/storageAccounts/blobServices/containers/publicAccess' of the policy rule doesn't exist under provider 'Microsoft.Storage'. 阅读全文
posted @ 2024-05-22 20:09 路边两盏灯 阅读(10) 评论(1) 推荐(0) 编辑