上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 56 下一页
摘要: 问题描述 在使用APIM服务中,需要为专门的一组用户赋予特殊的权限:审批APIM用户的对产品的订阅。需要自定义一个RBAC角色,那么如何来设置最少的Action满足需求呢? 问题解答 要对APIM订阅进行审批,至少需要 Microsoft.ApiManagement/service/subscrip 阅读全文
posted @ 2022-05-31 20:16 路边两盏灯 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在App Service中部署镜像文件,发现镜像一直没有部署,重启App Service服务也无效果。 DockerFile如下: FROM crunchgeek/php-fpm:7.0 # 设置时区 RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai 阅读全文
posted @ 2022-05-28 15:49 路边两盏灯 阅读(114) 评论(0) 推荐(1) 编辑
摘要: 需要描述 1)实现黑客帝国文字流效果图,JS功能 2)部署在云中,让大家都可以访问,App Service实现 3)大家都能发送消息,并显示在文字流中,PubSub(websocket)实现 终极效果显示: 执行步骤 1)在 Azure 中创建 App Service 服务,参考官方文档:快速入门: 阅读全文
posted @ 2022-05-28 11:11 路边两盏灯 阅读(370) 评论(0) 推荐(1) 编辑
摘要: Timeout Exception: Expiring 18 record(s) for xxxxxxx: 79823 ms has passed since last append 阅读全文
posted @ 2022-05-27 20:38 路边两盏灯 阅读(1531) 评论(0) 推荐(0) 编辑
摘要: 问题描述 使用Azure Storage Account的共享访问签名(Share Access Signature) 生成的终结点,连接时遇见 The Azure Storage endpoint url is malformed (Azure 存储终结点 URL 格式不正确) Storage A 阅读全文
posted @ 2022-05-26 19:53 路边两盏灯 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在App Service for Linux环境中,部署Django应用,访问应用页面时候,出现css、js等静态资源文件加载失败问题。 浏览器Console提示的错误消息为: Refused to apply style from '<URL>' because its MIME typ 阅读全文
posted @ 2022-05-21 16:42 路边两盏灯 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在使用App Service服务中,当多实例中,其中一个实例出现高CPU,高Memory的情况,为了尽可能少的影响正在运行的应用,需要单独重启某一个实例的情况下,如何手动操作呢? 问题解答 第一步:需要通过App Service Metrics找出是那些实例存在 High CPU 或 Hi 阅读全文
posted @ 2022-05-21 11:01 路边两盏灯 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在App Service的门户上,可以通过“Change App Service Plan”来改变当前App Service所属的应用服务计划(App Service Plan),在页面中,它会自动列举出来当前订阅下,同一个Resource Group的App Service Plan。 阅读全文
posted @ 2022-05-19 20:28 路边两盏灯 阅读(73) 评论(0) 推荐(1) 编辑
摘要: 问题描述 当本地环境中安装.NET 6.0后,用指令 dotnet new web 或 dotnet new console 生成的项目,使用的都是新模板生成的Program.cs文件。里面去掉了namespace, class 以及main函数的定义。使得代码更简洁。 生成的 Program.cs 阅读全文
posted @ 2022-05-18 18:38 路边两盏灯 阅读(256) 评论(3) 推荐(2) 编辑
摘要: 问题描述 使用Python SDK来获取Azure上的各种资源的Metrics的名称以及Metrics Data的示例 问题解答 通过 azure-monitor-query ,可以创建一个 metrics client,调用 client.list_metric_definitions 来获取Me 阅读全文
posted @ 2022-05-14 11:42 路边两盏灯 阅读(318) 评论(0) 推荐(1) 编辑
摘要: 问题描述 在Azure Spring Cloud中,通过ActiveDirectoryMSI方式来连接到SQL Service,需要如何配置呢? 问题分析 在SQL Service中启用Active Directory MSI认证方式,需要执行两个步骤: 1)在Auzre Spring Cloud 阅读全文
posted @ 2022-05-13 20:17 路边两盏灯 阅读(57) 评论(0) 推荐(1) 编辑
摘要: 问题描述 Python连接Azure Redis, 使用redis.ConnectionPool 出现 "ConnectionResetError: [Errno 104] Connection reset by peer" "ConnectionResetError: [WinError 1005 阅读全文
posted @ 2022-05-11 20:44 路边两盏灯 阅读(1151) 评论(0) 推荐(1) 编辑
摘要: 问题描述 在博文 “【Azure Developer】使用 Powershell az account get-access-token 命令获取Access Token (使用用户名+密码)” 和 “【Azure Developer】使用 Microsoft Authentication Libr 阅读全文
posted @ 2022-05-09 19:58 路边两盏灯 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 一道谜题 在观看《美丽的数学》一书中,在120页中有一道谜题: 数字145被称为一个阶乘和数, 因为它具有以下有趣的属性,如果我们将它的各位数字的阶乘相加,会得到该数字本身 1! +4! +5! = 1 + 24 + 120 = 145 数字1和2也是阶乘和数,但0不是。还剩下唯一的一个阶乘和数。看 阅读全文
posted @ 2022-05-08 10:32 路边两盏灯 阅读(127) 评论(0) 推荐(1) 编辑
摘要: 问题描述 在上篇的文章中,我们使用了JAVA SDK,根据用户名和密码来获取Azure AD的Access Token,这节,我们将使用Powershell az 命令来获取Access Token。 前文回顾: MASL4J 获取 Token:https://www.cnblogs.com/lul 阅读全文
posted @ 2022-05-06 19:35 路边两盏灯 阅读(302) 评论(0) 推荐(1) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 56 下一页