上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 51 下一页
摘要: 问题描述 使用MSAL4J的SDK调用(源码地址:https://github.com/Azure-Samples/ms-identity-msal-java-samples/tree/main/3.%20Java%20Servlet%20Web%20App%20Tutorial/1-Authent 阅读全文
posted @ 2022-06-23 21:32 路边两盏灯 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 问题描述 使用微软云的Redis服务,导出它的RDB文件后,想把数据恢复到本地自建的Redis服务中,发现出现如下错误: 15000:S 21 Jun 08:14:11.199 * Retrying with SYNC... 15000:S 21 Jun 08:14:11.201 # MASTER 阅读全文
posted @ 2022-06-21 20:24 路边两盏灯 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 问题描述 因为中国区的App Service对外(公网访问)需要进行ICP备案,所以很多情况下,Web应用部署到App Service后,都是通过Application Gateway(应用程序网关)来对外网暴露,提供公网访问。 上图列出了使用Application Gateway后,外网访问App 阅读全文
posted @ 2022-06-20 20:46 路边两盏灯 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 问题描述 使用PowerShell脚本如何来创建存储账号(Storage Account)的共享访问签名呢?查询到可以使用 New-AzStorageContainerSASToken 命令来生成Azure Storage container的SAS Token。 The New-AzStorage 阅读全文
posted @ 2022-06-16 19:46 路边两盏灯 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 问题描述 根据以下DockerFile文件,创建了一个ASP.NET Core的 helloworld 镜像,通过监听3721端口来接受请求。 # 1. 指定编译和发布应用的镜像 FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build # 2. 指定( 阅读全文
posted @ 2022-06-15 20:50 路边两盏灯 阅读(273) 评论(0) 推荐(1) 编辑
摘要: 【Azure Developer】Python 读取 json文件及过滤出需要的结果 修改下面的 server3.py 文件,以达到目标:当用户在浏览器中输入带有区域名称(例如 http://localhost:8080/Marlborough)的 URL 时,这个python服务器应该查询 region=Marlborough 的区域中的 Campsite category 类别为“Great Walk”的 Name + staticLink 数据在页面中 阅读全文
posted @ 2022-06-13 20:50 路边两盏灯 阅读(208) 评论(0) 推荐(1) 编辑
摘要: 问题描述 在前两篇博文中,对NodeJS Express应用 使用MSAL + AAD实现用户登录并获取用户信息,获取Authorization信息 ( ID Token, Access Token). 【Azure 应用服务】NodeJS Express + MSAL 应用实现AAD集成登录并部署 阅读全文
posted @ 2022-06-11 14:35 路边两盏灯 阅读(715) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在上一篇博文 “【Azure 应用服务】NodeJS Express + MSAL 应用实现AAD集成登录并部署在App Service Linux环境中的实现步骤”中,实现了登录,并获取登录用户在AAD中的个人信息,但是没有一个显示的方法输出所获取到的Access Token,则通过新建 阅读全文
posted @ 2022-06-08 21:13 路边两盏灯 阅读(559) 评论(1) 推荐(1) 编辑
摘要: 问题描述 实现部署NodeJS Express应用在App Service Linux环境中,并且使用Microsoft Authentication Library(MSAL)来实现登录Azure AD用户,获取Token及用户信息的实现。 终极实现效果展示: 本实现中,最重要的两个步骤为: 1) 阅读全文
posted @ 2022-06-07 20:23 路边两盏灯 阅读(461) 评论(0) 推荐(1) 编辑
摘要: 问题描述 在App Service for Linux环境中,部署PHP应用,使用Nginx服务器。因为PHP应用中所有静态资源的URL使用的默认域名为 https://example.com:8080 开头,所以需要在Nginx中配置域名转换,而如果使用Apache则免配置。 所以,当使用Ngin 阅读全文
posted @ 2022-06-05 17:05 路边两盏灯 阅读(325) 评论(1) 推荐(1) 编辑
摘要: 问题描述 通过设置Java Web项目,实现在App Service For Windows环境中达到自定义4XX/5XX的页面效果 问题解答 第一步:在本地项目文件中打开web.xml文件 (src -> mian -> webapp -> WEB-INF -> web.xml) 第二步:在web 阅读全文
posted @ 2022-06-01 19:52 路边两盏灯 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在使用APIM服务中,需要为专门的一组用户赋予特殊的权限:审批APIM用户的对产品的订阅。需要自定义一个RBAC角色,那么如何来设置最少的Action满足需求呢? 问题解答 要对APIM订阅进行审批,至少需要 Microsoft.ApiManagement/service/subscrip 阅读全文
posted @ 2022-05-31 20:16 路边两盏灯 阅读(50) 评论(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 路边两盏灯 阅读(98) 评论(0) 推荐(1) 编辑
摘要: 需要描述 1)实现黑客帝国文字流效果图,JS功能 2)部署在云中,让大家都可以访问,App Service实现 3)大家都能发送消息,并显示在文字流中,PubSub(websocket)实现 终极效果显示: 执行步骤 1)在 Azure 中创建 App Service 服务,参考官方文档:快速入门: 阅读全文
posted @ 2022-05-28 11:11 路边两盏灯 阅读(359) 评论(0) 推荐(1) 编辑
摘要: Timeout Exception: Expiring 18 record(s) for xxxxxxx: 79823 ms has passed since last append 阅读全文
posted @ 2022-05-27 20:38 路边两盏灯 阅读(1413) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 51 下一页