locked
[Xamarin.Forms .Net/ MVVM(PRISM) project] Which Web Service to use and how to add it ? RRS feed

  • Question

  • User370756 posted

    Hi everyone, im new on Xamarin and im an internship to develop a Mobile App: kind of micro-social for events with Xamarin.Forms .Net/ MVVM(PRISM) architecture. For the moment i have almost all the view except the chatView and i test my app with local data (exemple: showing list of events) and its work well!

    Now i need to use/add a web service to get my data and im totally lost.

    I precise that i did a lot of research before to ask help and this why i ask your help Sorry i can't post any link because i'm just new

    One of my co-worker did a asmx web service, i try to add it without sucess. I understand that i need to implement it on every OS and use interface and in my opinion its seems quite long to implement. I try to use the exemple of fabiosilvalima but i have an error at this line:

    return new List<ICustomer>(result); impossible to convert string to int

    On this forum i see that asmx is not the best solution.

    I watch for REST but i want to heard some advice from the Xamarin community.

    So my question is: Which kind of web service i need to use for my project (Xamarin.Forms .Net / MVVM(PRISM)) ? How to add/use to my project ?

    Thanks for your help!

    I already read the microsoft.doc article about webservice with child post so please dont send it

    Friday, July 13, 2018 1:35 PM

All replies

  • User370756 posted

    Hi guys finally i sucess to do it! i used WCF to use my asmx web service. It's more or less a DIY because there is some issue (async issue, adaptation for asmx for exemple).

    If some people want to know how i did, just write in comment and i will write the process :)

    Tuesday, July 17, 2018 2:16 PM
  • User370756 posted

    @ThomasBRASEY said: Hi guys finally i sucess to do it! i used WCF to use my asmx web service. It's more or less a DIY because there is some issue (async issue, adaptation for asmx for exemple).

    If some people want to know how i did, just write in comment and i will write the process :)

    EDIT : i didn't use WCF it's just DIY :D

    Thursday, August 2, 2018 9:24 AM
  • User395016 posted

    Hi! This is my current problem... Can you help me?

    Wednesday, June 3, 2020 1:04 PM