Menu
AWS Mobile SDK
Xamarin Developer Guide

Best Practices for Using the AWS Mobile SDK for .NET and Xamarin

There are only a few fundamentals and best practices that are helpful to know when using the AWS Mobile SDK for .NET and Xamarin.

  • Use Amazon Cognito to obtain AWS credentials instead of hardcoding your credentials in your application. If you hard code your credentials in your application, you may end up exposing them to the public, allowing others to make calls to AWS using your credentials. For instructions on how to use Amazon Cognito to obtain AWS credentials, see Setting Up the AWS Mobile SDK for .NET and Xamarin.

  • For best practices on using S3, see this article on the AWS Blog.

  • For best practices on using DynamoDB, see DynamoDB Best Practices in the DynamoDB Developer Guide.

We are always looking to help our customers be successful and welcome feedback, so please feel free to post on the AWS forums or open an issue on Github.

Library of AWS Service Documentation

Every service in the AWS Mobile SDK for .NET and Xamarin has a separate developer guide and service API reference which provides additional information that you might find helpful.

Amazon Cognito Identity

Amazon Cognito Sync

Amazon Mobile Analytics

Amazon S3

Amazon DynamoDB

Amazon Simply Notification Service (SNS)