Xamarin forms app using HttpClient package to invoke REST services
This repo contains the following projects
- HttpClientDemo.csproj -> PCL for Xamarin Forms
- HttpClientDemo.iOS.csproj -> Xamarin.Forms iOS project
- HttpClientDemo.Droid.csproj -> Xamarin.Forms Android project
- Todo-Web-Api -> Aspnet.core based web api
##Prerequisites
- Xamarin Studio - to run the xamarin forms app
- dotnet core - to run the web api
- Visual Studio - to run the Xamarin forms app
- dotnet core - to run the web api
Make sure dotnet cli is installed, this can be done by running the below command
dotnet --info
Execute the below commands from the root folder Todo-Web-Api to run the web api
dotnet restore
dotnet run
The app should run under the port 5000
Open the solution HttpClientDemo.sln
and build the solution in Xamarin Studio/Visual Studio
Set the iOS/Droid project as starup and run in the appropriate simulator/emulator