No video

ATTRIBUTE ROUTING in ASP NET Core | Getting Started With ASP.NET Core Series

  Рет қаралды 11,838

Rahul Nath

Rahul Nath

3 жыл бұрын

Hello 👋, ASP NET Core controllers use the Routing middleware to match the URLs of incoming requests and map them to actions. Actions are either conventionally routed or attribute-routed. Placing a route on the controller or action makes it attribute-routed. When building REST APIs it's common to use Attribute based Routing model to map the methods on Controller classes to a route template.
In this video, we will learn more about Attribute Routing, how it works, and the different ways you can configure routing using Attributes. We will learn about combining attribute routes, using token replacement, and creating a parameter transformer to customize token replacement
🔗Docs - docs.microsoft...
🔗Source - rahulpnath.vis...
Additional Watching
📹Routing - • ROUTING in ASP.NET Co...
📹Middleware - • MIDDLEWARE in ASP.NET ...
📹Model Binding - • MODEL BINDING in ASP.N...
📹ASP NET Core Series - • ASP.NET Core
Come say hi! ✋
🌍 Blog - rahulpnath.com/
✉ Subscribe to my Newsletter - www.rahulpnath...
🐦Twitter - / rahulpnath
📸Instagram - / rahulpnath
🎥 Recording Setup and Workflow - www.rahulpnath...
Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!

