From 043f6f7aeee0f1255ba8a92971b9900caf0df462 Mon Sep 17 00:00:00 2001 From: Anandh-SF4665 Date: Wed, 3 Sep 2025 16:50:20 +0530 Subject: [PATCH] Updated README.md file --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/README.md b/README.md index 39c6e33..4e740f8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,50 @@ # Learn easy way to consume ASP.NET Core Web API in Xamarin application This sample demonstrates the easy steps to consume the [ASP.Net Core Web API](https:\ej2services.syncfusion.com\production\web-services\api\Orders) service in Syncfusion Xamarin.Forms [ListView](https://help.syncfusion.com/xamarin/sflistview/getting-started). + +## Sample + +```xaml + + + + + + + +ViewModel.cs: +WebAPIService webAPIService; + +webAPIService = new WebAPIService(); +GetDataFromWebAPI(); + +async void GetDataFromWebAPI() +{ + Items = await webAPIService.RefreshDataAsync(); +} +``` \ No newline at end of file