随笔分类 -  【Azure Developer】

1 2 3 4 5 ··· 8 下一页
Azure 环境中使用 .Net/.Net Core/ Java/ Python/ PHP/ NodeJS /语言开发中的一些代码记录
摘要:问题描述 使用Python代码消费Service Bus中的消息,默认情况 Console 中的信息都是通过 print 打印输出。 有时候需要调查更多SDK中的日志,那么如何才能让SDK输出更多的日志呢? 问题解答 方法就是引入 Logging SDK,然后再初始化 ServiceBusClien 阅读全文
posted @ 2025-03-13 17:58 路边两盏灯 阅读(1) 评论(0) 推荐(0) 编辑
摘要:问题描述 前文提要:【Azure Storage Account】利用App Service作为反向代理, 并使用.NET Storage Account SDK实现上传/下载操作 在前几天的实验中,使用了App Service作为反向代理,把默认的存储账号的域名修改为自定义的域名后,在 .NET 阅读全文
posted @ 2025-03-08 17:26 路边两盏灯 阅读(9) 评论(0) 推荐(0) 编辑
摘要:执行 az ad user show –id 报错 Insufficient privileges to complete the operation 阅读全文
posted @ 2025-03-04 19:50 路边两盏灯 阅读(7) 评论(0) 推荐(0) 编辑
摘要:问题描述 在使用Azure上的存储服务 Storage Account 的时候,有时需要代替 它原本提供的域名进行访问,比如默认的域名为:mystorageaccount.blob.core.chinacloudapi.cn, 想转变为 myservice.file.com 。 如果使用App Se 阅读全文
posted @ 2025-03-01 21:56 路边两盏灯 阅读(98) 评论(0) 推荐(0) 编辑
摘要:问题描述 需要为中国区微软云(China Azure)中的虚拟机磁盘(VM Disk)创建快照, 官方文档中只有az cli(az snapshot create)脚本,并没有介绍使用Python SDK的办法,需要编写代码来实现快照的创建。 问题解答 Azure Python SDK 的 Snap 阅读全文
posted @ 2025-02-24 19:42 路边两盏灯 阅读(5) 评论(0) 推荐(0) 编辑
摘要:2025-02-18T13:08:34.399+08:00 ERROR 35416 --- [io-8080-exec-41] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: reactor.core.publisher.Sinks$EmissionException: Spec. Rule 1.3 - onSubscribe, onNext, onError and onComplete signaled to a Subscriber MUST be signaled serially.] with root cause 阅读全文
posted @ 2025-02-18 20:20 路边两盏灯 阅读(11) 评论(0) 推荐(0) 编辑
摘要:Error starting gRPC call. HttpRequestException: The SSL connection could not be established, see inner exception. AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot 阅读全文
posted @ 2025-01-19 22:09 路边两盏灯 阅读(29) 评论(0) 推荐(0) 编辑
摘要:问题描述 在 C# Azure Function使用 Service Bus 作为触发器时候,在C# 独立工作模式下,说可以支持使用 ServiceBusReceivedMessage 类型作为触发消息的参数类型: [Function(nameof(ServiceBusReceivedMessage 阅读全文
posted @ 2025-01-14 21:26 路边两盏灯 阅读(8) 评论(0) 推荐(0) 编辑
摘要:deploy [ERROR] Status code 401, (empty body) & 阅读全文
posted @ 2025-01-08 20:01 路边两盏灯 阅读(21) 评论(0) 推荐(0) 编辑
摘要:通过 OData 绑定支持向组添加多个成员 阅读全文
posted @ 2024-12-30 20:33 路边两盏灯 阅读(14) 评论(0) 推荐(0) 编辑
摘要:Log search alert rules from API version 2020-05-01 use this payload type, which only supports common schema. Search results aren't embedded in the log search alerts payload when you use this version. Use dimensions to provide context to fired alerts. You can also use LinkToFilteredSearchResultsAPI or LinkToSearchResultsAPI to access query results with the Log Analytics API. If you must embed the results, use a logic app with the provided links to generate a custom payload. 阅读全文
posted @ 2024-12-18 19:47 路边两盏灯 阅读(12) 评论(2) 推荐(0) 编辑
摘要:问题描述 在测试Application Insights的每日上限(Daily Cap)功能,想通过最简单的 curl 脚本来循环发送请求,验证日志摄入量大道设置的300MB (0.03GB)后,是否可以通过调大Daily Cap限制值马上恢复数据的摄入! 问题解答 一个简单的 CMD 脚本示例,它 阅读全文
posted @ 2024-12-11 20:11 路边两盏灯 阅读(52) 评论(0) 推荐(0) 编辑
摘要:问题描述 在Azure门户(Create new user - Microsoft Azure 由世纪互联运营)中添加新用户,如果想通过代码来实现,有没有示例代码参考呢? 问题解答 示例代码 from azure.identity import AzureAuthorityHosts from az 阅读全文
posted @ 2024-12-03 20:26 路边两盏灯 阅读(14) 评论(0) 推荐(0) 编辑
摘要:问题描述 通过FTP的方式,把本地能正常运行的Python Function文件上传到云上后,无法加载函数列表问题。 1:上传 function_app.py,requirements.txt文件到 wwwroot 目录中 2:在Azure Function App的Overview页面,无法显示函 阅读全文
posted @ 2024-11-21 21:10 路边两盏灯 阅读(96) 评论(0) 推荐(0) 编辑
摘要:问题描述 部署.NET 应用到App Service中,应用中调用Storage Account的SDK上传文件到Blob中。只是比较高频率在UploadAsync方法中遇见:OutOfMemoryException 异常信息 ERROR Microsoft.AspNetCore.Server.Ke 阅读全文
posted @ 2024-11-16 11:32 路边两盏灯 阅读(20) 评论(0) 推荐(0) 编辑
摘要:问题描述 .Net应用程序部署在App Service for Windows环境中,已经根据需求把Platform的位数由32 bit 修改位 64 bit。 但是应用程序在运行一段时间后,一直抛出Out Of Memory异常。 System.OutOfMemoryException: at S 阅读全文
posted @ 2024-11-14 19:58 路边两盏灯 阅读(22) 评论(0) 推荐(0) 编辑
摘要:根据以上测验,当使用App Service内存没有达到预期的值,且应用异常日志出现OutOfMemory时,就需要检查Platform的设置是否位64bit。 阅读全文
posted @ 2024-11-13 21:19 路边两盏灯 阅读(88) 评论(1) 推荐(0) 编辑
摘要:问题描述 把NodeJS的ChatBot代码部署到App Service环境中,通过VS Code直接部署,显示部署成功。但是通过URL访问时候,却是 :( Application Error 。 问题解答 App Service遇见Application Error,第一步,查看日志。 发现启动时 阅读全文
posted @ 2024-11-12 21:24 路边两盏灯 阅读(21) 评论(1) 推荐(0) 编辑
摘要:Error: Cannot find module 'node:crypto' 阅读全文
posted @ 2024-11-11 20:04 路边两盏灯 阅读(18) 评论(0) 推荐(0) 编辑
摘要:System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)). 阅读全文
posted @ 2024-11-05 20:15 路边两盏灯 阅读(88) 评论(2) 推荐(0) 编辑

1 2 3 4 5 ··· 8 下一页
点击右上角即可分享
微信分享提示