Configure ASP NET Core request processing pipeline

Configure ASP NET Core request processing pipeline

kudvenkat

5 лет назад

299,009 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@BA-sl7lp
@BA-sl7lp - 01.05.2023 09:27

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

Ответить
@eawig
@eawig - 28.01.2023 00:29

Thank you for an excellent video.

Ответить
@alamzaibfarooq
@alamzaibfarooq - 05.01.2023 17:50

Awsome.

Ответить
@mrudhulakatta7404
@mrudhulakatta7404 - 30.09.2022 20:17

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

Ответить
@filipnikolic2280
@filipnikolic2280 - 01.09.2022 11:09

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

Ответить
@ArjunDasgupta1
@ArjunDasgupta1 - 16.08.2022 12:35

Please update this for Dot Net 3.1+

Ответить
@albertkleiner8462
@albertkleiner8462 - 09.08.2022 16:20

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.

Ответить
@sunnydewangan2212
@sunnydewangan2212 - 28.07.2022 22:35

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

Ответить
@4wanys
@4wanys - 28.06.2022 15:09

great

Ответить
@jatinkumar4410
@jatinkumar4410 - 14.04.2022 15:13

Amazing tutorial...

Ответить
@ABHISHEKPATHAK49
@ABHISHEKPATHAK49 - 09.04.2022 18:21

Nice.

Ответить
@adityapathak9999
@adityapathak9999 - 30.03.2022 19:41

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

Ответить
@abouishakA
@abouishakA - 16.03.2022 17:47

thank you for amazing videos

Ответить
@mhmt_dmr
@mhmt_dmr - 23.02.2022 08:12

Thanks a lot. Great tutorial.

Ответить
@raqibul1000
@raqibul1000 - 20.09.2021 20:17

ALLAH blessed you

Ответить
@somethingnew6357
@somethingnew6357 - 14.08.2021 15:50

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

Ответить
@aakarshacreations_yt3946
@aakarshacreations_yt3946 - 24.07.2021 13:56

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

Ответить
@Vykhari1
@Vykhari1 - 22.07.2021 20:53

Great!!

Ответить
@rohithtumma4923
@rohithtumma4923 - 02.07.2021 09:11

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

Ответить
@bunthaideng2492
@bunthaideng2492 - 01.07.2021 18:40

Venkat is the best!

Ответить
@balu6689
@balu6689 - 01.07.2021 10:05

Logger is not working in 3.1

Ответить
@kumarshrey209
@kumarshrey209 - 25.04.2021 16:03

25 April 2021

Ответить
@galleon8129
@galleon8129 - 25.04.2021 02:31

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

Ответить
@sumitdubey9562
@sumitdubey9562 - 25.03.2021 07:29

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.

Ответить
@utsabbhattacharya
@utsabbhattacharya - 01.03.2021 20:25

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

Ответить
@AlokKumar-fh9gy
@AlokKumar-fh9gy - 24.02.2021 20:29

What is await and async doing in program?

Ответить
@BLaBZStation
@BLaBZStation - 24.02.2021 05:56

Your voice is easy to listen to, 👌

Ответить
@2005bgva
@2005bgva - 17.02.2021 19:33

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

Ответить
@jimmydeanbakker
@jimmydeanbakker - 04.02.2021 21:47

When in doubt, I go to Kudvenkat to work it out.

Ответить
@maviyaqureshi3264
@maviyaqureshi3264 - 26.01.2021 12:01

nice video

Ответить
@rongliao9255
@rongliao9255 - 13.12.2020 23:35

Impressive tutorial! Great content! Thanks a lot!

Ответить
@aaronstaight4586
@aaronstaight4586 - 01.12.2020 16:03

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

Ответить
@maviyaqureshi3264
@maviyaqureshi3264 - 15.11.2020 10:19

Thanks a ton.

Ответить
@pedroreisbr
@pedroreisbr - 05.11.2020 21:01

Very good video, thank you!

Ответить
@Mikael_Puusaari
@Mikael_Puusaari - 02.11.2020 22:52

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

Ответить
@skshahnawaz-ulhaque
@skshahnawaz-ulhaque - 25.10.2020 15:06

Thank you Sir. Thank you.

Ответить
@simiabeywardhana9863
@simiabeywardhana9863 - 07.10.2020 11:34

Thank you so much for this amazing tutorial!

Ответить
@rvscootin3457
@rvscootin3457 - 13.08.2020 05:03

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!

Ответить
@ankitsagar255
@ankitsagar255 - 08.08.2020 09:55

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

Ответить
@pvraja30
@pvraja30 - 18.06.2020 15:23

Very nicely explained. Thank you!!!

Ответить
@mr.actapus4069
@mr.actapus4069 - 08.06.2020 12:23

Your turtorials are best

Ответить
@roronoa_d_law1075
@roronoa_d_law1075 - 08.05.2020 04:28

Thanks so much

Ответить
@NikhilShirgaonkar
@NikhilShirgaonkar - 26.04.2020 16:14

Just amazing, crisp and clear

Ответить
@nys8260
@nys8260 - 18.03.2020 11:04

Thank you very much

Ответить
@abhishekbajpai9920
@abhishekbajpai9920 - 20.01.2020 14:49

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

Ответить