Комментарии:
Sir Kudvenkat, Kindly create playlist with .Net 6. because 2.2 and 3.1 is out dated now.
ОтветитьThank you for an excellent video.
ОтветитьAwsome.
Ответить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");
});
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
ОтветитьPlease update this for Dot Net 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.
Is there any way to use threading concept in middleware? Can I call multiple Middlewares in parallel?
Ответитьgreat
ОтветитьAmazing tutorial...
ОтветитьNice.
ОтветитьCan you change or add new videos for dot net core 3.1
Ответитьthank you for amazing videos
ОтветитьThanks a lot. Great tutorial.
ОтветитьALLAH blessed you
Ответить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
ОтветитьMy all time favourite person.he explain all needed concepts in very effective manner.
ОтветитьGreat!!
ОтветитьHi , most of this stuff is different from .net core 3.1 , any chance this can be updated to 3.1?
ОтветитьVenkat is the best!
ОтветитьLogger is not working in 3.1
Ответить25 April 2021
ОтветитьUnfortunately I’m using using .NET Core 3.1 and that example of ILogger doesn’t work for me.
Ответить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.
can you do a series for asp net 5, that will be more helpful
ОтветитьWhat is await and async doing in program?
ОтветитьYour voice is easy to listen to, 👌
ОтветитьHi, Minute:9:23; In core3.1 we have "Host.CreateDefaultBuilder(args)" instead of "WebHost" someone knows url link to "Host" code ?
ОтветитьWhen in doubt, I go to Kudvenkat to work it out.
Ответитьnice video
ОтветитьImpressive tutorial! Great content! Thanks a lot!
Ответить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);
});
});
Thanks a ton.
ОтветитьVery good video, thank you!
Ответитьthis was exactly what I needed and it was explained perfectly, thank you! :)
ОтветитьThank you Sir. Thank you.
ОтветитьThank you so much for this amazing tutorial!
Ответить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!
ОтветитьHi Venkat. i have one query : if we remove "await", shouldn't the sequence be changed ?
ОтветитьVery nicely explained. Thank you!!!
ОтветитьYour turtorials are best
ОтветитьThanks so much
ОтветитьJust amazing, crisp and clear
ОтветитьThank you very much
ОтветитьCan you please just make a video explaining this part for .Net Core 3.0 . Endpoint routing has confused me now. Thank You!!
Ответить