Implement REST Calls Without (Too Much) Code with Refit

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024

ความคิดเห็น • 53

  • @godfathermikal
    @godfathermikal 2 ปีที่แล้ว

    Very well done. Great focus on the use of Refit without deviating into a bunch of unrelated tangents. Great tutorial!

  • @mwardell18290
    @mwardell18290 2 ปีที่แล้ว +1

    What I would like to see is how to do this Bearer Tokens and a follow up with roles

  • @mwardell18290
    @mwardell18290 2 ปีที่แล้ว

    Like this very much. You did better Than James on Channel 9 description here.

  • @place53
    @place53 3 ปีที่แล้ว +2

    Hello,
    first of all thank you for providing amazing content. It has helped me a lot and gave me many ideas how to approach building xamarin forms apps.
    Currently I'm trying to build an app that consumes an API, but with added features of caching (Monkey-Cache), retries (Polly), and request prioritization (Fusillade). Although it all looks to be working fine I have my doubts what is the best way of using HttpClient in Xamarin. I read that incorrect usage may lead to socket exhaustion (when using new HttpClient for every request) or failure to refresh DNS when using static HttpClient.
    From what I read recommended way is to use IHttpClientFactory, but I haven't found any sample apps using it. I would really appreciate your opinion or suggestion how to approach this.

  • @SayyadHasan
    @SayyadHasan 3 ปีที่แล้ว +1

    Thanks for sharing always awesome things
    Here I have a query regarding XCT BadgeView
    How to use XCT BadgeView with Shell Toolbar Item? Is there any sample code or video available please share thanks a lot

    • @jfversluis
      @jfversluis  3 ปีที่แล้ว

      Thank you Sayyad!
      Unfortunately, I don't think you can use it with that right now :(

  • @mryildiz702
    @mryildiz702 2 ปีที่แล้ว

    Very good explanation. You have a new subscriber now :)

    • @jfversluis
      @jfversluis  2 ปีที่แล้ว +1

      Woohoo thank you so much!

  • @GarthSebastian
    @GarthSebastian 3 ปีที่แล้ว +1

    Great stuff, saves a lot of time :)

    • @jfversluis
      @jfversluis  3 ปีที่แล้ว

      Hope it does! Focus on the important stuff!

  • @walkt3
    @walkt3 3 ปีที่แล้ว

    Finally Subscribed now to Join the Discord server..🔥

  • @sharafudeen4734
    @sharafudeen4734 3 ปีที่แล้ว

    This is awesome! Is there any security issues? Can we dynamically change baseURL?

    • @jfversluis
      @jfversluis  3 ปีที่แล้ว +1

      No security issues at all :) It just creates regular HTTP calls, you just don't have to write them. You can definitely change the base URL dynamically if needed

  • @manishbisen1909
    @manishbisen1909 3 ปีที่แล้ว

    Hi Gerald.Thanks for sharing post.I have one question.As xamarin forms support tvOS & watchOS.So does maui support it to? As it is evolution of XF.

    • @jfversluis
      @jfversluis  3 ปีที่แล้ว

      That is actually a very good question! I think it never was officially supported? But it kind of accidentally works? If that makes sense 😅
      I would expect it to still work.

  • @ContentZooM-y7c
    @ContentZooM-y7c 9 หลายเดือนก่อน

    You are I senior trainer I 💕 you thank you ❤️

    • @jfversluis
      @jfversluis  9 หลายเดือนก่อน

      Appreciate that thank you so much!

  • @IanButterworthyyc
    @IanButterworthyyc 3 ปีที่แล้ว

    I was pretty excited about this ... until I see that there is no support for dynamic paths. My REST host URIs (not the base) change depending on what is being queried.

    • @jfversluis
      @jfversluis  3 ปีที่แล้ว

      Could you give an example?

  • @m4inline
    @m4inline 3 ปีที่แล้ว

    Nice but is there a swagger/openapi codegen to autogen the refit interface?

    • @jfversluis
      @jfversluis  3 ปีที่แล้ว

      That would be cool! Not that I know off

  • @MarioStaats
    @MarioStaats 3 ปีที่แล้ว

    Awesome, really helpful for me *thumbUp

    • @jfversluis
      @jfversluis  3 ปีที่แล้ว

      Wonderful! Good luck with it!

  • @NiteshKumar-km3to
    @NiteshKumar-km3to 2 ปีที่แล้ว +1

    Hello sir thank you for this video i added refit latest version in my old xamarin forms project(Xamarin forms version 4.4) it giving me compile error-->Xamarin.Android.Legacy.targets(5,5): Error XA2002: Can not resolve reference: `Refit`, referenced by Please add a NuGet package or assembly reference for `Refit`, or remove the reference to `MyprojectName`. (XA2002) (MyProject.Droid) please give me idea how i can resolve this issue

    • @jfversluis
      @jfversluis  2 ปีที่แล้ว +1

      Hm strange. I guess the easy and quick fix to this would be to install Refit also on your Android project although that shouldn't be necessary

    • @NiteshKumar-km3to
      @NiteshKumar-km3to 2 ปีที่แล้ว

      Yes sir it works for me thank you very much sir you are great

  • @othmanteffahi7788
    @othmanteffahi7788 3 ปีที่แล้ว

    thank you very much ,,,and i wanna to add serilog o nlog to the xamarin forms , how can i do that
    plz help me if there some solution , i try all solution but isn't compatible with my project

    • @jfversluis
      @jfversluis  3 ปีที่แล้ว

      What doesn't seem to be working?

    • @othmanteffahi7788
      @othmanteffahi7788 3 ปีที่แล้ว

      @@jfversluis i try a lot of implementations. Now i need your suggestion to help me, or give me some examples to implement them

  • @josedonizeteoliveirajunior1744
    @josedonizeteoliveirajunior1744 3 ปีที่แล้ว

    Hi i am here

  • @mo7amedh.m264
    @mo7amedh.m264 3 ปีที่แล้ว

    Tannks thanks thanks❤️❤️

    • @jfversluis
      @jfversluis  3 ปีที่แล้ว

      You're welcome 😊