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



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

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

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.

In this video let’s understand more about Environments in ASP NET Core, how it’s set, and a few different scenarios where this is used. We will learn about the launchsettings.json file, how the Development environment is set using it. We will also learn how to override values in the file and how we can create custom environments. I will also show you how to use environment specific appsettings.json file and how it works internally.

00:00 – Introduction
01:31 – Development Environment
03:33 – launchsettings.json
06:15 – Setting Environment variables
13:30 – Startup Class and Environment
16:51 – App Settings and Environment

🔗Docs – https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-3.1&WT.mc_id=AZ-MVP-5003875
🔗Source – https://rahulpnath.visualstudio.com/DefaultCollection/YouTube%20Samples/_git/Environments
🔗WIndows Terminal – https://www.rahulpnath.com/blog/setting-up-windows-terminal/

Additional Watching
📹LOGGING – https://youtu.be/dxBlBltEDRs
📹 STARTUP CLASS – https://youtu.be/y7UtOnbUUsg
📹ASP NET Core Series – https://www.youtube.com/playlist?list=PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

Come say hi! ✋
🌍 Blog – https://rahulpnath.com/
✉ Subscribe to my Newsletter – https://www.rahulpnath.com/subscribe
🐦Twitter – https://twitter.com/rahulpnath
📸Instagram – https://www.instagram.com/rahulpnath/

🎥 Recording Setup and Workflow – https://www.rahulpnath.com/blog/youtube_setup_and_workflow/

Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!

Comments are closed.