blog icon indicating copy to clipboard operation
blog copied to clipboard

Implement Middlewares using Endpoint Routing in ASP.​NET Core 3.0

Open utterances-bot opened this issue 6 years ago • 7 comments

Implement Middlewares using Endpoint Routing in ASP.​NET Core 3.0

https://asp.net-hacker.rocks/2019/04/10/routed-middlewares.html

utterances-bot avatar Apr 18 '19 06:04 utterances-bot

@anamikadatta thanks for your comment. BTW: I removed the link from your comment. Please ask me first, if you want to place some advertisement. Thanks :-)

JuergenGutsch avatar Apr 18 '19 07:04 JuergenGutsch

Thank you for this write-up, Jürgen! Much appreciated. I hope to see your updated thoughts in due time, as I'm going down this same road.

BTW, for the next guy who looks up EndpoiontRouteBuilder and thinks "Jürgen is the only person in the entire world writing about this" -- that's due to both a typo and (I think?) a mistaken concatenation of two words. EndpoiontRouteBuilder => EndpointRouteBuilder => Endpoint RouteBuilder... you'll get more info (but not much more!) with a search on Endpoint RouteBuilder... :)

WellspringCS avatar Jul 30 '19 12:07 WellspringCS

@WellspringCS thanks :-) Will fix the typo asap

JuergenGutsch avatar Jul 31 '19 05:07 JuergenGutsch

BTW, I ran into a problem you might be able to speak to. Any thoughts on this? Much appreciated.

WellspringCS avatar Aug 08 '19 13:08 WellspringCS

@WellspringCS thanks for your comment. I will have a look later this evening.

JuergenGutsch avatar Aug 08 '19 14:08 JuergenGutsch

I think app.UseRouting(routes => {}), as used in this post, was replaced with app.UseEndpoints(endpoints => {}) in the release version of ASP.NET Core 3.0.

MichaelMitchellM avatar Oct 07 '19 02:10 MichaelMitchellM

Hi @MichaelMitchellM Yes, that is right. This Post was written with one of the early preview versions.

JuergenGutsch avatar Oct 07 '19 10:10 JuergenGutsch