FEATURE FLAGS in ASP NET Core | Azure App Configuration | Getting Started With ASP.NET Core Series

Тәжірибелік нұсқаулар және стиль

Hello Friends, Feature flags also referred to as Feature Toggles are a powerful technique to modify application behaviour without changing code. They allow features to be turned on and off dynamically.
The .NET Core Feature Management libraries extend the framework with comprehensive feature flag support. These libraries are built on top of the .NET Core configuration system. Any .NET Core configuration provider is capable of acting as the backbone for feature flags.
In this video let's learn about the Feature management libraries in .NET, how we can use them in an ASP NET Core application, and the different ways to manage these feature toggles. We will learn how to add a simple boolean feature flag, add more advanced feature flag filters (PercentageFilter) and also create custom Feature Flag Filters.
To use feature flags effectively, we need to externalize all the feature flags used in the application. This allows modifying the application behaviour without modifying the application itself. We will use the Feature flags feature in Azure App Configuration to store feature flags for our application and retrieve them during runtime in our application.
00:00 - Introduction
01:50 - Add Feature Flag
09:12 - Feature Flag Attribute
12:38 - Advanced Feature Flags
17:43 - Custom Feature Flag Filter
23:40 - Feature Flags In Azure App Configuration
🔗Source Code - bit.ly/feature-flag-asp-net-core
🔗Feature Flags Library - github.com/microsoft/FeatureM...
Additional Watching
📹 Configuration - • CONFIGURATION in ASP.N...
📹 Azure App Configuration - • AZURE APP CONFIGURATIO...
📹Dependency Injection - • DEPENDENCY INJECTION i...
📹Middleware - • MIDDLEWARE in ASP.NET ...
📹 Managed Identity - • Azure SDK DefaultAzure...
📹 Filters- • FILTERS In ASP NET Cor...
📹ASP NET Core Series - • ASP.NET Core
LInks
🔗 App Configuration - docs.microsoft.com/en-us/azur...
🔗 Managed Identity - docs.microsoft.com/en-us/azur...
🔗 Event Grid Integration - docs.microsoft.com/en-us/azur...
Come say hi! ✋
🌍 Blog - rahulpnath.com/
✉ Subscribe to my Newsletter - www.rahulpnath.com/subscribe
🐦Twitter - / rahulpnath
📸Instagram - / rahulpnath
🎥 Recording Setup and Workflow - www.rahulpnath.com/blog/youtu...
Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!