Пікірлер: 58
@HekmatKhyber
@HekmatKhyber 3 жыл бұрын
From last 15 years of my career, I have never seen a training which is explaining like you, thanks from your hardwork and I want your progression.
@RahulNath
@RahulNath 3 жыл бұрын
Wow, thank you! So glad that you are finding it good.
@yessenzhol8989
@yessenzhol8989 2 жыл бұрын
Agree!!!
@usamatahir394
@usamatahir394 3 жыл бұрын
I started using routing in my projects for making meaningful URLs after watching your first video named "Routing...", and now my concepts are even more stronger about routing. Thank you brother!!
@RahulNath
@RahulNath 3 жыл бұрын
That's great. Glad it was of help
@rinkuchoudhary226
@rinkuchoudhary226 3 жыл бұрын
Informative 👍👍
@RahulNath
@RahulNath 3 жыл бұрын
Glad you like it! Do check out the full series on ASP NET Core.
@ksdvishnukumar
@ksdvishnukumar 3 жыл бұрын
Thanks Rahul.. SlugifyParameterTransformer is new to me which I was not aware of it.. Thanks Rahul as usual one more good video in the pipeline..
@RahulNath
@RahulNath 3 жыл бұрын
Great and glad you learned something new! Yes I used it recently at one of my clients
@usamatahir394
@usamatahir394 3 жыл бұрын
It is a very nice explanation of attribute routing! 👌👌 You did it very well! I can't thank you enough ❤️
@RahulNath
@RahulNath 3 жыл бұрын
Thank you for your support Usama!
@rajeshselvam564
@rajeshselvam564 3 жыл бұрын
Superb...
@RahulNath
@RahulNath 3 жыл бұрын
Thank you!
@rohitpatil2903
@rohitpatil2903 3 жыл бұрын
Nice video.
@RahulNath
@RahulNath 3 жыл бұрын
Thank you Rohit
@supunkandaudahewa
@supunkandaudahewa Жыл бұрын
Excellent video…
@RahulNath
@RahulNath Жыл бұрын
Thank you Supun! Check out the full ASP Series here bit.ly/asp-net-core-series
@selvakumar4013
@selvakumar4013 2 жыл бұрын
Hi Rahul, Thank you so much for making all these videos. I must appreciate the efforts you been taken. Here I'm requesting you to create another one video for "AddApiVersioning" middleware in Getting Started With ASP.NET Core Series.
@RahulNath
@RahulNath 2 жыл бұрын
Great suggestion Selva, added it to my list! Happy you like the videos
@anurag3487
@anurag3487 3 жыл бұрын
seems like a nice vid, will watch fully tonight. Thanks Rahul. :)
@RahulNath
@RahulNath 3 жыл бұрын
Thank you Anurag. Hope you liked it after watching 😀
@keerthang5557
@keerthang5557 3 жыл бұрын
Thanks Rahul
@RahulNath
@RahulNath 3 жыл бұрын
Heppy 😀 Do let know if you have more topic suggestions. Always looking out for that!
@keerthang5557
@keerthang5557 3 жыл бұрын
@@RahulNath Sure!
@yessenzhol8989
@yessenzhol8989 2 жыл бұрын
Quality of these tutorials is awesome! Thank you very much Rahul!
@RahulNath
@RahulNath 2 жыл бұрын
Glad you think so and for letting me know!
@gurumason
@gurumason Жыл бұрын
Excellent video!! Thanks!!!!
@RahulNath
@RahulNath 11 ай бұрын
Glad it helped! Do check out the full series bit.ly/asp-net-core-series
@ivanpesenti1138
@ivanpesenti1138 3 жыл бұрын
Thanks Rahul. I didn't know the trailing slash capabilities in the attribute routing template. Very very interesting also the part about Slugify 👾
@RahulNath
@RahulNath 3 жыл бұрын
Thank you for watching Ivan and for letting me know! These comments are my main motivator 😀
@briantoogood8928
@briantoogood8928 Жыл бұрын
Great video! Thanks!
@RahulNath
@RahulNath Жыл бұрын
Thank you Brian! Do check out the full series bit.ly/asp-net-core-series
@mdabuzar2130
@mdabuzar2130 3 жыл бұрын
Amazing... One request from my side Redis cache
@RahulNath
@RahulNath 3 жыл бұрын
Sure will add it to the list. I plan to do something around caching in general, will try and do a follow up for that with Redis.
@musings2134
@musings2134 3 жыл бұрын
Hey Rahul! Thanks for all the hard work you are putting in in making these videos. I have a request/suggestion - could you please make a video on how we can create a dedicated STS (Security Token Service) microservice which would provide Jwt token. A central authentication microservice in a typical enterprise. There are tons of videos and articles on internet on how to do a basic authentication with AD etc. But this is something which I could find no resources on. And yet it is pretty common in big enterprises.
@RahulNath
@RahulNath 3 жыл бұрын
Glad you like the video Arbaaz. Are you using an Identity Providers (like Azure AD, Auth0) or are you custom rolling out your Authentication Service?
@SanthoshReddyKoppula
@SanthoshReddyKoppula 3 жыл бұрын
Hi Rahul Nath, thanks for the videos with excellent teaching skills. One small request, can you please make playlists for Dotnetcore and Azure training videos in a sequence?
@RahulNath
@RahulNath 3 жыл бұрын
Thank you Santhosh and glad you like them Here is the ASP NET Core Playlist - kzfaq.info/sun/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP and the DevOps Playlist kzfaq.info/sun/PL59L9XrzUa-m7AFDgjWuwm6exyCklc03U Is that what you were after?
@adityapanihar3513
@adityapanihar3513 3 жыл бұрын
Can you create a video on why Controller class and ApiController class are different from a normal class?
@RahulNath
@RahulNath 3 жыл бұрын
Thank you Aditya for your feedback. Is there anything in particular you are looking at? These bases classes are what makes these provide a lot of out of the box functionalities that makes it easy for us to build the API's.
@adityapanihar3513
@adityapanihar3513 3 жыл бұрын
@@RahulNath Actually i was asked this question in one of my interview. So wanted to know what answer the interviewer was expecting from me. I am not much aware about the full functionalities this base classes provide. So thought to check with you.
@RahulNath
@RahulNath 3 жыл бұрын
@@adityapanihar3513 Cool ok makes sense. I am not sure of the full features it provides either, but I will try and put together a video. Thank you for the suggestion.
@parmarkomal7714
@parmarkomal7714 3 жыл бұрын
Please one video for reddis cache nd memory cache in core api.
@RahulNath
@RahulNath 3 жыл бұрын
Thank you for the suggestion Parmar. Added to my list!
@vinothrajendran858
@vinothrajendran858 2 жыл бұрын
Hey Rahul. Good morning. If my understanding is right Routing will work without ApiController decorator but it will miss few features provided by ApiController decorator. Please clarify me.
@RahulNath
@RahulNath 2 жыл бұрын
Yes, correct docs.microsoft.com/en-us/aspnet/core/web-api/?view=aspnetcore-5.0&WT.mc_id=AZ-MVP-5003875#apicontroller-attribute
@vinothrajendran858
@vinothrajendran858 2 жыл бұрын
@@RahulNath thank you so much :)
@RahulNath
@RahulNath 2 жыл бұрын
@@vinothrajendran858 My pleasure 😀
@ramkumar12344321
@ramkumar12344321 3 жыл бұрын
How to implement ADFS SAML Assertion Consumer with Redirct binding in .net core razor pages application? Please help
@RahulNath
@RahulNath 3 жыл бұрын
Sorry Rajeev. I haven't done that nor done much razor.
@sagarbabu662
@sagarbabu662 3 жыл бұрын
Hi, i want to build angular project in sonar. Can you suggest me
@RahulNath
@RahulNath 3 жыл бұрын
Are you referring to sonarqube? Sorry I am currently not doing much with angular. What specific issues are you facing?
@sagarbabu662
@sagarbabu662 3 жыл бұрын
@@RahulNath I haven't initiated this one. I tried some ways by googling. Backend code(.Net) is integrated with sonatqube.My intention is using the same .yml file for angular project also to enable in sonar
@vadariyajenilkumar1945
@vadariyajenilkumar1945 3 жыл бұрын
Create series beginners to advanced in asp.net core
@RahulNath
@RahulNath 3 жыл бұрын
Thank you for the suggestion Vadariya. Hope you have come across this series kzfaq.info/sun/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP Anything in particular you are looking for?
@umerbanday5327
@umerbanday5327 2 жыл бұрын
blink dammit
@RahulNath
@RahulNath 2 жыл бұрын
haha yeah I am trying to improve my overall content delivery. Hope the later videos are slightly better with the blinking. Hope you liked the video and liking the series bit.ly/asp-net-core-series
@techpc5453
@techpc5453 Жыл бұрын
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 13 МЛН
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 54 МЛН
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 12 МЛН
Attribute Routing in ASP NET Core MVC
14:14
kudvenkat
Рет қаралды 144 М.
Levy's INSANE Queen Sacrifice Game Made his Coach LOSE HIS MIND!
8:56
The Most Brutal Chess Slaughter Of August 13 2024
10:08
Epic Chess
Рет қаралды 46 М.
Routing in ASP NET Core MVC
12:01
kudvenkat
Рет қаралды 188 М.
Backend web development - a complete overview
12:58
SuperSimpleDev
Рет қаралды 1,7 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 13 МЛН