ENVIRONMENTS in ASP NET Core | Getting Started With ASP.NET Core Series

preview_player
Показать описание
Hello Friend 👋, ASP.NET Core configures application behavior based on the runtime environment using an environment variable. Out of the box, the framework provides three values - Development, Staging, and Production. More can be added based on your needs.

00:00 - Introduction
01:31 - Development Environment
06:15 - Setting Environment variables
13:30 - Startup Class and Environment
16:51 - App Settings and Environment

Additional Watching

Come say hi! ✋

Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!
Рекомендации по теме
Комментарии
Автор

Hi Rahul,
even without subtitles this video is very very clear and valuable.
U make me discover new things as always <3
Thanks for the good work

ivanpesenti
Автор

Congratulations, it is very comprehensive about the subject.

rogeriocastellano
Автор

Great lesson series for asp.net core. I have learned all .net core topics here and which are very practical too. Make aome advance level topics as well.

Thabk u Rahul

swapnilvaychale
Автор

I really like the clear explanations and code examples. I watch your videos on 1.25x or 1.5x speeds :D For me a little faster is better :D Subscribed!

mryildiz
Автор

Very comprehensive video. What I can't figure out is how when using Azure Devops to deploy a solution, you can specify the environment for the target on premise machine.
The examples I have found are 1 adding an environment variable at the machine level (not preferred) or adding environmentVariable ASPNETCORE_ENVIRONMENT in the web config that is created from devops if you deploy to IIS. Haven't been able to figure out how to do this automatically yet but I'm working on it. If you have other suggestions would love to hear it.

chrishaas
Автор

Thank you, great lesson on the series, can you please post videos on docker and kubernetes in the future ?

amineherizi
Автор

Thank you dear... We need a video to explain Kafka (message broker) with asp. Net core

mohammedalbosifi
Автор

Hi Rahul, Hope you are doing great.
Well, First of all thanks for teaching us. Secondly i want know how the actual implementation is show to you when you navigate to "env.IsDevelopment()". when i do the same thing i just get the metadata file. I'm using Visual Studio 2019 currently.

abdullahmirza
Автор

Another excellent video. Thank you. Do you have a video for a full web.api net core deployment?

callegarip
Автор

i have two files appsettings.Development.json & appsettings.Production.json, i want to apply ef_core update-database according to environment development or production put command doesn't work
"dotnet ef database update -- --environment Production" always apply developmnet file

younesreguieg
Автор

Nice video! How do i archive the same behavior with azure Pipeline with multiple environment app settings?

anilanandachakrabortty
Автор

I just want to hide my API Keys... how do I do that... by default the appsettings get push to my git repository

hendrykhoza
Автор

Hi Rahul, if launch settings json is not deployed how will the environment name be detected after deploying

ashleyrodrigues
Автор

Hi rahul
hope you are doing well mate in this lockdown!!
do you have any videos explaning deploying of an application into an public cloud domain ?

let me know
cheers

shaunrod