Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
106 views

I have to set a string array in the configuration when starting an ASP.NET Core web application. I get the string array from Azure Key Vault, and it works fine. It's only included in the code below ...
Anders Finn Jørgensen's user avatar
0 votes
1 answer
166 views

I'm working on an ASP.NET Core Web API project that used to work fine with IOptions<ApplicationSettings> to bind values from appsettings.json. But suddenly, appSettings.Value is returning null, ...
Kasturi's user avatar
  • 49
0 votes
0 answers
37 views

1. ObjectStorageFramework Extension: using ASobjectstorage.Interface; using ASobjectstorage.Models; using ASobjectstorage.Services; using Microsoft.Extensions.Configuration; using Microsoft.Extensions....
Jayachandran's user avatar
0 votes
2 answers
173 views

I am in the process of migrating a large solution from .NET Framework 4.8 to .NET 9.0. I used .NET Upgrade Assistant to get started. I have a long way to go. All of the projects in the solution have ...
Trint's user avatar
  • 29
0 votes
1 answer
84 views

I have this configuration in an ASP.NET Core MVC app: "CustomSite": {     "Management": {         "Confined": {             "DefaultUILanguage": "en-GB&...
KeithViking's user avatar
-1 votes
1 answer
79 views

i have a .net core application that uses event hub to consume & produce messages. it uses azure event hub & i configured sasl.username as "$ConnectionString" & sasl.password as &...
Prageeth Athulathmudali's user avatar
-1 votes
1 answer
338 views

I have an Azure Function app created locally using Python code, SQL Server change tracking that tracks any operation and triggers the SQL Server trigger for further process. app = func.FunctionApp() ...
sudip's user avatar
  • 1
0 votes
1 answer
68 views

I'm trying to load data from my appsettings file in an ASP.NET Core project. I've done it before, but now I can't get it to work. Furthermore, I'm trying to configure a section names Images and bind ...
SteinTech's user avatar
  • 4,144
0 votes
0 answers
60 views

Is there a simple way to simulate Azure DevOps Replace Token task in GitLab CI/CD? I have the following secret (with many others) in appsettings.Testing.json that I need to replace in deploy stage: &...
Stefano Vacondio's user avatar
0 votes
0 answers
20 views

I want to add a collection element to application configuration for certain environments like production or development, without overwriting already present collection elements added earlier through ...
DhyMik's user avatar
  • 393
2 votes
1 answer
65 views

I am building a .net minimal api with a lot of settings defined via appsettings.json. But how to use this setting classes in program.cs without the compiler generating the warning: ASP0000 Calling '...
user1911091's user avatar
  • 1,442
0 votes
0 answers
66 views

I have appsettings storing different blob storage config. However, API occasionally will retrieve wrong blob storage config although it set to read the correct config. Here's my code - Startup.cs: ...
Chee Mun's user avatar
0 votes
0 answers
104 views

I was tasked with upgrading the application version from .net core 2.0 to .net 8, since I'm doing it for the first time, I had to fix the code a bit. I noticed that in my company the connection string ...
Tomi's user avatar
  • 83
0 votes
2 answers
81 views

In my .NET 6.0 / C# project, I have variable defined as { "Address": { "AddressLine1": "220 E. Yut Drive Suite 20", "AddressLine2": "...
Kavita Korgaonkar's user avatar
-1 votes
1 answer
83 views

I have a bunch of different appsettings.json for a number of customers. However, the nLog-portion of these appsettings never changes, so I'd love to have one single json-File for the nLog-config. So I ...
RedSonja's user avatar
  • 340
0 votes
1 answer
51 views

I have an ASP.NET Core 8 Web API project which contains the following setting files: appsettings.json appsettings.Local.json Following the instructions here, I also have a test project to run an in-...
osotorrio's user avatar
  • 1,232
0 votes
0 answers
297 views

I've been using the default certificate from appSettings.json in a bunch of ASP.NET Core applications without any issues. "Kestrel": { "Certificates": { "Default": {...
Stephan Steiner's user avatar
0 votes
0 answers
155 views

I have a GitHub Actions workflow where I'm trying to substitute a connection string in the appsettings.json file before deploying to Kubernetes. However, the substitution step doesn't seem to be ...
PPB's user avatar
  • 121
0 votes
1 answer
76 views

We have a DTAP (DEv, Test, Acc and Prod) environments, and when we do a release in the env's for node specific. (In Acc and PROD I have 3 nodes), while trying to create a release in Azure DevOps,the ...
Kitty's user avatar
  • 1
0 votes
1 answer
487 views

I have my servicebustrigger connection string in the appsettings.json file. function app 8 version can't able to bind the value. Here is appsettings.json file approach 1: `{ "keyVault": &...
Meeran S's user avatar
0 votes
1 answer
43 views

I am trying to set up a logging system that adds log files to subfolders based on the year. However I've been unable to programmatically specify the year. I can hardcode it and it works fine, but I ...
L. Wallach's user avatar
0 votes
2 answers
484 views

I am adding some appsettings for a function app in YAML: steps: - download: current displayName: Download app artifact artifact: app - task: AzureAppServiceSettings@1 displayName: Azure App ...
James Blackburn's user avatar
0 votes
2 answers
284 views

I wanted to fetch a key from appsettings.json file to javascript code in .net 8 MVC project. i have added the key in appsetting.json in the below manner. appsettings.json { "RequestCountlimit&...
Madhu Patel's user avatar
2 votes
1 answer
230 views

I have a function app, the app settings has several different PATs One of the function is an HTTP trigger, the request body will contain a specific name and that name should be used to retrieve the ...
nevermonday's user avatar
0 votes
1 answer
660 views

I have this local.settings.json in my local Azure function (Timer trigger) { "IsEncrypted": false, "Values": { "AzureWebJobsStorage": "", "...
María Casasola Calzadilla's user avatar

1
2 3 4 5
24