随笔分类 -  【Azure Developer】

1 2 3 4 5 ··· 8 下一页
Azure 环境中使用 .Net/.Net Core/ Java/ Python/ PHP/ NodeJS /语言开发中的一些代码记录
摘要:问题描述 需要为中国区微软云(China Azure)中的虚拟机磁盘(VM Disk)创建快照, 官方文档中只有az cli(az snapshot create)脚本,并没有介绍使用Python SDK的办法,需要编写代码来实现快照的创建。 问题解答 Azure Python SDK 的 Snap 阅读全文
posted @ 2025-02-24 19:42 路边两盏灯 阅读(3) 评论(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 路边两盏灯 阅读(6) 评论(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 路边两盏灯 阅读(17) 评论(0) 推荐(0) 编辑
摘要:问题描述 在 C# Azure Function使用 Service Bus 作为触发器时候,在C# 独立工作模式下,说可以支持使用 ServiceBusReceivedMessage 类型作为触发消息的参数类型: [Function(nameof(ServiceBusReceivedMessage 阅读全文
posted @ 2025-01-14 21:26 路边两盏灯 阅读(6) 评论(0) 推荐(0) 编辑
摘要:deploy [ERROR] Status code 401, (empty body) & 阅读全文
posted @ 2025-01-08 20:01 路边两盏灯 阅读(18) 评论(0) 推荐(0) 编辑
摘要:通过 OData 绑定支持向组添加多个成员 阅读全文
posted @ 2024-12-30 20:33 路边两盏灯 阅读(10) 评论(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 路边两盏灯 阅读(9) 评论(2) 推荐(0) 编辑
摘要:问题描述 在测试Application Insights的每日上限(Daily Cap)功能,想通过最简单的 curl 脚本来循环发送请求,验证日志摄入量大道设置的300MB (0.03GB)后,是否可以通过调大Daily Cap限制值马上恢复数据的摄入! 问题解答 一个简单的 CMD 脚本示例,它 阅读全文
posted @ 2024-12-11 20:11 路边两盏灯 阅读(44) 评论(0) 推荐(0) 编辑
摘要:问题描述 在Azure门户(Create new user - Microsoft Azure 由世纪互联运营)中添加新用户,如果想通过代码来实现,有没有示例代码参考呢? 问题解答 示例代码 from azure.identity import AzureAuthorityHosts from az 阅读全文
posted @ 2024-12-03 20:26 路边两盏灯 阅读(13) 评论(0) 推荐(0) 编辑
摘要:问题描述 通过FTP的方式,把本地能正常运行的Python Function文件上传到云上后,无法加载函数列表问题。 1:上传 function_app.py,requirements.txt文件到 wwwroot 目录中 2:在Azure Function App的Overview页面,无法显示函 阅读全文
posted @ 2024-11-21 21:10 路边两盏灯 阅读(89) 评论(0) 推荐(0) 编辑
摘要:问题描述 部署.NET 应用到App Service中,应用中调用Storage Account的SDK上传文件到Blob中。只是比较高频率在UploadAsync方法中遇见:OutOfMemoryException 异常信息 ERROR Microsoft.AspNetCore.Server.Ke 阅读全文
posted @ 2024-11-16 11:32 路边两盏灯 阅读(17) 评论(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 路边两盏灯 阅读(17) 评论(0) 推荐(0) 编辑
摘要:根据以上测验,当使用App Service内存没有达到预期的值,且应用异常日志出现OutOfMemory时,就需要检查Platform的设置是否位64bit。 阅读全文
posted @ 2024-11-13 21:19 路边两盏灯 阅读(87) 评论(1) 推荐(0) 编辑
摘要:问题描述 把NodeJS的ChatBot代码部署到App Service环境中,通过VS Code直接部署,显示部署成功。但是通过URL访问时候,却是 :( Application Error 。 问题解答 App Service遇见Application Error,第一步,查看日志。 发现启动时 阅读全文
posted @ 2024-11-12 21:24 路边两盏灯 阅读(18) 评论(1) 推荐(0) 编辑
摘要:Error: Cannot find module 'node:crypto' 阅读全文
posted @ 2024-11-11 20:04 路边两盏灯 阅读(15) 评论(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 路边两盏灯 阅读(68) 评论(2) 推荐(0) 编辑
摘要:问题描述 在VS Code中创建的Java Maven项目,在进行项目打包时,遇见 BUILD FAILURE \lbimage> mvn -clean package [INFO] Scanning for projects... [INFO] [INFO] < org.yourcompany.y 阅读全文
posted @ 2024-11-01 19:42 路边两盏灯 阅读(25) 评论(0) 推荐(0) 编辑
摘要:问题描述 使用Python编写了ChatBot,在部署到App Service,却无法启动。 通过高级工具(Kudu站点:https://<your site name>.scm.chinacloudsites.cn/newui)查看日志显示:Failed to find attribute 'ap 阅读全文
posted @ 2024-10-29 20:37 路边两盏灯 阅读(146) 评论(0) 推荐(0) 编辑
摘要:问题描述 本地使用Python 编写的Function App,发布到Azure Function后,出现 _cffi_backend module 无法找到的报错。 ERROR: Error: No module named '_cffi_backend', Cannot find module. 阅读全文
posted @ 2024-10-24 20:07 路边两盏灯 阅读(64) 评论(0) 推荐(0) 编辑
摘要:const logsQueryClient = new LogsQueryClient(credential , { endpoint: "https://api.loganalytics.azure.cn/v1" ,audience: "https://api.loganalytics.azure.cn", }); 阅读全文
posted @ 2024-10-23 19:34 路边两盏灯 阅读(20) 评论(0) 推荐(0) 编辑

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