Configure ASP NET Core request processing pipeline

Sdílet
Vložit
  • čas přidán 28. 01. 2019
  • 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-tutorials.blogsp...
    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-tutorials.blogsp...
    ASP.NET Core Text Articles & Slides
    csharp-video-tutorials.blogsp...
    ASP.NET Core Tutorial
    • ASP.NET core tutorial ...
    Angular, JavaScript, jQuery, Dot Net & SQL Playlists
    czcams.com/users/kudvenka...
  • Věda a technologie

Komentáře • 108

  • @ReynaldAdolphe
    @ReynaldAdolphe Před 5 lety +73

    Kudvenkat is gangster! GOAT (Greatest of all times)

    • @rp962
      @rp962 Před 2 lety +1

      you watch too much ufc

  • @HawaiianDan123
    @HawaiianDan123 Před 4 lety +40

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

  • @rvscootin3457
    @rvscootin3457 Před 3 lety +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!

  • @MosquitoMurderer
    @MosquitoMurderer Před 5 lety +10

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

  • @aakarshacreations_yt3946
    @aakarshacreations_yt3946 Před 2 lety +1

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

  • @Mikael_Puusaari
    @Mikael_Puusaari Před 3 lety +7

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

  • @netran104
    @netran104 Před 4 dny

    Thank you for explaining this 👌

  • @rongliao9255
    @rongliao9255 Před 3 lety +1

    Impressive tutorial! Great content! Thanks a lot!

  • @phanidivi3613
    @phanidivi3613 Před 5 lety +3

    Thank You venkat,terrific explanation.

  • @ronjones1587
    @ronjones1587 Před 5 lety

    This video series is the best!

  • @NazeerBashaShaik
    @NazeerBashaShaik Před 5 lety +1

    Very nice explanation, million thanks Venkat.

  • @NikhilShirgaonkar
    @NikhilShirgaonkar Před 4 lety

    Just amazing, crisp and clear

  • @ayedabboushi7221
    @ayedabboushi7221 Před 5 lety +3

    thank you venkat, well explained.

  • @pvraja30
    @pvraja30 Před 4 lety

    Very nicely explained. Thank you!!!

  • @motimash
    @motimash Před 5 lety

    The best of all time thank you sir

  • @mohannepal6503
    @mohannepal6503 Před 5 lety +2

    Thank you Venkat!

  • @AbdullahTaherAbubakar
    @AbdullahTaherAbubakar Před 4 lety

    You Are Simply Genius.

  • @filipnikolic2280
    @filipnikolic2280 Před rokem

    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

  • @factworld4375
    @factworld4375 Před 5 lety

    Thank you sir and waiting for next.

  • @muhammadkhalifa7783
    @muhammadkhalifa7783 Před 5 lety +1

    Amazing Tutorials

  • @manishmawat
    @manishmawat Před 5 lety +1

    Great explanation

  • @eawig
    @eawig Před rokem

    Thank you for an excellent video.

  • @yashpaljamra5545
    @yashpaljamra5545 Před 5 lety +2

    Very well explained

  • @jamesdavidmurphy1
    @jamesdavidmurphy1 Před 4 lety

    you are an excellent teacher

  • @pedroreisbr
    @pedroreisbr Před 3 lety

    Very good video, thank you!

  • @BLaBZStation
    @BLaBZStation Před 3 lety

    Your voice is easy to listen to, 👌

  • @amineherizi4687
    @amineherizi4687 Před 5 lety +1

    U deserve 1 million likes !

  • @mhmt_dmr
    @mhmt_dmr Před 2 lety

    Thanks a lot. Great tutorial.

  • @ashishdeora8522
    @ashishdeora8522 Před 4 lety

    This is so cool!

  • @faithyintii8457
    @faithyintii8457 Před 5 lety +1

    Thanks for this :)

  • @mr.actapus4069
    @mr.actapus4069 Před 4 lety

    Your turtorials are best

  • @pavelbulash431
    @pavelbulash431 Před 5 lety

    Very nice video!

  • @abouishakA
    @abouishakA Před 2 lety

    thank you for amazing videos

  • @bunthaideng2492
    @bunthaideng2492 Před 3 lety

    Venkat is the best!

  • @coolwaterdvr
    @coolwaterdvr Před 5 lety

    Thank you Venkat.

  • @alamzaibfarooq
    @alamzaibfarooq Před rokem

    Awsome.

  • @hanymohamed7219
    @hanymohamed7219 Před 5 lety

    very good Thanks a lot

  • @jatinkumar4410
    @jatinkumar4410 Před 2 lety

    Amazing tutorial...

  • @skshahnawaz-ulhaque
    @skshahnawaz-ulhaque Před 3 lety

    Thank you Sir. Thank you.

  • @ABHISHEKPATHAK49
    @ABHISHEKPATHAK49 Před 2 lety

    Nice.

  • @vankhanhnguyen9468
    @vankhanhnguyen9468 Před 4 lety

    thank master !

  • @naveedkhan742
    @naveedkhan742 Před 4 lety +7

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

  • @4wanys
    @4wanys Před rokem

    great

  • @DecentProgrammer
    @DecentProgrammer Před 3 lety

    Thanks a ton.

  • @DecentProgrammer
    @DecentProgrammer Před 3 lety

    nice video

  • @nys8260
    @nys8260 Před 4 lety

    Thank you very much

  • @robertmays6097
    @robertmays6097 Před 5 lety

    superb

  • @Vykhari1
    @Vykhari1 Před 2 lety

    Great!!

  • @BA-sl7lp
    @BA-sl7lp Před rokem +4

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

  • @AshutoshKumar-kt1dd
    @AshutoshKumar-kt1dd Před 4 lety

    Great

  • @abhishekbajpai9920
    @abhishekbajpai9920 Před 4 lety +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 Před 3 lety

      and for me pls

    • @trustingod0
      @trustingod0 Před 3 lety

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

  • @ankitsagar255
    @ankitsagar255 Před 3 lety

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

  • @galleon8129
    @galleon8129 Před 3 lety +1

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

  • @simiabeywardhana9863
    @simiabeywardhana9863 Před 3 lety

    Thank you so much for this amazing tutorial!

  • @andradenegociodigital9649

    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

  • @bclark1786
    @bclark1786 Před 4 lety +7

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

    • @user-rf4oj6rm5n
      @user-rf4oj6rm5n Před 4 lety +1

      Yeah, things got changed in version 3.1

    • @mr.actapus4069
      @mr.actapus4069 Před 4 lety

      @@user-rf4oj6rm5n just type what he did it worked for me

  • @vipulhasija5692
    @vipulhasija5692 Před 4 lety

    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 Před 4 lety

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

  • @sunnydewangan2212
    @sunnydewangan2212 Před rokem

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

  • @utsabbhattacharya
    @utsabbhattacharya Před 3 lety +1

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

  • @2005bgva
    @2005bgva Před 3 lety

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

  • @rohithtumma4923
    @rohithtumma4923 Před 2 lety

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

  • @somethingnew6357
    @somethingnew6357 Před 2 lety +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

  • @shajedulislam3415
    @shajedulislam3415 Před 5 lety

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

  • @honeytrippers
    @honeytrippers Před 5 lety

    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 Před 5 lety

      Google it venkat delegates you will find one.

  • @gabrielluca8392
    @gabrielluca8392 Před 5 lety +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 Před 4 lety +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!");
      });

  • @sumitdubey9562
    @sumitdubey9562 Před 3 lety

    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 Před 3 lety

    25 April 2021

  • @valentineemmanuel6337
    @valentineemmanuel6337 Před 4 lety

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

  • @aaronstaight4586
    @aaronstaight4586 Před 3 lety

    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);
    });
    });

  • @AlokKumar-fh9gy
    @AlokKumar-fh9gy Před 3 lety

    What is await and async doing in program?

  • @honeytrippers
    @honeytrippers Před 5 lety

    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 Před 4 lety

      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 :)

  • @adityapathak9999
    @adityapathak9999 Před 2 lety +1

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

  • @Dhiranjann1403s
    @Dhiranjann1403s Před 4 lety +1

    Where is the dependency of ILogger and IConfiguration resolved?

    • @ivandrofly
      @ivandrofly Před 4 lety

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

  • @gkmishra2009
    @gkmishra2009 Před 4 lety +2

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

  • @lucs0091
    @lucs0091 Před 4 lety

    What is its function?

  • @mrudhulakatta7404
    @mrudhulakatta7404 Před rokem

    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");
    });

  • @ArjunDasgupta1
    @ArjunDasgupta1 Před rokem

    Please update this for Dot Net 3.1+

  • @braveshine2579
    @braveshine2579 Před 4 lety

    4:33 and 7:33

  • @MSum5
    @MSum5 Před 4 lety

    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.

  • @raqibul1000
    @raqibul1000 Před 2 lety

    ALLAH blessed you

  • @medabala
    @medabala Před 3 lety

    Logger is not working in 3.1

  • @albertkleiner8462
    @albertkleiner8462 Před rokem +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.

  • @roronoa_d_law1075
    @roronoa_d_law1075 Před 4 lety

    Thanks so much