Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xamarinhq/app-geocontacts
Xamarin + Azure demo contact list feature Azure AD B2C, Functions, & CosmosDB.
https://github.com/xamarinhq/app-geocontacts
Last synced: 28 days ago
JSON representation
Xamarin + Azure demo contact list feature Azure AD B2C, Functions, & CosmosDB.
- Host: GitHub
- URL: https://github.com/xamarinhq/app-geocontacts
- Owner: xamarinhq
- License: mit
- Archived: true
- Created: 2018-02-06T17:57:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-08T22:20:29.000Z (about 4 years ago)
- Last Synced: 2024-08-04T01:21:17.981Z (4 months ago)
- Language: C#
- Homepage:
- Size: 5.05 MB
- Stars: 84
- Watchers: 16
- Forks: 36
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- open-source-xamarin-apps - Geo Contacts
README
# app-geocontacts
Geo Contacts is a cross-platform mobile contact application sample for iOS and Android built with Xamarin.Forms and leverages several services inside of Azure including Azure AD B2C, Functions, and Cosmos DB.
See the full session from Build 2018 here: https://channel9.msdn.com/Events/Build/2018/BRK2429?WT.mc_id=appgeocontacts-github-masoucou
### Data
Sample data for this application was imported from the [Microsoft Cloud Developer Advocates](https://developer.microsoft.com/advocates/?WT.mc_id=appgeocontacts-github-masoucou) (CDAs). When a CDA logs in (who is part of Azure Active Directory) they are able to update their location anywhere in the world. All users have the ability to skip login and browse our beautiful contact list of CDA and find CDAs that are nearby.## Smarts
Since CDAs travel often to help developers around the world build amazing things we built into the application a way for CDAs to update their current city/state/country and a way for other CDAs to see who is nearby. This leverages built in capabilities of the devices such as geolocation and also leverages advanced geolocation capabilities of CosmosDB for fast queries.## Services
### [Azure Active Directory B2C](https://azure.microsoft.com/services/active-directory-b2c/?WT.mc_id=appgeocontacts-github-masoucou)
Used directly for all authentication in the app. CDAs can log in and we use this authentication with our Azure Function.### [Cosmos DB](https://azure.microsoft.com/services/cosmos-db/?WT.mc_id=appgeocontacts-github-masoucou)
Our CDAs are located all through the world. We leverage CosmosDB for it's geo-replication to ensure optimal performance in the mobile applications. We also leverage Cosmo sDB advanced queries to get specific data based on the user's geolocation.### [Azure Cognitive Service: Face API](https://azure.microsoft.com/services/cognitive-services/face/?WT.mc_id=appgeocontacts-github-masoucou)
When checking in our CDAs can add their current mood by taking a photo of their face and then the Cognitiver Services API will analyze their emotion and return an emoji to be synced.### [Azure Functions](https://azure.microsoft.com/services/functions/?WT.mc_id=appgeocontacts-github-masoucou)
We use serverless architecture for several features of the application including:* Updating geolocation data. The CDA will update their location with an Azure Function that will detect their city/state/country and get an annonymous Latitude and Longitude for that location. This ensure privacy so exact location is not stored.
* This then updates Cosmos DB with their new location.### [Visual Studio App Center](https://appcenter.ms)
Used extensively for Continuous Integration and Deployment, while providing powerful analytics and crash reporting that is imported directly into Application Insights.## Libraries Used
* [Xamarin.Forms](http://xamarin.com/forms)
* [Xamarin.Essentials](https://github.com/xamarin/essentials)
* [Azure Cognitive Service: Face API](https://azure.microsoft.com/services/cognitive-services/face/?WT.mc_id=appgeocontacts-github-masoucou)
* [Media Plugin](http://github.com/jamesmontemagno/mediaplugin)
* [MVVM Helpers](https://github.com/jamesmontemagno/mvvm-helpers)
* [Monkey Cache](https://github.com/jamesmontemagno/monkey-cache)
* [App Center - Build, Distribute, Analytics, Crash](https://appcenter.ms)
* [Multilingual Plugin](https://github.com/CrossGeeks/MultilingualPlugin)
* [Markdig](https://github.com/lunet-io/markdig)
* [Microsoft Identity Client](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet)
* [Azure DocumentDb Core](https://github.com/Azure/azure-documentdb-dotnet)## Art:
* [Bit by Ashley McNamara](https://github.com/ashleymcnamara/Developer-Advocate-Bit)
* [Cloud Neon Sign by Bryan Liston](https://twitter.com/listonb) with permission## License
Under MIT (see license file)