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

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 296

  • @RahulNath
    @RahulNath  4 роки тому +10

    Source Code - rahulpnath.visualstudio.com/DefaultCollection/UA-cam%20Samples/_git/aspnetMiddleware

    • @UPSCCSE-ku7ej
      @UPSCCSE-ku7ej 4 роки тому +1

      Awesome work Mr.Nath .......

    • @RahulNath
      @RahulNath  4 роки тому

      @@UPSCCSE-ku7ej Thank you!

  • @siddharth3837
    @siddharth3837 2 роки тому +4

    One of the greatest tutorial for middleware. Removing all default code and explaining how it all works is amazing. I wish I came to know about you before. I also like you didn't waste any time in the intro and directly jumping into middleware.

    • @RahulNath
      @RahulNath  2 роки тому +1

      Thank you Siddharth! Glad you like it - Do check out the full series bit.ly/asp-net-core-series I’m sure you’ll like it

  • @dheeraj0076
    @dheeraj0076 2 роки тому +3

    One of the best tutorial I found on internet explaining middleware. Lucid and clear explanation. Thanks Rahul

    • @RahulNath
      @RahulNath  2 роки тому +1

      You're most welcome Dhiraj. I'm sure you will like the other videos in this series bit.ly/asp-net-core-series

  • @SahanSerasinghe
    @SahanSerasinghe 4 роки тому +15

    Thanks for the crystal clear explanation Rahul! I really liked how you started from a blank Configure method and started diving deeper into the concepts 👏 Keep up the awesome work!

    • @RahulNath
      @RahulNath  4 роки тому +1

      Thank you Sahan for letting me know!

    • @k7raman
      @k7raman 3 роки тому

      Yes , this way of explanation will give deeper understanding.

  • @umarfaruq9888
    @umarfaruq9888 Рік тому

    You are too good man. I like to have such level of deep understanding. Very fluent speaking unlike most of the "Desi" guys.

    • @RahulNath
      @RahulNath  Рік тому

      So nice of you and glad you are liking the videos. Hope you are enjoying the series bit.ly/asp-net-core-series

  • @sbitaxi
    @sbitaxi 3 роки тому +1

    I am only 5 minutes into this video and I already think this is great.
    A fine introduction to middleware in Aspnetcore, thank you. It makes it very clear what this does.

    • @RahulNath
      @RahulNath  3 роки тому

      Glad it was helpful! I am sure you will enjoy the series here ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html

  • @sojans.r9025
    @sojans.r9025 Рік тому +1

    Very crisp and clear explanation of the concepts. Thank you so much!

    • @RahulNath
      @RahulNath  Рік тому

      Glad it was helpful Sojan! Do check out the full series bit.ly/asp-net-core-series

  • @carsugarmodels
    @carsugarmodels Рік тому +3

    Man you are awesome! Your
    ability to describe and clarify things is unbelievable.

  • @shreesusma7679
    @shreesusma7679 2 роки тому

    Hello Rahul, Thanks for the video.I have never seen any youtube videos explaining in such a clear and precise way.Thanks a lot.

    • @RahulNath
      @RahulNath  2 роки тому

      Thank you for the wonderful comment Shree. The full ASP Series is here bit.ly/asp-net-core-series

  • @waleedbintariq1840
    @waleedbintariq1840 2 роки тому +3

    I have been watching your videos lately and I have to say, they are amazing. Your style of delivery and the way you cover all the scenarios is really helpful. Well done and keep on making these awesome videos.

    • @RahulNath
      @RahulNath  2 роки тому +1

      Glad you like them Waleed! The full series is here bit.ly/asp-net-core-series
      And do let know if you have any topic suggestions or other feedback

    • @waleedbintariq1840
      @waleedbintariq1840 2 роки тому

      @@RahulNath Thankyou Rahul. The playlist will be really useful to me.

    • @RahulNath
      @RahulNath  2 роки тому

      @@waleedbintariq1840 Great - do let me know your feedback and comments 😀

  • @VinayKumar-qu1eg
    @VinayKumar-qu1eg 4 роки тому +4

    Simply awesome. I don't remember any other tutorial explained middleware this well.

  • @miyazakizachary5108
    @miyazakizachary5108 2 роки тому +1

    By far the best explanation on asp.net core middleware. Thanks a lot.

    • @RahulNath
      @RahulNath  2 роки тому

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

  • @ashishshiwalkar1903
    @ashishshiwalkar1903 2 роки тому +1

    Excellent video, lot of information conveyed , Please also make one video on asp core request life cycle and application life cycle.

    • @RahulNath
      @RahulNath  2 роки тому

      Thank you Ashish! Checkout my ASP Series I cover in detail the different aspects of ASP NET in detail bit.ly/asp-net-core-series
      Let me know if that helps or if you have specific questions/areas to be covered.

  • @wchishti
    @wchishti 3 роки тому +1

    Thank you. Your video made it very easy for me to understand the "middleware magic"

  • @dotnetdeveloper288
    @dotnetdeveloper288 3 роки тому +2

    I shared your channel with my friends for best learning purpose. Great teaching skills with live examples.....

    • @RahulNath
      @RahulNath  3 роки тому +1

      That is amazing and thank you! Happy to hear that 😀

  • @prasannavenkataswamy347
    @prasannavenkataswamy347 Рік тому +2

    Rahul you are doing a great job of teaching. Please keep up the good work 👍

    • @RahulNath
      @RahulNath  Рік тому +1

      Thanks a lot Prasanna! hope you are liking the full series bit.ly/asp-net-core-series

  • @pardhasaradhivasamsetty7693

    Rahul, you are an amazing person. The details provided by you is excellent and it is helping us a lot. Thank you.

    • @RahulNath
      @RahulNath  Рік тому

      Thanks a ton and so nice of you Pardhasaradhi. Hope you are enjoying the full series bit.ly/asp-net-core-series

  • @prateekbhardwaj9943
    @prateekbhardwaj9943 3 роки тому +1

    your video is not copy-paste. very clear and concise, good voice modulation and you used a good mic... going to subscribe your channel.

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you Prateek. Happy that you like it. Yes, I put in a lot of time to come with the flow to introduce the various concepts within a topic. I believe the way topics are introduced matters.
      You might like the other videos in this series ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html

  • @owns3
    @owns3 2 роки тому

    started the video confused by your voice - thanks for address it. Love this asp.net core series! thanks for creating it!

    • @RahulNath
      @RahulNath  2 роки тому +1

      Glad it was helpful!

  • @k7raman
    @k7raman 3 роки тому +2

    I think second way of visual representation of middleware will make more sense to understand the whole picture for beginners. Again thank you for good tutorial 👍🏾

    • @RahulNath
      @RahulNath  3 роки тому

      Thanks for sharing and glad you liked it!

  • @trending_reels_viral_6657
    @trending_reels_viral_6657 4 роки тому +4

    Nice Explanation and informative too. It would be great if can can prepare a tutorial on Delegates and how to use them.

    • @RahulNath
      @RahulNath  4 роки тому +2

      Glad it helped and great suggestion. I will it to my list!

    • @tejaswinisuryawanshi873
      @tejaswinisuryawanshi873 2 роки тому

      @@RahulNath could you please upload delegate video

    • @RahulNath
      @RahulNath  2 роки тому

      @@tejaswinisuryawanshi873 Any specific use cases you are looking at with delegates?

  • @daryoes
    @daryoes 4 роки тому +1

    Great job, you voice does not matter , your teaching is great!

    • @RahulNath
      @RahulNath  4 роки тому

      Awesome thanks! Is my voice hard to follow (fast, slow or my accent in general) 😀

  • @ziaurrahman8776
    @ziaurrahman8776 Рік тому +1

    Its always interesting to see you teaching the concepts in deep and in very precise way.

    • @RahulNath
      @RahulNath  Рік тому

      Glad you think so Ziaur! Hope you are enjoying the full series bit.ly/aws-net-series

  • @8692Manish
    @8692Manish Рік тому

    Dude!!! you are amazing. you covered all minor things quickly with practically. Thanks for this amazing delivery of topic.

    • @RahulNath
      @RahulNath  Рік тому

      Glad you like it Manish! Do check the full playlist here bit.ly/asp-net-core-series

  • @sindhujakelam2289
    @sindhujakelam2289 Рік тому

    Thank you so much Rahul for this in depth explanation on basic key functions. It was very useful .

    • @RahulNath
      @RahulNath  Рік тому

      Glad it was helpful Sindhuja! do check out the full series here bit.ly/asp-net-core-series. I'm sure you'll like them

  • @vijayabhaskarreddymarepall1369
    @vijayabhaskarreddymarepall1369 2 роки тому +1

    I have rarely seen these kind of videos . Your video is crystal clear and provides in depth knowledge of the topic . Thanks so much and soon you will reach more than million subscribers if you continue the same . Really appreciate all your efforts

    • @RahulNath
      @RahulNath  2 роки тому

      thank you and happy you liked the video. Do check out the full series bit.ly/asp-net-core-series Sure you will like them.

  • @DebasmitSamal294
    @DebasmitSamal294 3 роки тому +1

    what an lecture. Excellent and awesome. Clear explanation

    • @RahulNath
      @RahulNath  3 роки тому

      Glad you liked it, Thank you!

  • @ThusanthaNandDeSilva
    @ThusanthaNandDeSilva 2 роки тому

    Thanks very much Rahul for this beautiful presentation on Middleware. I must commend that your presentation is super excellent.

    • @RahulNath
      @RahulNath  2 роки тому

      You are most welcome! Do check the full series here bit.ly/asp-net-core-series

  • @akashlondhe1110
    @akashlondhe1110 3 роки тому +1

    Hey Rahul, Your videos are awesome and in very perfectly explained in depth. Please bring more videos on .net core ...❤️👍

    • @RahulNath
      @RahulNath  3 роки тому +1

      Thank you Akash. Sure I will. Hope you have come across the other videos in this series ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html
      Do let me know your feedback if you get a chance to watch those. More are on the way and do let know if you have specific topics to be covered!

  • @jaykaneria5895
    @jaykaneria5895 Рік тому +1

    Hi Rahul, I just started with this series and I really appreciate how in-depth you go while explaining the concepts. Thank you so much for this. One question - Do you have any document for these concepts that can be used to go through qucikly during an interview preparation to revise these concepts? Thanks again.

    • @RahulNath
      @RahulNath  Рік тому

      You're very welcome Jay! most of these are based of the official Microsoft docs. I try and put the relevant links to the doc in the video links. Good suggestion thought with providing a concise pocket guide for reference kind of document. Will see if I can put something together. Good luck with your interviews.

  • @ahmedbasha4174
    @ahmedbasha4174 3 роки тому +2

    Thanks for the clear explanation, hope you will get more subscribers. Keep making videos like this....

    • @RahulNath
      @RahulNath  3 роки тому +1

      Thank you Ahmed. Happy these are helpful 😀

  • @akanshamangal8781
    @akanshamangal8781 3 роки тому +5

    The explanation here is crystal clear. Glad that I found this tutorial!
    Also I would like to request you if you can make a tutorial with a small real time project, that'd be a great help :)

    • @RahulNath
      @RahulNath  3 роки тому +6

      Glad it helped Akansha and thank you for the comment. I have lots of videos under my ASP Net Core API Series here ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html
      Do let know if you have any specific topics that you are looking for. Also I will try and do an end end small real time project some time as well, pulling together all the required aspects of building an application.

  • @НереальнаяАвстралия

    Thank you, Rahul! You explain things very well!

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you and happy for it! Do check out the other videos in this series ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html

  • @shashanck84
    @shashanck84 2 роки тому

    This is awesome, in-depth, and easy to understand. Thanks a lot, Rahul.

    • @RahulNath
      @RahulNath  2 роки тому

      Most welcome! Do check out the full ASP Series here bit.ly/asp-net-core-series

    • @shashanck84
      @shashanck84 2 роки тому

      yes going through them and they are great. I wish I could have found this earlier.

  • @gokulakrishna3389
    @gokulakrishna3389 Рік тому

    Thank you for posting such great content. being new to aspnet core, able to understand the concepts easily , got good understanding.

    • @RahulNath
      @RahulNath  Рік тому

      Glad you found it useful Gokula. Check out my popular series here twitter.com/rahulpnath/status/1499626419357630466?s=46&t=wSkKEQWaSZcms4Lm29QHyA

  • @thariqe2147
    @thariqe2147 4 роки тому +1

    Hi Rahul,
    Your sessions are very good. It's simple and perfect. Thank you for helping me to understand the concepts.

    • @RahulNath
      @RahulNath  4 роки тому

      Thank you Thariq and happy it helps! Do let me know in case you have any topics that you want me to cover.

  • @bschaatsbergen
    @bschaatsbergen 3 роки тому +1

    Thanks @Rahul Nath, great video.

    • @RahulNath
      @RahulNath  3 роки тому +1

      Awesome, Thank you Bruno!

  • @TrivenSharma
    @TrivenSharma 3 роки тому +2

    This is brilliant, thanks for sharing your knowledge.

    • @RahulNath
      @RahulNath  3 роки тому +1

      Awesome thanks! Do check out the full series here Triven 😀 ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html

  • @vidittyagi9872
    @vidittyagi9872 3 роки тому +1

    wow, what a explanation Rahul. Big fan of you.

  • @1dfe-4e68-bd9f
    @1dfe-4e68-bd9f 2 роки тому +1

    Thank you Rahul! Please always enable subtitles (autogenerated) because not of all us have good english

    • @RahulNath
      @RahulNath  2 роки тому +1

      Thank you ! I haven't turned off captioning. For some videos UA-cam is not able to auto-generate this (support.google.com/youtube/answer/6373554?hl=en#zippy=%2Cautomatic-captions-on-long-form-videos-and-shorts). Guess it might also be because of accent 😀In case any of it is confusing feel free to drop a comment!

  • @bhavyashah8847
    @bhavyashah8847 4 роки тому +10

    underrated
    you deserve a larger audience

    • @RahulNath
      @RahulNath  4 роки тому +1

      Thanks Bhavya for your support!

  • @ahmadaskar3360
    @ahmadaskar3360 Рік тому +1

    what do you use to draw your diagrams?

    • @RahulNath
      @RahulNath  Рік тому

      I used powerpoint for 8:47 if that was what you were asking about

  • @1dfe-4e68-bd9f
    @1dfe-4e68-bd9f 2 роки тому +1

    thank you very much! great tutorial👌

    • @RahulNath
      @RahulNath  2 роки тому

      You're welcome and happy it helped! hope you have checked out the other videos in this series bit.ly/asp-net-core-series

  • @AngelPerez-pp2hj
    @AngelPerez-pp2hj 2 роки тому

    Thank you so much!!! Greetings and blessings from Perú!

    • @RahulNath
      @RahulNath  2 роки тому +1

      Thank you Angel! Happy you liked it. Do check out the full series here if you haven't already bit.ly/asp-net-core-series

    • @AngelPerez-pp2hj
      @AngelPerez-pp2hj 2 роки тому

      @@RahulNath I will see them all! ❤👍

    • @RahulNath
      @RahulNath  2 роки тому +1

      Do let me know if you have any suggestions and feedback!

  • @IndiaThatIsBhaarat
    @IndiaThatIsBhaarat 4 роки тому +2

    Simple and crisp explanation!! Keep up the good work!!

  • @yogeshbondi7321
    @yogeshbondi7321 3 роки тому +1

    Great video bro. Thanks for the detailed explanation ✌

    • @RahulNath
      @RahulNath  3 роки тому

      Glad you like it , Thank you Yogesh!

  • @rajusarmah4716
    @rajusarmah4716 3 роки тому +1

    That's really informative and great explanation. Thanks for sharing the information. Keep up the good work and awaiting for more informative videos.

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you Raju and glad you liked it .Do check out my other videos in this series ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html

  • @vitahvitah5823
    @vitahvitah5823 2 роки тому +1

    Perfect explanation

    • @RahulNath
      @RahulNath  2 роки тому

      Glad you think so Vitah! Do check out the full series bit.ly/asp-net-core-series

  • @arminsh7068
    @arminsh7068 4 роки тому +1

    Wow, Done with delicacy and skill.

  • @shubhankarpaul2740
    @shubhankarpaul2740 3 роки тому

    Thank you Rahul , this is the most Outstanding video I have ever seen on dotnet core

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you and glad you like it. Do check out my ASP NET Core series here ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html
      I’m sure you will like the other videos.

    • @shubhankarpaul2740
      @shubhankarpaul2740 3 роки тому

      @@RahulNath yes sure I'm watching all of that

    • @RahulNath
      @RahulNath  3 роки тому

      @@shubhankarpaul2740 Do let me know your comments and if you want any specific topics covered.

  • @feelil
    @feelil 3 роки тому

    Very Simple and clear explanations. Thanks.

    • @RahulNath
      @RahulNath  3 роки тому +1

      Glad it was helpful Ilhan! Do check the full series here if you haven't already bit.ly/asp-net-core-series

  • @jonk1446
    @jonk1446 3 роки тому +1

    Fantastic video! You are a really great teacher! Thanks!

  • @pranavb9768
    @pranavb9768 2 роки тому

    Which request do middlewares process could you please tell something about the bigger picture of the middlewares itself?

  • @KrishanSamarawickrama_BatMan
    @KrishanSamarawickrama_BatMan 3 роки тому +1

    Thank you for a clear explanation. 👏

    • @RahulNath
      @RahulNath  3 роки тому

      Glad it was helpful Krishan. Do check out the other videos in this series ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html

  • @vikasjaiswal3729
    @vikasjaiswal3729 3 роки тому +1

    Thanks Rahul Nice Explaination

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you Vikas! Glad you liked it.

  • @deivamanidhandabani9505
    @deivamanidhandabani9505 2 роки тому +1

    Hi Rahul,
    Hope you are doing great!
    I'm continuously watching your technical videos.
    I had doubted for a very long time could you please explain.
    Let's say, by using HttpPost verb for saving resources/details in the database and we use HttpPut for updating, HttpGet for getting the details from the database, HttpPost to save data in the database and HttpDelete for Deleting a record from the database.
    But why we should use different verb for like
    Get- HttpGet
    Save - HttpPost
    Update - HttpPut
    Delete - HttpDelete
    Could you please explain and Thanks in advance.
    Thanks,
    Deivamani

    • @RahulNath
      @RahulNath  2 роки тому

      Yes you can achieve the same with one header verb (any of them) but it's more about following a standard. This makes it easy to work with APIs and is in line with the HTTP standards. Anyone consuming your APIs within your team/external/new member would all know this convention by default and not something that needs relearning. Read about Richardson Maturity Model here martinfowler.com/articles/richardsonMaturityModel.html. It explains it a bit further.
      Hope that helps.

  • @vignashvideos2183
    @vignashvideos2183 Місяць тому

    Thank you for your efforts. Nice Video.

  • @emaus8344
    @emaus8344 2 роки тому +1

    Great! Do you have any tutorials on building real-world app on any platform? It would be great to follow along with your cristal explanation. That way it would be easier to connect the dots...I wouldn't mind if I had to pay.

    • @RahulNath
      @RahulNath  2 роки тому

      Not yet! Glad you are liking these videos - Currently all my content on ASP is here bit.ly/asp-net-core-series

  • @FaizlMuhammed
    @FaizlMuhammed 2 роки тому

    Thanks Rahul I was Able to bridge gaps for middle ware.
    I created a custom logging middleware which is used to log user information to app insights. My doubt is Shall I rely on JWT token' to extract the requested user details?

    • @RahulNath
      @RahulNath  2 роки тому

      thank you Faizal. Hope you resolve this out.

  • @niroshanmanoharan4295
    @niroshanmanoharan4295 3 роки тому

    Thank you very much for the great informative video Rahul Nath. 👏

    • @RahulNath
      @RahulNath  3 роки тому

      So nice of you, happy it helped!

  • @PrafullakumarSahuprofile
    @PrafullakumarSahuprofile 2 роки тому

    Rahul the way you explained everything it's pure gold. I am planning to complete this playlist. I am pretty much glad that I found you. Don't stop posting such content. If possible create some playlists with different topics. Subscribed 😍 also hit that notification bell 😜 for your videos.

    • @RahulNath
      @RahulNath  2 роки тому

      Thank you Praful! Hope you are enjoying the videos! Do drop in if you have any specific video/topic suggestions.

  • @nitishbijalwan
    @nitishbijalwan 2 роки тому

    Thanks for the video, it's very helpful.
    Could you please let me know the books or blogs which we can follow to have such deep knowledge?

    • @RahulNath
      @RahulNath  2 роки тому

      Thank you. For these videos I've been mostly using the Microsoft docs. As for books suggestions I have a few here (not directly related to .NET though) www.rahulpnath.com/blog/language-agnostic-books-for-every-developer-2/
      Let me know if you have additional questions.

  • @maheswarreddy.madithati
    @maheswarreddy.madithati 2 роки тому

    I always feel lucky when a find your tech video. Very good videos.It would be good if you zoom your content or make font bigger. Thanks

    • @RahulNath
      @RahulNath  2 роки тому

      Glad to hear that Maheswar. Curious what device/resolution do you generally watch?
      Between you can find my full ASP Series here bit.ly/asp-net-core-series

  • @sekharkatreddy8491
    @sekharkatreddy8491 Рік тому

    Your videos are excellent in terms of content and explanation. I think this middleware implementation is a kind of "Chain of Responsibilities" pattern rather than "Decorator pattern"

    • @RahulNath
      @RahulNath  Рік тому

      Thank you Sekhar and for pointing out the pattern name.

  • @keithmar5996
    @keithmar5996 2 роки тому

    Nice job. Learning a lot from your videos.

    • @RahulNath
      @RahulNath  2 роки тому

      Glad to hear it Keith! The ASP NET Series is here bit.ly/asp-net-core-series

  • @SajidAliSoftwareEngineer
    @SajidAliSoftwareEngineer 3 роки тому +1

    awesome Rahul Nath, very informative video and unique content you are creating I like it.
    can you please create in detail video for scops(AddScoped,AddTrasient,Singleton)
    Thank you.

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you Sajid and happy that you like the content. I have on Dependency Injection here ua-cam.com/video/YR6HkvNBpX4/v-deo.html and also one one on Dependency Inversion here ua-cam.com/video/43fg4T4iFGw/v-deo.html.
      You can find the full ASP NET Core Series here ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html
      Let know if that helps.

  • @sub_zero_911
    @sub_zero_911 3 роки тому +1

    Quick question, so both Map and MapWhen don't merge back into the main pipeline?

    • @RahulNath
      @RahulNath  3 роки тому +1

      Yes, that is correct - You can read more on it here docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-3.1&WT.mc_id=AZ-MVP-5003875#branch-the-middleware-pipeline.
      Hope that helps!

    • @sub_zero_911
      @sub_zero_911 3 роки тому +1

      @@RahulNath Thanks bro!

  • @saturninramirez1107
    @saturninramirez1107 2 роки тому +1

    excelent ! thank you Mister

    • @RahulNath
      @RahulNath  2 роки тому

      You are welcome Saturnin! Do check out the full series here bit.ly/asp-net-core-series

  • @shreyasacharya
    @shreyasacharya Рік тому

    .net wars, the legend strikes back :) excellent video, big fan!

    • @RahulNath
      @RahulNath  Рік тому

      Glad you enjoyed Shreyas! The full series is here bit.ly/asp-net-core-series

  • @maheshlakshmanan8061
    @maheshlakshmanan8061 3 роки тому

    Adi Poli Explanation Rahul...

    • @RahulNath
      @RahulNath  3 роки тому

      adi poli 😀 Thank you Mahesh

  • @barwalgayatri4655
    @barwalgayatri4655 3 роки тому +1

    At what time u wake up Brothe r ?? all ur tutuorials are Records=ed Early morning :) . Thank u foe Detail Teaching :)
    Too good

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you and happy you are liking it! Yes all videos are made between 4 - 5 30 when the house is quietest 😀 More details on waking up and habits here twitter.com/rahulpnath/status/1393992168579104773?s=20

  • @vijay_kishan
    @vijay_kishan 3 роки тому

    Great video buddy!!! Can you make a video on how to get in-depth knowledge about .net core and Azure?

    • @RahulNath
      @RahulNath  3 роки тому +1

      Glad you like it Vijay! Hope you’ve checked out my full playlist here ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html
      What specific things are you looking to increase your knowledge on?

  • @anilnarayan127
    @anilnarayan127 2 роки тому

    Very well made video. Thanks!

    • @RahulNath
      @RahulNath  2 роки тому

      Glad you liked it Anil! Hope you checked out the full playlist bit.ly/asp-net-core-series

  • @renraj9760
    @renraj9760 2 роки тому

    Hi Rahul
    Thank you for this great tutorial. Is there any tutorial explaining about await Task Task.whenall like that and when we actually need to make a call async await etc..

    • @RahulNath
      @RahulNath  2 роки тому

      Not yet, added it to the list. Thank you for the suggestion.

  • @mithransavadamuthu9520
    @mithransavadamuthu9520 Рік тому

    super explanation great Rahul

    • @RahulNath
      @RahulNath  11 місяців тому

      Glad you like it. Hope you are enjoying the series bit.ly/asp-net-core-series

  • @ras90it
    @ras90it 2 роки тому

    Awesome Explanation

    • @RahulNath
      @RahulNath  2 роки тому

      Glad you like it Raseeth. Do check out the full series. I am sure you will like it bit.ly/asp-net-core-series

  • @NiteshSinghyoyo
    @NiteshSinghyoyo 2 роки тому

    Great video and well explained!!

    • @RahulNath
      @RahulNath  2 роки тому

      Glad you liked it Nitesh! Hope you are enjoying the series bit.ly/asp-net-core-series

  • @sabitkondakc9147
    @sabitkondakc9147 3 роки тому

    Nice Explanation Rahul, I think it's better to check out some topics on Task Library ,Async Threads , Parallel Programming, TPL and PLINQ before moving further into Middleware.

    • @RahulNath
      @RahulNath  3 роки тому +1

      Thank you Sabit, Yes I will be covering some of those topics in the future.

  • @rohanganotra9840
    @rohanganotra9840 3 роки тому +1

    Amazing Video

    • @RahulNath
      @RahulNath  3 роки тому +1

      Thank you Rohan. Do check out the full series here ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html

    • @rohanganotra9840
      @rohanganotra9840 3 роки тому

      @@RahulNath Perfect, I'll watch these, Thanks a lot.

    • @RahulNath
      @RahulNath  3 роки тому

      @@rohanganotra9840 Cool, do let me know how you find them and in case you have any topic suggestions 😀

  • @tesszheng4586
    @tesszheng4586 2 роки тому

    Just 2 mins into watching the video, I can't wait to give you a thumb up

    • @RahulNath
      @RahulNath  Рік тому

      Awesome thank you Tess. Do check out the full series bit.ly/asp-net-core-series

  • @AftabAhmad-vm4ns
    @AftabAhmad-vm4ns 4 роки тому

    Thanks Mr. Rahul, your asp.net core series are very good and clear understanding. Can you make real time small project using .net core with api.

    • @RahulNath
      @RahulNath  4 роки тому +1

      Thank you Aftab and glad you like it. Sure I will build a real time project, once I have the building blocks covered out, that is the idea.

  • @rameshgywali2809
    @rameshgywali2809 Рік тому

    thannk you for your precious time and efforts made

    • @RahulNath
      @RahulNath  Рік тому +1

      So nice of you Ramesh! Hope you are enjoying the series bit.ly/asp-net-core-series

    • @rameshgywali2809
      @rameshgywali2809 Рік тому

      @Rahul Nath yes sir and one request if you can do actually i just was watching middleware only amd i was seeking for entire middleware setup for dotnet core, dotnet core mvc and adding new api in dotnet core project and run that on swagger i am onfused and seeking for such will you please help me or if any of your video contains so just tell me which one sir thank you

  • @keeplearning1564
    @keeplearning1564 3 роки тому

    Hi Rahul, how the request delegate knows to call next piece of middleware in app.use extension method.

    • @RahulNath
      @RahulNath  3 роки тому

      The framework passes in the next middleware in line to the next parameter. This is based on the order they are registered in. Does that answer your question?

    • @keeplearning1564
      @keeplearning1564 3 роки тому +1

      @@RahulNath can you explain next delegate a little. I thought next delegate knows how to call next middleware. But it seems framework is doing it. Then next delegate is just to tell framework to call next piece of middleware?

    • @RahulNath
      @RahulNath  3 роки тому

      _ @keeplearning As from the doc here docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-5.0&WT.mc_id=AZ-MVP-5003875
      _Each middleware component in the request pipeline is responsible for invoking the next component in the pipeline or short-circuiting the pipeline_
      Does that help?

  • @starman9000
    @starman9000 4 роки тому +1

    Rahul, Great content, please do cover design pattern as well. Can you please make video on real life scenario on middle ware please? Thank you.

    • @RahulNath
      @RahulNath  4 роки тому

      Thank you Jay. Did you have specific design patterns in mind? Also anything particular with middleware that you are looking for? I will be covering Authorization, Routing etc which builds on top of the middleware pipeline.

    • @starman9000
      @starman9000 4 роки тому +1

      @@RahulNath I would like to see Strategy and Factory pattern with Dependency injection, Sorry, if i am greedy 😇

    • @RahulNath
      @RahulNath  4 роки тому

      @@starman9000 Sure will add it to my list - Can't promise when it will be though. I might start live streaming some of these so that I can save time on editing. I will post on the channel and my blog when I start doing it.

  • @kedar10
    @kedar10 4 роки тому

    Very nice and to the point.

  • @arghasen6535
    @arghasen6535 2 роки тому

    Hi rahul , is HttpContext object is thread safe inside the custom middleware?

    • @RahulNath
      @RahulNath  2 роки тому

      It depends on how you are using this - This link might provide some more info docs.microsoft.com/en-us/aspnet/core/fundamentals/http-context?view=aspnetcore-6.0&WT.mc_id=AZ-MVP-5003875#httpcontext-access-from-a-background-thread
      Let me know if that helps

    • @arghasen6535
      @arghasen6535 2 роки тому +1

      @@RahulNath actually I have created a middleware where I am intercepting every http request to extract some field from the request, but sometime the request body is coming empty but it's properly acting on the controller level, so I have no clue why intermittently the request body is coming empty in middleware invokeAsync method

    • @RahulNath
      @RahulNath  2 роки тому

      @@arghasen6535 That's strange. Are you able to setup a minimal demo sample to reproduce the issue?

    • @arghasen6535
      @arghasen6535 2 роки тому

      @@RahulNath It can't be reproduced with 5 to 6 request if I hit, let's say 500 request per second then this thing is happening.

    • @RahulNath
      @RahulNath  2 роки тому

      @@arghasen6535 Is it the same request/payload or is it a case of a bad request itself? Hard to tell without seeing what's happening

  • @nishanths3542
    @nishanths3542 3 роки тому

    Hi Rahul, could you explain custom exception middleware and how to handle try catch block inside middleware???

    • @RahulNath
      @RahulNath  3 роки тому +2

      Thank you for the suggestion Nishanth and Sure will do. Meanwhile you can look at this post for an example ankitvijay.net/2021/04/21/consistent-error-handling/

    • @nishanths3542
      @nishanths3542 3 роки тому

      Thank you Rahul

  • @rubeushagrid4131
    @rubeushagrid4131 3 роки тому

    The flow of data among the middlewares is the most important

    • @RahulNath
      @RahulNath  3 роки тому

      Ok. Did you find that not covered in the video? Any suggestions.

  • @Napo4k
    @Napo4k 2 роки тому

    Great tutorial!

    • @RahulNath
      @RahulNath  2 роки тому

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

  • @nileshtiwalkar9437
    @nileshtiwalkar9437 4 роки тому +1

    Very useful can you build real time project with all .net core terminology like onion architecture, CQRS,Mediator, fluent validation, entity framework core etc

    • @RahulNath
      @RahulNath  4 роки тому +1

      Thanks Nilesh for your feedback and glad you liked it. Yes that is my plan with this series. I will be walking through different aspect and building up an application uisng the mentioned patterns. Subscribe to stay notified when I post next. Also do drop in if you have other areas that you want to be covered.

  • @uchitesting
    @uchitesting 2 роки тому +1

    I am trying to follow up with .NET 6 and the code is different. So far so good, but when I try to comment out part of the code to make it close to the content of the video it won't run.
    Basically there is an app.Map I commented to just pass this line:
    app.Run(async context => await context.Response.WriteAsync("Hello World!"));
    Now the application does not display but terminates instantly. I just tried to add another empty app.Run() and now it executes.
    Why is that? Why can't I simply put the line above and have a window display?
    I tried to duplicate the line above and it won't run neither. It seems that on .NET 6 you must finish with that empty Run() no matter what.
    Also not putting anything simply won't compile because without the beginning
    var builder = WebApplication.CreateBuilder(args);
    statement, the compiler finds no static Main().
    Having just that line exits as before (return 0).
    Very interesting. I'm going to on now and edit this if needed.

    • @uchitesting
      @uchitesting 2 роки тому +1

      Played with Use() Middleware
      Made 3 in a row and output it.
      This is the sequence.
      Before Request 1
      Before Request 2
      Before Request 3
      After Request 3
      After Request 2
      After Request 1
      All this sounds a bit like Matroskas which is how I got decorator pattern explained.
      But the idea of deciding if we send the request further looks like chain of responsibility pattern to me.

    • @RahulNath
      @RahulNath  2 роки тому +1

      I guess you are right - stackoverflow.com/questions/48851112/is-the-chain-of-responsibility-used-in-the-net-framework

  • @SivarajSiva322
    @SivarajSiva322 Рік тому

    Amazing video!!!👏

    • @RahulNath
      @RahulNath  Рік тому

      Glad you liked it!! Hope you are enjoying the series bit.ly/asp-net-core-series

  • @manojmaheshari6005
    @manojmaheshari6005 3 роки тому +1

    When user request any URL from Brower to IIS then How IIS come to know where to go and what to execute
    ?

    • @RahulNath
      @RahulNath  3 роки тому

      Check out the video on Routing - ua-cam.com/video/3t-As0YBVh0/v-deo.html
      and also on Model Binding ua-cam.com/video/bxksp575pk8/v-deo.html
      Let know if that helps.

  • @PasinduBroomer
    @PasinduBroomer 2 роки тому

    great content man. Good luck

  • @gadielacdc06480673m
    @gadielacdc06480673m 3 роки тому

    you are aweme man! god bless you!

    • @RahulNath
      @RahulNath  3 роки тому

      Made my day Gadiel. Thank you a lot and happy that it is helpful!

  • @vijaysenthil3123
    @vijaysenthil3123 2 роки тому

    Very useful, Thanks bro

    • @RahulNath
      @RahulNath  2 роки тому +1

      Glad to hear that Vijay! Do check the full serries if you haven't already bit.ly/asp-net-core-series

    • @vijaysenthil3123
      @vijaysenthil3123 2 роки тому

      @@RahulNath Thanks bro, Thank you so much this playlist and share your time and shared your knowledge. Great help and Great job.

    • @RahulNath
      @RahulNath  2 роки тому

      @@vijaysenthil3123 Do let me know in case you get to watch other videos! hope you will enjoy it

    • @vijaysenthil3123
      @vijaysenthil3123 2 роки тому

      @@RahulNath Sure bro

  • @knandedk
    @knandedk 4 роки тому +1

    It could have been nice to know with real world examples as to when to use app.Map , app.MapWhen. But really good video

    • @RahulNath
      @RahulNath  4 роки тому +1

      Thank you, Kiran for the feedback and glad you liked the video. The intent of this video was to provide an understanding of the basic building blocks that is available as part of the middleware support in ASP NET Core. Also, I wanted to keep it short as possible, which is why I have not included any real-world examples. If you have any specific questions on usage between the two, feel free to ask and I can try and help. Thanks again!

    • @knandedk
      @knandedk 4 роки тому

      @@RahulNath Honestly i didnt understood when exactly to use app.map and app.mapwhen

    • @Netherlands031
      @Netherlands031 4 роки тому

      @@knandedk maybe to provide separate paths for logged in users and non-logged in clients (mapwhen used to check for logged in-status), and map based on URL to provide a completely separate middleware pipeline for /admin

  • @Netherlands031
    @Netherlands031 4 роки тому

    I really like that you show us the framework source code, and start from a very simple program to build it up, but for me the explanations were too concise, I had to rewatch some parts several times and still I feel like I understand it 50%. For example the two ways of activating middleware at 15:20 - one gets passed the db context when invoked, one doesn't?

    • @RahulNath
      @RahulNath  4 роки тому +1

      Thank you for your feedback and I will try and elaborate on the topics. Some of my recent videos are less dense I guess, but will be happy to get your comments too. As for the dbContext, yes that is correct. The Convention based pattern does not use Constructor Injection, whereas the Factory based pattern does. you can read more about it here if that helps docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/extensibility?view=aspnetcore-5.0&WT.mc_id=AZ-MVP-5003875.

    • @Netherlands031
      @Netherlands031 4 роки тому +1

      @@RahulNath Cool, thanks for getting back to me, I'll watch a few more because they're definitly insightful!

    • @RahulNath
      @RahulNath  4 роки тому

      Sure, do let know!

  • @seldomseen_78
    @seldomseen_78 3 роки тому

    This is golden!

    • @RahulNath
      @RahulNath  3 роки тому

      Love the comment! Thank you 😀

    • @RahulNath
      @RahulNath  3 роки тому

      Also do check out other videos in the series - ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html

  • @priyanshu4016
    @priyanshu4016 3 роки тому

    great video . take care brother

    • @RahulNath
      @RahulNath  3 роки тому +1

      Thanks, you too! Do check out the other videos in this series ua-cam.com/play/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP.html

    • @priyanshu4016
      @priyanshu4016 3 роки тому +1

      @@RahulNath yes i am looking that only :) from last few hour you really did it well . Actually in my company ABP framework use for development and it hides all concepts and goodies which came from asp net core new framework . thank you . your videos giving me incite of asp-net core

    • @RahulNath
      @RahulNath  3 роки тому

      @@priyanshu4016 Glad it's helping. Assuming this is the framework? abp.io/
      Haven't come across that, I'll check that out too 😀