Giter Site home page Giter Site logo

couchbase-examples / dotnet-xamarin-cblite-userprofile-query Goto Github PK

View Code? Open in Web Editor NEW
1.0 7.0 0.0 2.13 MB

Quickstart in Couchbase Lite using a standalone database with dotnet and Xamarin Forms in C#. This tutorial will show you how to use Query Builder to do queries in the database and how to use a pre-built database in your applications.

Home Page: https://developer.couchbase.com/tutorial-quickstart-xamarin-forms-query

License: MIT License

C# 100.00%
xamarin xamarin-forms xamarin-android xamarin-ios mobile-app mobile-development couchbase couchbase-lite couchbase-mobile

dotnet-xamarin-cblite-userprofile-query's Introduction

Quickstart in Couchbase Lite Query in C# with dotnet and Xamarin

Builds

Build an cross platform iOS, Android, and UWP App in Xamarin Forms with Couchbase Lite

This repo is designed to show you an app that allows users to log in and make changes to their user profile information. User profile information is persisted as a Document in the local Couchbase Lite Database. When the user logs out and logs back in again, the profile information is loaded from the Database. This app also demostrates how you can bundle, load, and use a prebuilt instance of Couchbase Lite and introduces you to the basics of the QueryBuilder interface.

Full documentation can be found on the Couchbase Developer Portal.

Prerequisites

To run this prebuilt project, you will need:

  • For iOS development a Mac running MacOS 11 or 12
  • For iOS Development Xcode 12/13
  • For Android development SDK version 22 or higher
  • For UWP development, a Windows computer running Windows 10 1903 or higher
  • Visual Studio for Mac or PC

Installing Couchbase Lite Framework

The Couchbase Documentation has examples on how to add Couchbase Lite via nuget package.

App Architecture

The sample app follows the MVP pattern, separating the internal data model, from a passive view through a presenter that handles the logic of our application and acts as the conduit between the model and the view

Try it out

  • Open src/UserProfileDemo.sln using Visual Studio
  • Build and run the project.
  • Verify that you see the login screen.

Conclusion

This tutorial walked you through an example of how to use a pre-built Couchbase Lite database and has a simple Query example to show you how to use the QueryBuilder API in dotnet with C# and Xamarin Forms.

dotnet-xamarin-cblite-userprofile-query's People

Contributors

biozal avatar chedim avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.