edgarmtze
edgarmtze

Reputation: 25058

How to communicate mobile (Xamarin) with a desktop Application (.NET)

Is it possible to send some kind of message from mobile app (developed using Xamarin.forms with C#) to a desktop application (developed using VB.net or C#)? I would like to send messages from mobile to desktop app. I was thinking on using Bluetooth or maybe WIFI protocol

Other idea that I was thinkin is making desktop application to use a rest service, then also make mobile app to use same rest server. In this way It could be possible to create some kind of bridge between these techs.

Do you have any example or any experience on this?

Upvotes: 0

Views: 823

Answers (1)

Devlin Duldulao
Devlin Duldulao

Reputation: 126

You can create a web API https://learn.microsoft.com/en-us/aspnet/web-api/overview/older-versions/build-restful-apis-with-aspnet-web-api then host it on your desktop/laptop. That would be the channel between your mobile app and your desktop app.

Upvotes: 1

Related Questions