cost 67 ms
Azure 應用配置重新加載失敗時如何記錄錯誤

[英]How to log an error when Azure App Configuration reload fails

我正在使用 Azure 應用程序配置,並啟用了使用輪詢 model 的動態配置,如此處所述。 我的目標是在由於任何原因重新加載配置失敗時記錄一條錯誤消息,例如不正確的密鑰庫引用。 這是添加 Azure App Configuration 作為配置源的方法。 請注意, AddAzureAppConfi ...

使用 Azure 配置覆蓋 NLog 設置

[英]Overriding NLog settings with Azure Configuration

我有一個應用程序在 Azure 中運行並記錄到數據庫。 我有來自 appsettings.json 文件的 NLog 設置,一切似乎都運行良好。 但是,現在我想通過向 Azure 中的應用程序配置添加應用程序設置來覆蓋日志記錄規則,但它失敗了。 這是應用程序設置中的 NLog 條目。json: 這一 ...

刷新Azure 基於Label的App配置

[英]Refreshing Azure App Configuration Based on Label

我創建了一個 Azure 應用程序配置並向其添加了幾個功能門按照文檔,我向每個添加了不同的 label 以表示不同的環境。 當我沒有定義標簽和功能時,Program.cs 中的以下代碼片段有效 我所說的工作是指功能加載和更改 Azur 應用程序配置中的功能會導致在 10 到 15 秒內更改為熱更改。 ...

為什么我的 Azure 應用程序配置實例受到限制?

[英]Why is my Azure App Configuration instance is being throttled?

我有一個 Azure 應用程序配置的基本實例。 它應該每天允許 1000 個請求。 前一天的使用圖表如下所示: 但我無法再打開 Configuration Explorer 或 Feature Manager。 收到這些錯誤: 我不明白為什么請求開始受到限制,因為每天的使用量遠不及 1000。 ...

如何使用 Service Principal/Managed Identity 訪問 Azure App Configuration?

[英]How to use Service Principal/Managed Identity to access Azure App Configuration?

我需要為 Azure 應用程序配置存儲禁用本地身份驗證方法(訪問密鑰)。 目前對於 ASP.NET Framework 應用程序,我正在使用以下內容從我的應用程序訪問 App Configuration Store: ${ConnectionString} = "Endpoint=https:/ ...

ASP.NET 核心 Web 應用調用 Microsoft Graph 中的配置文件頁面下登錄用戶聲明丟失

[英]Signed-in user claims missing under Profile page in ASP.NET Core Web App calling the Microsoft Graph

我有一個帶有重定向 uri 和前端通道注銷 url 作為 https://localhost:44321/signin-oidc 的單租戶應用程序我可以對應用程序進行身份驗證,但在選擇配置文件后,它不顯示登錄用戶聲明而是拋出異常 應用設置.json :{ "AzureAd": { "Instance ...

如何配置 Azure Function 以使用 Azure 應用程序配置進行動態配置?

[英]How can I configure an Azure Function to work with dynamic configuration using Azure App Configuration?

我正在嘗試編寫一個作為多租戶工作的 Azure Function。 當 clientId 作為參數來自客戶端時,我需要使用標簽從 Azure App Configuration 獲取其配置。 讓我用偽代碼解釋一下; 我正在使用.Net 6 Azure Function 隔離。 我在 Program ...

在 .Net 6.0 中使用 Newtonsoft.Json 隔離進程 Azure 函數

[英]Use Newtonsoft.Json in isolated-process Azure Functions in .Net 6.0

我目前使用 Azure App Configuration 來存儲所有配置數據。 當我讀取數據時,我想使用Newtonsoft.Json而不是默認的System.Text.Json將我的數據正確轉換為自定義類型。 不幸的是,我找不到告訴Program.cs文件中的HostBuilder使用Newto ...

使用 Azure App Configuration 按需動態更新 ASP.NET 配置

[英]Dynamically update ASP.NET config on demand using Azure App Configuration

我想做什么:我正在嘗試使用 Azure 應用程序配置作為源並使用 WebHook 端點訂閱鍵值修改事件的 EventGrid 按需配置 ASP.Net 配置的更新。 我的問題是:當事件到達端點時,代碼執行無誤,但配置畢竟沒有刷新。 背景信息,以及我嘗試過的內容:我還嘗試使用帶有哨兵密鑰的輪詢方法,效 ...

Azure - 直接從 886982359588 azure 中的 App Configuration 讀取 App Config

[英]Azure - Reading App Config directly from Function App's Configuration in azure

TLDR 我可以通過 Function App Configuration variables 部分自動從 App Configuration 檢索值,類似於 AWS 檢索 App Config/Secret 值我來自 AWS 背景,我習慣做的一件事是將我的敏感信息存儲在 App Config/ ...

在 Function 應用程序的依賴注入期間訪問 azure 應用程序配置服務值

[英]accessing azure app configuration service values during dependency injection in a Function App

按照下面的代碼,我連接到 program.cs 中的 azure 應用程序配置服務。 這已經過測試,我可以使用 function 應用程序中的配置設置。 但我還想配置其他服務,例如 blob 容器客戶端。 我可以訪問 ConfigureServices 中的應用程序配置值嗎? ...

Azure 應用程序配置與 JS sdk 的緩存選項

[英]Caching options for Azure App Configuration with JS sdk

在使用 Azure App Config 進行功能標記時緩存或以其他方式減少請求數量的任何想法? .NET sdk 文檔確實提供了一些選項,包括用於設置緩存過期時間的.SetCacheExpiration方法,但在 js sdk 中似乎沒有任何類似的東西。 任何指針將不勝感激 - 謝謝! 上下文: ...

Azure 的動態配置更改 azure 功能的應用程序配置

[英]Dynamic Configuration Change from Azure App Configuration of azure functions

我使用在 java 上編寫的 azure http 函數來處理基於 webhook 的不同事件。 這些功能的許多配置都存儲在 azure 應用程序配置中,因此我們可以在不重新啟動 function 應用程序的情況下動態更改配置。 作為事件的處理程序,我有一個事件網格觸發了 function,它僅在配 ...

如何為 ARM 中的特定應用配置資源分配應用服務系統托管標識應用配置數據讀取者角色

[英]How to assign an App Service system managed identity App Configuration Data Reader role for a specific App Configuration resource in ARM

我想將角色分配從我的應用配置添加到我的應用服務。 在Azure portal中,我可以這樣做: App Configuration -> Access control (IAM) -> Add role assigment -> App Configuration Data Rea ...

我如何將模塊與 AppConfiguration 一起使用,以僅獲取 KeyValues?

[英]How can i use modules with AppConfiguration, to only get the KeyValues?

我有這個模塊 AppService AppServicePlan AppConfiguration AppConfigurationKeyValues(這個模板只有值代碼和一些參數,沒有資源,應用配置) Main.Bicep 中我調用 AppConfigurations 配置的部分是: 模塊 A ...

如何將 json 文件(json 文件的路徑)設置為 Azure 應用程序設置中的值?

[英]How do I set json file(json file's path) to a value in Azure App settings?

如何將 json 文件(json 文件的路徑)設置為 Azure 應用程序設置中的值? 我將 Firebase SDK 添加到服務器。 我將“/my-json-file.json”定義為 GOOGLE_APPLICATION_CREDENTIALS 鍵的值。 因為“/”表示“\site\wwwr ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM