All posts in "C#"
Share

How to Use a Cancellation Token to Cancel a Running Task in Xamarin

By AezioX / 2019-06-29

Objective: Learn to use a Cancellation Token for Asynchronous Tasks. Prerequisites: You need to know C#, basic understanding of how Async/Await works, and the basics of Xamarin. Let’s begin: For this tutorial we will use a HttpClient to get the status of ten websites and we will also be able to stop the operation at […]

Share

How to use SQLite with C# and Xamarin

By AezioX / 2018-08-28

Objective: Learn to use SQLite using C# and XAML in Xamarin with the help of the sqlite-net-pcl NuGet package. Prerequisites: You need to know: Basic C#, XAML, and the basics of Xamarin. Let’s begin: Create a new project and replace the MainPage.xaml code with this one: And the MainPage.xaml.cs code with this one: Read the […]

Share

How to consume a RESTful Service in C# with Xamarin

By AezioX / 2018-08-18

Objective: Consume a RESTful service using C# and XAML in Xamarin with the help of NuGet packages. Prerequisites: You need to know Basic C#, XAML, and you need to have a little experience with Xamarin. Let’s begin: 1– Create a new project and replace the MainPage.xaml code with this one: 2– And the MainPage.xaml.cs code […]

>