Azure

sas type of azure storage

Shared access signatures (SAS) are a secure way to delegate access to Azure Storage resources. They provide a way to grant limited access to resources ......
storage azure type sas of

consistency level of Azure Cosmos DB account

In Azure Cosmos DB, the consistency level defines the trade-off between consistency, availability, and partition tolerance, commonly known as the CAP ......
consistency account Cosmos Azure level

【Azure APIM】APIM Self-Hosted网关中,添加网关日志以记录请求头信息(Request Header / Response Header)

问题描述 在APIM Gateway 日志中, 对于发送到APIM Host的请求,只记录了一些常规的URL, Status, Time, IP等信息。关于请求Header, Body中的信息,因为隐私保护的原因,默认没有记录。 [Info] 2023-11-16T06:19:28.482 [Gat ......
网关 Header APIM Self-Hosted Response

Azure DevOps 发布.Net项目到Windows IIS站点之Azure项目发布内网VM

当你有一个需求,需要通过Azure DevOps发布到一个没有公网的VM的时候,你将需要使用以下脚本 trigger: - master pool: vmImage: 'windows-2022' variables: - name: Build.ArtifactStagingDirectory v ......
项目发布 项目 Azure Windows 站点

Azure DevOps 发布.Net项目到Windows IIS站点之通过公网IP(账号、密码)

在Azure DevOps中 通过指定公网IP发布代码到指定目录 # ASP.NET Core (.NET Core 7.0) # Build and test ASP.NET Core projects targeting .NET Core 7.0. # Add steps that publi ......
账号 密码 Windows 站点 项目

【Azure Storage Blob】如何通过.NET Azure Storage Blobs SDK获取到Blob的MD5值呢?

问题描述 通过.NET Azure Storage Blobs SDK , 获取Blob的MD5值,查看了Azure操作手册中,介绍可以使用 blob.Properties.ContentMD5 属性。 //blob 文件测试 CloudBlobClient blobClient = storage ......
Storage Azure Blob Blobs NET

【Azure Durable Function】PowerShell Activity 函数遇见 Newtonsoft.Json.JsonReaderException: The reader's MaxDepth of 64 has been exceeded.

问题描述 创建PowerShell Azure Durable Function,执行大量的PowerShell脚本操作Azure Resource,遇见了一个非常非常奇怪的问题: Function 'Hello1 (Activity)' failed with an error. Reason: ......

【Azure Key Vault】是否有直接方法将Azure Key Vault中的机密名称/机密值到处成文件呢?

问题描述 是否有直接方法将Azure Key Vault中的机密名称/机密值导出,保存为一个文件呢? 问题解答 Azure Key Vault 没有直接提供Secret 导出文件(如xlsx格式)的方式或者工具。不过可以通过SDK将Secret列举出来并获取到所有的密钥对,保存为所需要的文件格式。在 ......
机密 Azure Vault Key 名称

Azure CLI创建管理员用户

az ad user create --display-name ad --password xxxx --user-principal-name ad@abc.ink az role assignment create --assignee ad@abc.ink --role Owner --sc ......
管理员 用户 Azure CLI

Azure Data Factory(十)Data Flow 组件详解

一,引言 随着大数据技术的不断发展,数据处理和分析变得越来越重要。为了满足企业对数据处理的需求,微软推出了 Azure Data Factory (ADF),它是一个云端的数据集成服务,用于创建、安排和管理数据工作流。在本文中,我们将重点介绍 Azure Data Factory 的数据流(Data ......
Data 组件 Factory Azure Flow

【Azure Function App】解决Function App For Container 遇见ServiceUnavailable的异常

问题描述 在使用Terraform创建Function App 后,部署函数时候遇见 ServiceUnavailable (Bad Request -- Encountered an error (ServiceUnavailable) from host runtime.) 问题。 查看Func ......

[MDP.NetCore] 開發一個從GitHub持續佈署到Azure Container Apps的Web站台

開發一個從GitHub持續佈署到Azure Container Apps的Web站台 程式碼簽入GitHub之後,啟動GitHub Action流程,編譯並部署程式到Azure Container Apps,是開發系統時常見的功能需求。本篇範例協助開發人員使用GitHub與Azure,逐步完成必要的 ......
站台 Container NetCore GitHub Azure

【Azure Web Job】Azure Web Job执行Powershell脚本报错 The term 'Select-AzContext' is not recognized as the name

问题描述 Azure Web Job执行Powershell脚本报错 Select-AzContext : The term 'Select-AzContext' is not recognized as the name of a cmdlet, function, script file, or ......

(保姆级)使用阿里云+Azure Repos实现CI/CD

作为.NET的开发者,微软一直都是比较有爱的..从免费强大的IDE到人工智能ML.NET 基本上都提供了免费的入门版本,今天主要介绍的就是Azure DevOps. Azure DevOps的前身其实大家都熟悉就是TFS,Azure DevOps是由TFS转为线上Online的产品. 它基本上提供了 ......
保姆 Azure Repos CI CD

关于pacemaker集群stonith:fence_azure_arm资源-SP-服务主机-密码过期的处理方法

在pacemaker中,一般都会创建一个stonith资源(Shoot The Other Node In The Head),笔者因为是在Azure平台、于是使用的为 stonith:fence_azure_arm 最近发现有一个与之关联的服务主体的密码过期了,导致状态异常,通过pcs statu ......

[Azure Developer]把Azure Function中ILogger对象静态化为静态方法提供日志记录

问题描述 在Azure Function代码中,有默认的ILogger对象来记录函数的日志,如果函数引用了一些静态对象,是否有办法使用这个默认的ILogger对象来记录日志呢? using System.Net; using Microsoft.Azure.Functions.Worker; usi ......
静态 Azure Developer Function 对象

【Azure Function App】如何修改Azure函数应用的默认页面呢?

问题描述 当在Azure中创建了一个函数应用(Function App)后,访问默认URL会得到一个默认的页面。是否有办法修改这个默认页面呢? 问题解答 在之前的博文中,介绍了修改App Service的默认页面。 1:【Azure 应用服务】App Service 默认页面暴露Tomcat版本信息 ......
Azure 函数 Function 页面 App

NetCore之基于Azure Service Bus的消息服务

什么是Azure服务总线? Azure服务总线是完全托管的企业消息代理,包括消息队列和发布订阅(命名空间). Service Bus通常被用来解耦应用程序和服务,控制跨服务和应用程序间安全路由和传输数据。 本篇从实战出发介绍如何通过Service Bus发送接收及消费消息。 1、创建API.Azur ......
NetCore Service 消息 Azure Bus

Azure DevOps 发布.Net项目到Windows IIS站点之pubxml

通过VS中我们配置的pubxml进行发布 trigger: - master pool: vmImage: 'windows-2022' variables: - group: GeexPublish - name: my-user-variable value: $[variables.UserN ......
Windows 站点 项目 DevOps pubxml

Exercise: Create a static HTML web app by using Azure Cloud Shell

https://learn.microsoft.com/en-us/training/modules/introduction-to-azure-app-service/7-create-html-web-app resourceGroup=$(az group list --query "[].{ ......
Exercise Create static Azure Cloud

【Azure App Service】App Service设置访问限制后,使用git clone代码库出现403报错

问题描述 在App Service中,为App Service配置了访问限制,结果导致在克隆App Service的代码时候,遇见403错误。 问题解答 因为在使用 git clone App Service的应用代码时,使用的URL地址为 https://***.scm.chinacloudsit ......
Service App 代码 Azure clone

【Azure Logic App】在Azure Logic App中使用SMTP发送邮件示例

问题描述 在Azure Logic App的官网介绍中,使用SMTP组件发送邮件非常简单(https://docs.azure.cn/zh-cn/connectors/connectors-create-api-smtp#connect-to-smtp)。 本文通过实际操作,配置SMTP,然后设置E ......
Azure Logic 示例 App 邮件

[Microsoft Azure] Azure Function 如何重命名函数

在开始之前,我们先了解一下Azure Function的基本概念。Azure Functions是Microsoft Azure提供的一项无服务器计算服务,允许用户在云端运行代码而无需关心底层基础设施。通过使用Azure Functions,您可以专注于编写业务逻辑,而无需担心服务器的管理和扩展。现 ......
Azure 函数 Microsoft Function

[Microsoft Azure] 如何查看 Azure Function的.NET Runtime

在本文中,我们将详细介绍如何在 Microsoft Azure 中查看 Azure Function 的 .NET Runtime 版本。了解如何找到所使用的 .NET 版本,确保您的 Functions 应用程序兼容并具有稳定性。 在使用 Microsoft Azure 的过程中,您可能会使用到 ......
Azure Microsoft Function Runtime NET

[Microsoft Azure] 如何查看 Azure Function的.NET SDK版本列表

本文将介绍如何在 Microsoft Azure 中查看和选择 Azure Function 的 .NET SDK 版本列表,以便为您的项目选择合适的版本。 在 Microsoft Azure 中,Azure Functions 是一种用于在云端运行小型应用程序或功能的服务。它可以帮助我们在不需要管 ......
Azure Microsoft Function 版本 NET

【Azure 应用服务】App Service for Linux 环境中为Tomcat页面修改默认的Azure 404页面

问题描述 在App Service Linux环境中,如部署Tomcat 应用后,如果访问的页面找不到,应用会返回一个由Azure生成的404页面,那么是否可以修改它呢? PS: 如果是App Service for Windows,可以参考博文 [ App Service for Windows ......
页面 Azure 应用服务 Service 环境

【Azure Logic App】使用Outlook.com发送邮件遇到429报错

问题描述 在Logic App中使用 Outlook.com组件发送邮件,遇见了outlook connection报429的错误 {"error":{"code":"ErrorExceededMessageLimit","message":"Cannot send mail. Daily Mess ......
邮件 Outlook Azure Logic App

【Azure APIM】解决APIM Self-hosted Gateway在AKS上,最开始访问时候遇见的404问题

问题描述 根据APIM官方文档,创建Self-hosted 网关在AKS中( 使用 YAML 将自承载网关部署到 Kubernetes :https://docs.azure.cn/zh-cn/api-management/how-to-deploy-self-hosted-gateway-kube ......
APIM Self-hosted Gateway 时候 hosted

[Microsoft Azure] Azure Function 自定义路由前缀

本文将向您展示如何在Microsoft Azure Function中自定义路由前缀,以便更好地管理和组织您的功能应用。 随着云计算的不断发展,无服务器架构逐渐成为应用开发的重要组成部分。Microsoft Azure Function是Azure平台上的一种无服务器计算服务,它允许我们运行小型代码 ......
Azure 前缀 路由 Microsoft Function