Это видео недоступно.
Сожалеем об этом.

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

Поделиться
HTML-код
  • Опубликовано: 28 июн 2021
  • 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 года назад +8

    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 года назад +5

    It is a very nice explanation of attribute routing! 👌👌
    You did it very well!
    I can't thank you enough ❤️

    • @RahulNath
      @RahulNath  3 года назад +1

      Thank you for your support Usama!

  • @ksdvishnukumar
    @ksdvishnukumar 3 года назад +2

    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

  • @rinkuchoudhary226
    @rinkuchoudhary226 3 года назад +2

    Informative 👍👍

    • @RahulNath
      @RahulNath  3 года назад +1

      Glad you like it! Do check out the full series on ASP NET Core.

  • @rajeshselvam564
    @rajeshselvam564 3 года назад +2

    Superb...

  • @usamatahir394
    @usamatahir394 3 года назад +2

    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 года назад +1

      That's great. Glad it was of help

  • @rohitpatil2903
    @rohitpatil2903 3 года назад +2

    Nice video.

  • @anurag3487
    @anurag3487 3 года назад +2

    seems like a nice vid, will watch fully tonight. Thanks Rahul. :)

    • @RahulNath
      @RahulNath  3 года назад

      Thank you Anurag. Hope you liked it after watching 😀

  • @selvakumar4013
    @selvakumar4013 2 года назад +1

    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

  • @supunkandaudahewa
    @supunkandaudahewa Год назад +1

    Excellent video…

    • @RahulNath
      @RahulNath  Год назад

      Thank you Supun! Check out the full ASP Series here bit.ly/asp-net-core-series

  • @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 11 месяцев назад

    Excellent video!! Thanks!!!!

    • @RahulNath
      @RahulNath  11 месяцев назад

      Glad it helped! Do check out the full series bit.ly/asp-net-core-series

  • @ivanpesenti1138
    @ivanpesenti1138 3 года назад +1

    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 года назад +1

      Thank you for watching Ivan and for letting me know! These comments are my main motivator 😀

  • @keerthang5557
    @keerthang5557 3 года назад +3

    Thanks Rahul

    • @RahulNath
      @RahulNath  3 года назад +1

      Heppy 😀 Do let know if you have more topic suggestions. Always looking out for that!

    • @keerthang5557
      @keerthang5557 3 года назад +2

      @@RahulNath Sure!

  • @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 года назад +2

    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 года назад +1

    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 года назад +2

    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 - ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP
      and the DevOps Playlist ruclips.net/p/PL59L9XrzUa-m7AFDgjWuwm6exyCklc03U
      Is that what you were after?

  • @adityapanihar3513
    @adityapanihar3513 3 года назад +2

    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 года назад +1

      @@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 года назад +1

      @@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 года назад +2

    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 года назад +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 года назад +1

      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 года назад +1

    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.

  • @vadariyajenilkumar1945
    @vadariyajenilkumar1945 3 года назад +2

    Create series beginners to advanced in asp.net core

    • @RahulNath
      @RahulNath  3 года назад +1

      Thank you for the suggestion Vadariya. Hope you have come across this series ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP
      Anything in particular you are looking for?

  • @sagarbabu662
    @sagarbabu662 3 года назад +1

    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

  • @umerbanday5327
    @umerbanday5327 2 года назад

    blink dammit

    • @RahulNath
      @RahulNath  2 года назад +1

      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 Год назад