Configure ASP NET Core request processing pipeline

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025
  • In this video we will discuss configuring a request processing pipeline for asp.net core application using middleware components.
    Text version of the video
    csharp-video-t...
    Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.
    / @aarvikitchen5572
    Slides
    csharp-video-t...
    ASP.NET Core Text Articles & Slides
    csharp-video-t...
    ASP.NET Core Tutorial
    • ASP.NET core tutorial ...
    Angular, JavaScript, jQuery, Dot Net & SQL Playlists
    www.youtube.co...

ความคิดเห็น • 113

  • @ReynaldAdolphe
    @ReynaldAdolphe 6 ปีที่แล้ว +75

    Kudvenkat is gangster! GOAT (Greatest of all times)

    • @rp962
      @rp962 3 ปีที่แล้ว +1

      you watch too much ufc

  • @HawaiianDan123
    @HawaiianDan123 5 ปีที่แล้ว +42

    Links for the lazy from 5:37:
    Part 36 - Delgates In C# - th-cam.com/video/D2h46fvQX04/w-d-xo.html
    Part 99 - Lambda Expressions -th-cam.com/video/LDgQ-spnrYY/w-d-xo.html

  • @rvscootin3457
    @rvscootin3457 4 ปีที่แล้ว +7

    Insanely great tutorials. I have advanced enormously over the last five years from watching you. Both with MVC (under the hood), and now .Net Core (under the hood). Thank you!

  • @aakarshacreations_yt3946
    @aakarshacreations_yt3946 3 ปีที่แล้ว +1

    My all time favourite person.he explain all needed concepts in very effective manner.

  • @deepakrevidagar4275
    @deepakrevidagar4275 4 หลายเดือนก่อน

    what an explaination sir...!!!!!!!!!!!!!!!!!!!!!!!!
    I am blessed that I found your channel🥳I am following your all the courses, from C# to this video tutorial.
    ❤a big salute to you....💯💥❤

  • @Mikael_Puusaari
    @Mikael_Puusaari 4 ปีที่แล้ว +7

    this was exactly what I needed and it was explained perfectly, thank you! :)

  • @InamiLanzhu
    @InamiLanzhu 3 หลายเดือนก่อน

    I'm not sure whether this concept is still relevant nowadays but you made it so clear QwQ

  • @filipnikolic2280
    @filipnikolic2280 2 ปีที่แล้ว

    I must comment, besides these tutorials are really really good, that music at the end is so motivating! :D Makes me wanna click immediately the next video :D

  • @NazeerBashaShaik
    @NazeerBashaShaik 6 ปีที่แล้ว +1

    Very nice explanation, million thanks Venkat.

  • @phanidivi3613
    @phanidivi3613 6 ปีที่แล้ว +3

    Thank You venkat,terrific explanation.

  • @TheDevFounder
    @TheDevFounder 4 ปีที่แล้ว

    Your voice is easy to listen to, 👌

  • @ronjones1587
    @ronjones1587 5 ปีที่แล้ว

    This video series is the best!

  • @rongliao9255
    @rongliao9255 4 ปีที่แล้ว +1

    Impressive tutorial! Great content! Thanks a lot!

  • @eawig
    @eawig 2 ปีที่แล้ว

    Thank you for an excellent video.

  • @mr.actapus4069
    @mr.actapus4069 4 ปีที่แล้ว

    Your turtorials are best

  • @amineherizi4687
    @amineherizi4687 6 ปีที่แล้ว +1

    U deserve 1 million likes !

  • @AbdullahTaherAbubakar
    @AbdullahTaherAbubakar 5 ปีที่แล้ว

    You Are Simply Genius.

  • @netran104
    @netran104 8 หลายเดือนก่อน

    Thank you for explaining this 👌

  • @MosquitoMurderer
    @MosquitoMurderer 5 ปีที่แล้ว +10

    I love that melody that plays at the end of the videos

  • @jatinkumar4410
    @jatinkumar4410 2 ปีที่แล้ว

    Amazing tutorial...

  • @abouishakA
    @abouishakA 2 ปีที่แล้ว

    thank you for amazing videos

  • @mhmt_dmr
    @mhmt_dmr 3 ปีที่แล้ว

    Thanks a lot. Great tutorial.

  • @ayedabboushi7221
    @ayedabboushi7221 5 ปีที่แล้ว +3

    thank you venkat, well explained.

  • @yashpaljamra5545
    @yashpaljamra5545 6 ปีที่แล้ว +2

    Very well explained

  • @jamesdavidmurphy1
    @jamesdavidmurphy1 5 ปีที่แล้ว

    you are an excellent teacher

  • @NikhilShirgaonkar
    @NikhilShirgaonkar 4 ปีที่แล้ว

    Just amazing, crisp and clear

  • @pvraja30
    @pvraja30 4 ปีที่แล้ว

    Very nicely explained. Thank you!!!

  • @bunthaideng2492
    @bunthaideng2492 3 ปีที่แล้ว

    Venkat is the best!

  • @naveedkhan742
    @naveedkhan742 5 ปีที่แล้ว +7

    Sir please start a video series on Xamarin mobile development and on WPF.
    Thanks.

  • @pedroreisbr
    @pedroreisbr 4 ปีที่แล้ว

    Very good video, thank you!

  • @alamzaibfarooq
    @alamzaibfarooq 2 ปีที่แล้ว

    Awsome.

  • @muhammadkhalifa7783
    @muhammadkhalifa7783 5 ปีที่แล้ว +1

    Amazing Tutorials

  • @DecentProgrammer
    @DecentProgrammer 4 ปีที่แล้ว

    nice video

  • @manishmawat
    @manishmawat 6 ปีที่แล้ว +1

    Great explanation

  • @albertkleiner8462
    @albertkleiner8462 2 ปีที่แล้ว +1

    If you are on *.NET 6+* and using *minimal hosting model* write this code:
    =======================
    app.Run(async (context) =>
    {
    await context.Response.WriteAsync("Hello World!");
    });
    app.Run();
    =======================
    Basically, add additional "app.Run()" in the end.

  • @ABHISHEKPATHAK49
    @ABHISHEKPATHAK49 2 ปีที่แล้ว

    Nice.

  • @motimash
    @motimash 5 ปีที่แล้ว

    The best of all time thank you sir

  • @pavelbulash431
    @pavelbulash431 6 ปีที่แล้ว

    Very nice video!

  • @Vykhari1
    @Vykhari1 3 ปีที่แล้ว

    Great!!

  • @4wanys
    @4wanys 2 ปีที่แล้ว

    great

  • @skshahnawaz-ulhaque
    @skshahnawaz-ulhaque 4 ปีที่แล้ว

    Thank you Sir. Thank you.

  • @mohannepal6503
    @mohannepal6503 6 ปีที่แล้ว +2

    Thank you Venkat!

  • @factworld4375
    @factworld4375 6 ปีที่แล้ว

    Thank you sir and waiting for next.

  • @hanymohamed7219
    @hanymohamed7219 6 ปีที่แล้ว

    very good Thanks a lot

  • @BA-sl7lp
    @BA-sl7lp ปีที่แล้ว +4

    Sir Kudvenkat, Kindly create playlist with .Net 6. because 2.2 and 3.1 is out dated now.

  • @DecentProgrammer
    @DecentProgrammer 4 ปีที่แล้ว

    Thanks a ton.

  • @ashishdeora8522
    @ashishdeora8522 5 ปีที่แล้ว

    This is so cool!

  • @AshutoshKumar-kt1dd
    @AshutoshKumar-kt1dd 5 ปีที่แล้ว

    Great

  • @abhishekbajpai9920
    @abhishekbajpai9920 5 ปีที่แล้ว +11

    Can you please just make a video explaining this part for .Net Core 3.0 . Endpoint routing has confused me now. Thank You!!

    • @ksmith7611
      @ksmith7611 4 ปีที่แล้ว

      and for me pls

    • @trustingod0
      @trustingod0 3 ปีที่แล้ว

      Google it. There are far more complex concepts in other web dev frameworks

  • @nys8260
    @nys8260 4 ปีที่แล้ว

    Thank you very much

  • @libormatyas8167
    @libormatyas8167 2 หลายเดือนก่อน

    Hello Kudvenkat, thank you for your tutorials. I have a question regarding how to debug pipelines. Is it possible to debug each request that comes in? I can intercept the debug only at the start when the Configure(.. method is called. But I would like to see what happens with each request as it comes in. Can I do this? Thank you again for your work!

  • @andradenegociodigital9649
    @andradenegociodigital9649 6 ปีที่แล้ว +6

    Hello Kudvenkat, My name is Alex here from Brazil.
    How are you?
    I have been following your videos and I really like your didactics.
    But I have not seen any video of you explaining Command Query Responsibility Segregation (CQRS) and MediatR.
    Is it possible for you to record videos explaining how the CQRS and MediatR standards apply?
    Very Successful, Best Regards,
    Alex

  • @faithyintii8457
    @faithyintii8457 5 ปีที่แล้ว +1

    Thanks for this :)

  • @simiabeywardhana9863
    @simiabeywardhana9863 4 ปีที่แล้ว

    Thank you so much for this amazing tutorial!

  • @robertmays6097
    @robertmays6097 6 ปีที่แล้ว

    superb

  • @coolwaterdvr
    @coolwaterdvr 6 ปีที่แล้ว

    Thank you Venkat.

  • @roronoa_d_law1075
    @roronoa_d_law1075 4 ปีที่แล้ว

    Thanks so much

  • @kittu0077
    @kittu0077 4 ปีที่แล้ว +1

    can you do a series for asp net 5, that will be more helpful

  • @bclark1786
    @bclark1786 5 ปีที่แล้ว +6

    Would you mind covering this with Core 2.2+ to include endpoint routing, please?

    • @大花猫-i3o
      @大花猫-i3o 4 ปีที่แล้ว +1

      Yeah, things got changed in version 3.1

    • @mr.actapus4069
      @mr.actapus4069 4 ปีที่แล้ว

      @@大花猫-i3o just type what he did it worked for me

  • @ankitsagar255
    @ankitsagar255 4 ปีที่แล้ว

    Hi Venkat. i have one query : if we remove "await", shouldn't the sequence be changed ?

  • @vankhanhnguyen9468
    @vankhanhnguyen9468 5 ปีที่แล้ว

    thank master !

  • @sunnydewangan2212
    @sunnydewangan2212 2 ปีที่แล้ว

    Is there any way to use threading concept in middleware? Can I call multiple Middlewares in parallel?

  • @galleon8129
    @galleon8129 3 ปีที่แล้ว +1

    Unfortunately I’m using using .NET Core 3.1 and that example of ILogger doesn’t work for me.

  • @braveshine2579
    @braveshine2579 5 ปีที่แล้ว

    4:33 and 7:33

  • @vipulhasija5692
    @vipulhasija5692 5 ปีที่แล้ว

    What is a use of Async Keyword here while using the USE to pipeline the middle ware.. does both the middlewares run Asynchronously..?

  • @MohamedAshraf-vi4eu
    @MohamedAshraf-vi4eu 5 ปีที่แล้ว

    Hello Venkat,
    why cation is not work for some videos!?

  • @mrudhulakatta7404
    @mrudhulakatta7404 2 ปีที่แล้ว

    In .Net Core 3.1, use below syntax to implement request pipeline
    app.Use(next => async context =>
    {
    await context.Response.WriteAsync("Middleware 1");
    await next(context);
    });
    app.Use(next => async context =>
    {
    await context.Response.WriteAsync("Middleware 2");
    await next(context);
    });
    app.Run(async context =>
    {
    await context.Response.WriteAsync("Middleware 3");
    });

  • @somethingnew6357
    @somethingnew6357 3 ปีที่แล้ว +1

    hello sir i am beginner please tell me about await, async, sync keyword what is a use of this if your vedio already please give me link about that

  • @rohithtumma4923
    @rohithtumma4923 3 ปีที่แล้ว

    Hi , most of this stuff is different from .net core 3.1 , any chance this can be updated to 3.1?

  • @adityapathak9999
    @adityapathak9999 2 ปีที่แล้ว +1

    Can you change or add new videos for dot net core 3.1

  • @honeytrippers
    @honeytrippers 5 ปีที่แล้ว

    Has with your other video,
    add to the video description, links to your references in the video to other videos (i.e. Delegates and Lambda expression) so we don't have to start searching around for them, thanks.

    • @InCircle
      @InCircle 5 ปีที่แล้ว

      Google it venkat delegates you will find one.

  • @valentineemmanuel6337
    @valentineemmanuel6337 5 ปีที่แล้ว

    Great class... But it's interesting how dotnetcore is copying nodejs commonjs syntax... Microsoft is doing catching up in this tech war...

  • @sumitdubey9562
    @sumitdubey9562 3 ปีที่แล้ว

    As you create the HTML page and try to navigate it but you got a response the same as earlier but in my case I got page can’t be found. Can you explain to me why it is happening plz?
    In my code it has :
    app.UseRouting();
    app.UseEndpoints(endpoints =>
    {
    endpoints.MapGet("/", async context =>
    {
    await context.Response.WriteAsync("Hello World!");
    });
    });
    not having app.Run(); Maybe that why it is happening to me.

  • @kumarshrey209
    @kumarshrey209 3 ปีที่แล้ว

    25 April 2021

  • @AlokKumar-fh9gy
    @AlokKumar-fh9gy 4 ปีที่แล้ว

    What is await and async doing in program?

  • @gabriel99999-r
    @gabriel99999-r 5 ปีที่แล้ว +1

    This dose not work in Asp.Net Core 2.2. Going to a arbitrary route returns: "This page isn’t working localhost didn’t send any data.
    ERR_EMPTY_RESPONSE"

    • @rvnl0rd
      @rvnl0rd 5 ปีที่แล้ว +5

      Pay attention, replace:
      endpoints.MapGet("/", async context =>
      {
      await context.Response.WriteAsync("Hello World!");
      });
      with:
      app.Run(async context =>
      {
      await context.Response.WriteAsync("Hello World!");
      });

  • @2005bgva
    @2005bgva 4 ปีที่แล้ว

    Hi, Minute:9:23; In core3.1 we have "Host.CreateDefaultBuilder(args)" instead of "WebHost" someone knows url link to "Host" code ?

  • @honeytrippers
    @honeytrippers 5 ปีที่แล้ว

    No...
    "EmploymentManagement.Startup:Information: MW1: Incoming Request"
    ...details listed in the output windows, rather....
    "Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled."
    ...examples instead and the final output of "MW3: Request handled and response produced" in the web browser.
    Regards

    • @Tommastein
      @Tommastein 5 ปีที่แล้ว

      Hi. Hope you have already resolved this issue but if not then you can change the value of "Default"(inside appsettings.json> "Logging"> "LogLevel" > "Default") from "Warning" to "Information". Cheers :)

  • @Dhiranjann1403s
    @Dhiranjann1403s 5 ปีที่แล้ว +1

    Where is the dependency of ILogger and IConfiguration resolved?

    • @ivandrofly
      @ivandrofly 5 ปีที่แล้ว

      ILogger is pre-registered when the app creates default-host-builder

  • @shajedulislam3415
    @shajedulislam3415 5 ปีที่แล้ว

    May I have the link for the melody at the end?

  • @raqibul1000
    @raqibul1000 3 ปีที่แล้ว

    ALLAH blessed you

  • @MSum5
    @MSum5 5 ปีที่แล้ว

    There are some errors in this video. In the using area. You didn't show witch using classes to put at the top. You just made a real quick comment. I put in these 2 using commands at the top of Startup.cs
    using Microsoft.Extensions.DependencyInjection;
    using Microsoft.Extensions.Logging;
    And the application finally works.

  • @aaronstaight4586
    @aaronstaight4586 4 ปีที่แล้ว

    my middleware is so diffrent... why is this?
    app.UseEndpoints(endpoints =>
    {//below is the pipeline of my application, all request to the site will be processed here
    //terminal middleware, as it will not execute any middleware after.
    endpoints.MapGet("/", async (context)=>
    {
    await context.Response.WriteAsync(System.Diagnostics.Process.GetCurrentProcess().ProcessName);
    });
    });

  • @ArjunDasgupta1
    @ArjunDasgupta1 2 ปีที่แล้ว

    Please update this for Dot Net 3.1+

  • @gkmishra2009
    @gkmishra2009 5 ปีที่แล้ว +2

    Give video on MS Azure services like Blob , App etc?

  • @lucs0091
    @lucs0091 5 ปีที่แล้ว

    What is its function?

  • @medabala
    @medabala 3 ปีที่แล้ว

    Logger is not working in 3.1

  • @raqibul1000
    @raqibul1000 4 หลายเดือนก่อน

    ALLAH blessed you