Configure ASP NET Core request processing pipeline
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
Kudvenkat is gangster! GOAT (Greatest of all times)
you watch too much ufc
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
thanks dude =)
Thank you!
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!
I love that melody that plays at the end of the videos
My all time favourite person.he explain all needed concepts in very effective manner.
this was exactly what I needed and it was explained perfectly, thank you! :)
Thank you for explaining this 👌
Impressive tutorial! Great content! Thanks a lot!
Thank You venkat,terrific explanation.
This video series is the best!
Very nice explanation, million thanks Venkat.
Just amazing, crisp and clear
thank you venkat, well explained.
Very nicely explained. Thank you!!!
The best of all time thank you sir
Thank you Venkat!
You Are Simply Genius.
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
Thank you sir and waiting for next.
Amazing Tutorials
Great explanation
Thank you for an excellent video.
Very well explained
you are an excellent teacher
Very good video, thank you!
Your voice is easy to listen to, 👌
U deserve 1 million likes !
Thanks a lot. Great tutorial.
This is so cool!
Thanks for this :)
Your turtorials are best
Very nice video!
thank you for amazing videos
Venkat is the best!
Thank you Venkat.
Awsome.
very good Thanks a lot
Amazing tutorial...
Thank you Sir. Thank you.
Nice.
thank master !
Sir please start a video series on Xamarin mobile development and on WPF.
Thanks.
great
Thanks a ton.
nice video
Thank you very much
superb
Great!!
Sir Kudvenkat, Kindly create playlist with .Net 6. because 2.2 and 3.1 is out dated now.
Great
Can you please just make a video explaining this part for .Net Core 3.0 . Endpoint routing has confused me now. Thank You!!
and for me pls
Google it. There are far more complex concepts in other web dev frameworks
Hi Venkat. i have one query : if we remove "await", shouldn't the sequence be changed ?
Unfortunately I’m using using .NET Core 3.1 and that example of ILogger doesn’t work for me.
Thank you so much for this amazing tutorial!
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
Would you mind covering this with Core 2.2+ to include endpoint routing, please?
Yeah, things got changed in version 3.1
@@user-rf4oj6rm5n just type what he did it worked for me
What is a use of Async Keyword here while using the USE to pipeline the middle ware.. does both the middlewares run Asynchronously..?
Hello Venkat,
why cation is not work for some videos!?
Is there any way to use threading concept in middleware? Can I call multiple Middlewares in parallel?
can you do a series for asp net 5, that will be more helpful
Hi, Minute:9:23; In core3.1 we have "Host.CreateDefaultBuilder(args)" instead of "WebHost" someone knows url link to "Host" code ?
Hi , most of this stuff is different from .net core 3.1 , any chance this can be updated to 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
May I have the link for the melody at the end?
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.
Google it venkat delegates you will find one.
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"
Pay attention, replace:
endpoints.MapGet("/", async context =>
{
await context.Response.WriteAsync("Hello World!");
});
with:
app.Run(async context =>
{
await context.Response.WriteAsync("Hello World!");
});
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.
25 April 2021
Great class... But it's interesting how dotnetcore is copying nodejs commonjs syntax... Microsoft is doing catching up in this tech war...
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);
});
});
What is await and async doing in program?
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
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 :)
Can you change or add new videos for dot net core 3.1
Where is the dependency of ILogger and IConfiguration resolved?
ILogger is pre-registered when the app creates default-host-builder
Give video on MS Azure services like Blob , App etc?
What is its function?
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");
});
Please update this for Dot Net 3.1+
4:33 and 7:33
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.
For god, you want 1 hour video? ctrl + . everytime you need!
ALLAH blessed you
Logger is not working in 3.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.
Thanks so much