Introduction
This article demonstrates how to bring internet connectivity to Xamarin.Forms.

This article demonstrates how to bring internet connectivity to Xamarin.Forms.

Let’s start.
Step 1
Open Visual Studio and go to New Project >> Installed >> Visual C# >> Cross-Platform.
Select Cross-Platform app, then give your project a Name and Location.

Step 2
Add the following NuGet Packages to your project.
Step 1
Open Visual Studio and go to New Project >> Installed >> Visual C# >> Cross-Platform.
Select Cross-Platform app, then give your project a Name and Location.

Step 2
Add the following NuGet Packages to your project.
- Xam.Plugin.Connectivity
- Xamarin.Forms
Go to Solution Explorer and select your solution. Right-click and select "Manage NuGet Packages for Solution".

Now, select the following NuGet Package and select your project to install it.
Similarly, add the Xamarin.Forms Nuget.

Step 3
Open Solution Explorer >> Project Name >> Mainpage.xaml. Open the Design View of this page.
The code is given below.

XAML Code

Now, select the following NuGet Package and select your project to install it.
Similarly, add the Xamarin.Forms Nuget.

Step 3
Open Solution Explorer >> Project Name >> Mainpage.xaml. Open the Design View of this page.
The code is given below.

XAML Code



nagesh vechaPosted Feb 28, 2018, 11:14 PM
Please help me got the below error.System.NotImplementedException: This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.
Sagar Pandurang KapPosted Jan 10, 2018, 11:40 PM
Nicee one .Good aricle..