Coding Shorts

  Рет қаралды 1,601

Shawn Wildermuth

Shawn Wildermuth

Күн бұрын

Пікірлер: 6
@cdnkarasu
@cdnkarasu 3 ай бұрын
This seems great for a production setup. For local dev would you just wrap the .Add with #if RELEASE or would you recreate all the keys in the Azure App Configuration with a Dev label and dev values, but then how would other devs have different settings?
@swildermuth
@swildermuth 3 ай бұрын
I would use appsettings.{buildtype}.json for dev-time configuration. I wouldn't even apply the App Configuration at dev time. For secrets, User Secrets. In .NET Core, I would never do #if RELEASE as Environment.IsDevelopment() is preferred.
@SachinDewan12
@SachinDewan12 3 ай бұрын
Hi shawn , great example. Got confused in one place where you have configured app config connection in app settings file this is fine for local but when we deploy application from where we read this connection string.
@swildermuth
@swildermuth 3 ай бұрын
It's just a configuration setting, so as an Environment Variable is usually how it is done (this is the one bootstrapping config that you need to read the rest of the app configuration)
@AkashAggarwal-d4x
@AkashAggarwal-d4x 3 ай бұрын
is there a way to make these settings region independent? configuration is definitely one of issues when you have so many azure app services and function apps but the other issue I see is also creating one function app for each region. Ideally Microsoft should have setting when you create an app service or function app it should ask if you want regional redundancy (and then let you pick which region, ) just like zone redundancy and then it should automatically give you the new url which is created with front gate and application gateway preconfigured /predeployed vs us having to create one in say East region one in West region. Are there other cloud providers that offer this kind of region redundancy by default as part of code deployment? is this something planned for future or maybe its out there and I am not aware.
@swildermuth
@swildermuth 3 ай бұрын
I don't know. But if it doesn't support it, you could use a prefix (e.g. ASIA:...) to have region specific. I think it only georeps the whole one. Also, these are cheap, so you could just have one for each region.
Coding Shorts #104: Can We Do Better Than Swagger?
11:03
Shawn Wildermuth
Рет қаралды 9 М.
Coding Shorts 111: Was I Wrong About Blazor?
16:35
Shawn Wildermuth
Рет қаралды 16 М.
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 14 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 20 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 16 МЛН
Azure App Configuration - Fundamentals
1:06:33
Alexander Schmidt (codingfreaks)
Рет қаралды 1,7 М.
Coding Shorts: Ahead-of-Time Compilation in C# (AOT)
12:03
Shawn Wildermuth
Рет қаралды 2,2 М.
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 11 М.
Coding Shorts: C# Dialects and Idioms
19:13
Shawn Wildermuth
Рет қаралды 3,4 М.
Linus Torvalds: Speaks on Hype and the Future of AI
9:02
SavvyNik
Рет қаралды 257 М.
What's New in TailwindCSS 4? | Coding Shorts 112
15:39
Shawn Wildermuth
Рет қаралды 2,4 М.
Host your Domain on Azure DNS
19:47
rijoskill
Рет қаралды 1,2 М.
Coding Shorts: Running Async Jobs in ASP.NET Core
9:52
Shawn Wildermuth
Рет қаралды 4,5 М.
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 14 МЛН