Xamarin

Learn how to connect your Xamarin app to Filebase.

What is Xamarin?

Xamarin is a mobile application development platform for Windows, iOS and Android applications. An Xamarin app can be built with the .NET and C# frameworks using Xamarin Studio or in Microsoft's Visual Studio. The AWS Transfer Utility can be configured within an Xamarin app to connect to Filebase.

Prerequisites:

1. Install the 'Mobile Development with .NET' Tool Package for Visual Studio.

This workload package includes the templates and frameworks for Xamarin.

2. Create or open a Visual Studio project.

3. Within your Visual Studio project, view your SolutionExplorer > Packages > Manage NuGet Packages.

4. Browse for and install the following NuGets:

  • AWSSDK.S3

  • AwsSignatureVersion4

5. Configure your Xamarin app as desired for use with Filebase.

The following code example showcases how to download a file from Filebase:

Edit this code with your:

  • Filebase Access Key

  • Filebase Secret Key

  • Local Path Where To Download The File To

  • Filebase Bucket Name

  • Object Name to be Downloaded

The following code example showcases how to upload a file to Filebase:

Edit this code with your:

  • Filebase Access Key

  • Filebase Secret Key

  • Local Path Where The File To Upload Is Located

  • Filebase Bucket Name

Last updated

Was this helpful?