Пікірлер: 88

  • @manofqwerty
    @manofqwerty Жыл бұрын

    This is far better than Microsofts actual training/guidence for feature flags. Thank you!

  • @beastman1927
    @beastman192711 ай бұрын

    I work in one of the big 4, and this helps to be better in my job. 🙏

  • @RahulNath

    @RahulNath

    11 ай бұрын

    Glad to hear that!! Thank you

  • @mayureshs80
    @mayureshs803 жыл бұрын

    So useful tool but probably not known to many. Thanks

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Very much an under-utilized feature, I agree!

  • @vikasjoshi4708
    @vikasjoshi47083 жыл бұрын

    Really useful in the cases of single branch development Model (y). Thanks for sharing and the demo.

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Absolutely yes. 'Feature Flag' Driven Development (FDD) 😀. Glad you liked it.

  • @amineherizi4687
    @amineherizi46873 жыл бұрын

    The best so far, please keep posting videos on Azure & .net we learn so much from your tutorials

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Thank you, I will Amine. Do drop in topic suggestions if you have any.

  • @amineherizi4687

    @amineherizi4687

    3 жыл бұрын

    @@RahulNath Azure CDN & application gateway

  • @indiantamizhan1289

    @indiantamizhan1289

    3 жыл бұрын

    Please do cover unit testing for ASP.NET CORE API

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    @@indiantamizhan1289 Thank you for the suggestion. Sure yes coming out soon

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    @@amineherizi4687 Noted and added to my list 👍

  • @redboy6889
    @redboy68892 жыл бұрын

    This is very neatly defined. The only "restriction" I see using this approach is that the FeatureManagement module can only be used in the App Service level ( like WebAPI, Service Fabric , Azure Functions...etc. ). I may be able to use this effectively in the business logic tier. I believe this was intentionally kept like that to make the design cleaner.

  • @vijaisebastian
    @vijaisebastian2 ай бұрын

    One of the best video about feature management and subscribed

  • @RahulNath

    @RahulNath

    Ай бұрын

    Glad you liked it! Do check out the full series bit.ly/asp-net-core-series

  • @nevi0030
    @nevi00303 жыл бұрын

    Great video, thanks for all the hard work!

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Glad you enjoyed it Chris! Thank you.

  • @tehklevster
    @tehklevster2 жыл бұрын

    This is an excellent treatment of feature flags Rahul, especially the Azure App Configuration feature.

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Glad you liked it!

  • @SumitJoshi2014
    @SumitJoshi20142 жыл бұрын

    Very interesting video.., Grt Work done...

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Glad to hear that. This post might interest you as well if you are looking to manage sensitive info www.rahulpnath.com/blog/handling-application-configuration/

  • @prasadwalwadkar3246
    @prasadwalwadkar32462 жыл бұрын

    Following your Videos on .Net and Azure and they are really useful, Great Work.

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Glad you like them Prasad!

  • @shrimohan1
    @shrimohan13 жыл бұрын

    You are the god bro. No words for such amazing teaching.

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Glad its helping you Shreeniwas! But definitely not God 😀

  • @gereldynquizora3598
    @gereldynquizora35982 жыл бұрын

    Very nice. Thank you!

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Glad you liked it! Do check out the full series here bit.ly/asp-net-core-series

  • @staker4
    @staker43 жыл бұрын

    Excellent 👌

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Thanks a lot 😊

  • @partisanemo2079
    @partisanemo20792 жыл бұрын

    Another cool, useful and helpful vid from you, Rahul 👍👌👏

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Thanks a lot 😊And happy to see you around Patisan!

  • @kirann1656
    @kirann16562 жыл бұрын

    Really useful content. thanks for covering azure demo also in this tutorial.

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Glad it was helpful Kirankumar. Do check out the full series here kzread.info/head/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

  • @sajidahmed2558
    @sajidahmed25583 жыл бұрын

    Very good explanation, Thanks a lot

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    You are welcome Sajid!

  • @rohitpatil2903
    @rohitpatil29033 жыл бұрын

    It will really help me. Thanks for such nice video.

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Most welcome Rohit 😊

  • @barwalgayatri4655
    @barwalgayatri46552 жыл бұрын

    Thank you Good Knowledge transfered to me .

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Glad to hear that Barwal!

  • @subrataranjanpal6518
    @subrataranjanpal65182 жыл бұрын

    Wonderful , Thank you so much Rahul.

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Most welcome Subrata!

  • @ravichandranrathinam4115
    @ravichandranrathinam41152 жыл бұрын

    Hi Rahul, Great presentation and well organized. Is it possible to create a custom filter with a property of type complex object ? if so , Are you able to share any sample code?

  • @teluguvedam3048
    @teluguvedam30483 жыл бұрын

    You are the best trainer for .Net core with valuable content of every minute in your videos. Could you please start angular series as well?

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Thank you and happy that you are liking it. With angular, I don't think any time soon. I mostly work with React (but again my main focus at the moment is backend). Thank you for the suggestion though 😀

  • @teluguvedam3048

    @teluguvedam3048

    3 жыл бұрын

    @@RahulNath keep up the good work. Thanks for your response.

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    @@teluguvedam3048 Sure 😀

  • @ajaysonar662
    @ajaysonar6622 жыл бұрын

    Awesome! appreciate the clear voice.

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    My pleasure Ajay! Hope you are enjoying the series bit.ly/asp-net-core-series

  • @ajaysonar662

    @ajaysonar662

    2 жыл бұрын

    @@RahulNath Yes I am ! I cant be a member yet, but I have brought few friends to subscribe to your channel and they also liked it very much. Thanks again !

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    @@ajaysonar662 Thank you Ajay for spreading the word and happy to hear it's helping!!

  • @ashokansivapragasam2762
    @ashokansivapragasam2762 Жыл бұрын

    Great `presentation!

  • @RahulNath

    @RahulNath

    Жыл бұрын

    Glad you liked it! Do check out the full series bit.ly/asp-net-core-series

  • @ashokansivapragasam2762

    @ashokansivapragasam2762

    Жыл бұрын

    @@RahulNath ofcourse, I wil! Thanks for next courses.

  • @bvsjagan
    @bvsjagan Жыл бұрын

    Nice explanation, Is it possible to share the feature flags to Reactjs/Angular application and have the same context of feature percentage shared between backend and frontend?

  • @AhmedMubarakZ
    @AhmedMubarakZ Жыл бұрын

    Thank you

  • @RahulNath

    @RahulNath

    Жыл бұрын

    You're welcome Ahmed! Hope you are enjoying the ASP Series bit.ly/asp-net-core-series

  • @pirasannaravi9402
    @pirasannaravi94022 жыл бұрын

    Hi Rahul, first of all very good video with good pace of rendition… I’ve a question. How to propagating the flag information to other projects in the solution? for example to the tests project or services project?

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Glad you liked the video. Are you planning to use a different App Configuration Instance for the test project? If not you can use labels for different environments (or tests) docs.microsoft.com/en-us/azure/azure-app-configuration/howto-labels-aspnet-core?tabs=core5x For main applications I would assume it all uses the same App configuration. The idea would be to reuse the same flag if the value in it is to mean the same for all the different apps using it. If you have further questions, feel free to reach out.

  • @ivanpesenti1138
    @ivanpesenti11383 жыл бұрын

    Hi Rahul, very very nice video 😎 My topic suggestion for the next videos is Repository Pattern and Unit Of Work in EF Core. It would be amazing if u can explain how to use them and their use cases. Thank u

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Thank you Ivan for the suggestion. Yes will do some videos around EF and associated patterns.

  • @ivanpesenti202

    @ivanpesenti202

    3 жыл бұрын

    @@RahulNath thank u 🤓

  • @prasadwalwadkar3246
    @prasadwalwadkar32462 жыл бұрын

    Will be helpful if you can make Video on Azure Synapse.

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Thank you for the suggestion Prasad. Added it to my list

  • @praveenkumarp2322
    @praveenkumarp23227 ай бұрын

  • @RahulNath

    @RahulNath

    7 ай бұрын

    👍bit.ly/asp-net-core-series

  • @praveenkumarp2322

    @praveenkumarp2322

    6 ай бұрын

    @@RahulNath hi Sir, I am unable to edit inline row in Handsontable in angular. Any suggestion

  • @techpc5453
    @techpc5453 Жыл бұрын

  • @andrewreiser3584
    @andrewreiser35843 жыл бұрын

    Very good video. Quick question - do you mind telling me which microphone you are using? I am looking to buy one and your audio is very good.

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Thank you Andrew. I use Rode podcaster. Full setup details here www.rahulpnath.com/blog/youtube-setup-and-workflow/ Happy to help if you have additional questions.

  • @andrewreiser3584

    @andrewreiser3584

    3 жыл бұрын

    @@RahulNath Thank you for that. You're a gentleman and a scholar.

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    @@andrewreiser3584 That's so nice of you 😀

  • @anujasingh7597
    @anujasingh7597 Жыл бұрын

    Hi can we implement this with wcfservice in c# ?..... Can you please make a poc on that

  • @swatimaheshwari6521
    @swatimaheshwari65212 жыл бұрын

    Thank you for sharing this tutorial :) Is there some other alternative to technology like Feature Management? Standard pricing for this supports only 30k calls per hour

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    Thank you Swati. 30k is sufficiently large enough. Are you seeing yourself crossing that limit? LaunchDarkly is another service that I have used and can recommend launchdarkly.com/ (Gives a lot more flexibility too)

  • @swatimaheshwari6521

    @swatimaheshwari6521

    2 жыл бұрын

    @@RahulNath Thank you for the reply. Is there some similar solution for MVC solutions in .Net Framework too?

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    @@swatimaheshwari6521 The libraries/nuget packages can be used from an MVC app as well. Are you facing any challenges ?

  • @gopireddy7802
    @gopireddy78023 жыл бұрын

    Hi, could you please make video on scale set servers deployment.

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    Thank you for the suggestion. Assuming you are referring to VM Scale Sets. I've not been working much with virtual machines, so don't think I'll do one any time soon.

  • @zeeshanasghar3751
    @zeeshanasghar37512 жыл бұрын

    Guys FEATURE MANAGER in the portal is available to me, can some let me know whats the issue

  • @RahulNath

    @RahulNath

    2 жыл бұрын

    I guess you mean it's not available? Not sure why that would be though.

  • @poonkodithirumoorthi8057
    @poonkodithirumoorthi80573 жыл бұрын

    How to use cosmos Core/SQL api in React js? Can't find the document please help me

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    The JavaScript library will be a good start docs.microsoft.com/en-us/javascript/api/overview/azure/cosmos-readme?view=azure-node-latest&WT.mc_id=AZ-MVP-5003875 Let know if that helps.

  • @poonkodithirumoorthi8057

    @poonkodithirumoorthi8057

    3 жыл бұрын

    I have tired this document it's not working.

  • @poonkodithirumoorthi8057

    @poonkodithirumoorthi8057

    3 жыл бұрын

    Do u have any other idea way to connect?

  • @RahulNath

    @RahulNath

    3 жыл бұрын

    @@poonkodithirumoorthi8057 What issue are you facing with the above document? What is your use case of connecting to Cosmos directly from a React SPA client app? Usually, I have a server-side API that would then talk to cosmos.

  • @poonkodithirumoorthi8057

    @poonkodithirumoorthi8057

    3 жыл бұрын

    I'm planning to connect database without serverside api/call?

Келесі