consistency account cosmos azure
[MDP.NetCore] 使用Azure Portal,開發一個從GitHub持續佈署到Azure Container Apps的Web站台
使用Azure Portal,開發一個從GitHub持續佈署到Azure Container Apps的Web站台 程式碼簽入GitHub之後,啟動GitHub Action流程,編譯並部署程式到Azure Container Apps,是開發系統時常見的功能需求。本篇範例協助開發人員使用GitHu ......
【Azure Function App】Java Function在运行中遇见内存不足的错误
问题描述 在Function的Code+Test界面进行函数触发可以成功。因为Function为Blob Trigger,当在Blob容器下上传文件后,Function可以被正常触发但是报 outofmemory java heap space的错误 通过日志打印处JVM的内存信息,发现才778MB ......
Explore change feed in Azure Cosmos DB
Explore change feed in Azure Cosmos DB Reading change feed with a push model There are two ways you can read from the change feed with a push model: A ......
【Azure Key Vault】.NET 代码如何访问中国区的Key Vault中的机密信息(Get/Set Secret)
问题描述 使用 .NET Azure.Identity 中的 DefaultAzureCredential 认证并连接到Azure Key Vault中, 在Key Vault 的示例中,并没有介绍如何在代码中设置连接到中国区Azure中。 如果直接运行DefaultAzureCredential, ......
WEBSITE_LOCAL_CACHE_OPTION Environment variables and app settings in Azure App Service
Environment variables and app settings in Azure App Service Setting name Description WEBSITE_LOCAL_CACHE_OPTION Whether local cache is enabled. Availa ......
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 ......
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 ......
基于时间频率一致性对时间序列进行自监督对比预训练《Self-Supervised Contrastive Pre-Training for Time Series via Time-Frequency Consistency》(时序、时频一致性、对比学习)
2023年11月10日,今天看一篇论文,现在17:34,说实话,想摆烂休息,不想看,可还是要看,拴Q。 论文:Self-Supervised Contrastive Pre-Training for Time Series via Time-Frequency Consistency 或者是:Sel ......
【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 ......
Azure DevOps 发布.Net项目到Windows IIS站点之Azure项目发布内网VM
当你有一个需求,需要通过Azure DevOps发布到一个没有公网的VM的时候,你将需要使用以下脚本 trigger: - master pool: vmImage: 'windows-2022' variables: - name: Build.ArtifactStagingDirectory v ......
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 ......
【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 ......
Microservice - Data Consistency
To have data consistency in a distributed system, you have two options: a two-phase commit (2PC) and saga. 2PC coordinates all the processes that form ......
[论文阅读] Latent Consistency Models@ Synthesizing High-Resolution Images with Few-Step Inference
1. Pre title: Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inference accepted: arXiv 2023 (ICLR 2024 Submission) paper ......
【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 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 Data Factory(十)Data Flow 组件详解
一,引言 随着大数据技术的不断发展,数据处理和分析变得越来越重要。为了满足企业对数据处理的需求,微软推出了 Azure Data Factory (ADF),它是一个云端的数据集成服务,用于创建、安排和管理数据工作流。在本文中,我们将重点介绍 Azure Data Factory 的数据流(Data ......
【Azure Function App】解决Function App For Container 遇见ServiceUnavailable的异常
问题描述 在使用Terraform创建Function App 后,部署函数时候遇见 ServiceUnavailable (Bad Request -- Encountered an error (ServiceUnavailable) from host runtime.) 问题。 查看Func ......
如何在voj上用自己的账号提交(Submit with your own account)
用voj交题的时候大部分情况都是voj用一个虚拟的bot账号帮你提交到对应题目所在的oj上进行判题 但有些oj平台并不喜欢这种方式,它想让用户去用自己真实的账号提交,比如pta,洛谷,计蒜客...... 在voj上用自己的账号提交的方法如下: 拿pta举例: 在上图中我们发现我们需要一个叫做PTAS ......
[MDP.NetCore] 開發一個從GitHub持續佈署到Azure Container Apps的Web站台
開發一個從GitHub持續佈署到Azure Container Apps的Web站台 程式碼簽入GitHub之後,啟動GitHub Action流程,編譯並部署程式到Azure Container Apps,是開發系統時常見的功能需求。本篇範例協助開發人員使用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的产品. 它基本上提供了 ......
关于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 Function App】如何修改Azure函数应用的默认页面呢?
问题描述 当在Azure中创建了一个函数应用(Function App)后,访问默认URL会得到一个默认的页面。是否有办法修改这个默认页面呢? 问题解答 在之前的博文中,介绍了修改App Service的默认页面。 1:【Azure 应用服务】App Service 默认页面暴露Tomcat版本信息 ......
NetCore之基于Azure Service Bus的消息服务
什么是Azure服务总线? Azure服务总线是完全托管的企业消息代理,包括消息队列和发布订阅(命名空间). Service Bus通常被用来解耦应用程序和服务,控制跨服务和应用程序间安全路由和传输数据。 本篇从实战出发介绍如何通过Service Bus发送接收及消费消息。 1、创建API.Azur ......
Azure DevOps 发布.Net项目到Windows IIS站点之pubxml
通过VS中我们配置的pubxml进行发布 trigger: - master pool: vmImage: 'windows-2022' variables: - group: GeexPublish - name: my-user-variable value: $[variables.UserN ......