{"id":10250,"date":"2023-06-23T01:43:43","date_gmt":"2023-06-23T08:43:43","guid":{"rendered":"https:\/\/www.couchbase.com\/developers\/tutorials\/quickstart-xamarin-forms-basic\/"},"modified":"2023-06-23T01:43:43","modified_gmt":"2023-06-23T08:43:43","slug":"quickstart-xamarin-forms-basic","status":"publish","type":"tutorials","link":"https:\/\/www.couchbase.com\/ko\/developers\/tutorials\/quickstart-xamarin-forms-basic\/","title":{"rendered":"Quickstart in Couchbase Lite with C#, .NET, and Xamarin Forms"},"content":{"rendered":"\n<h3 id=\"h-introduction\" class=\"wp-block-heading\">Introduction<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Couchbase Mobile brings the power of NoSQL to the edge.  It is comprised of three components:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Couchbase Lite<\/strong>, an embedded, NoSQL JSON Document Style database for your mobile apps.<\/li>\n\n\n<li><strong>Sync Gateway<\/strong>, an internet-facing synchronization mechanism that securely syncs data between mobile clients and server.<\/li>\n\n\n<li><strong>Couchbase Server<\/strong>, a highly scalable, distributed NoSQL database platform.<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Couchbase Mobile supports flexible deployment models. You can deploy<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Couchbase Lite as a standalone embedded database within your mobile apps or,<\/li>\n\n\n<li>Couchbase Lite enabled mobile clients with a Sync Gateway to sychronize data between your mobile clients or,<\/li>\n\n\n<li>Couchbase Lite enabled clients with a Sync Gateway to sync data between mobile clients and the Couchbase Server, which can persist data in the cloud (public or private)<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This tutorial will walk you through a very basic example of how you can use <em>Couchbase Lite in standalone mode<\/em> within your Xamarin Forms app for <strong>iOS<\/strong>, <strong>Android<\/strong>, and <strong>UWP<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You will learn the fundamentals of<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Database Operations<\/li>\n\n\n<li>Document CRUD Operations<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">You can learn more about Couchbase Mobile <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/developer.couchbase.com\/mobile\">here<\/a>.<\/p>\n\n\n\n<h3 id=\"h-prerequisites\" class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This tutorial assumes familiarity with building apps with <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/dotnet.microsoft.com\/en-us\/apps\/xamarin\">Xamarin<\/a>, more specifically <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/dotnet.microsoft.com\/en-us\/apps\/xamarin\/xamarin-forms\">Xamarin.Forms<\/a> using C# and <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/xaml-tools\/xaml-overview?view=vs-2022\">XAML<\/a>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For iOS\/Mac development, you will need a Mac running MacOS 11 or 12<\/li>\n\n\n<li>iOS\/Mac (Xcode 12\/13) &#8211; Download latest version from the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/itunes.apple.com\/us\/app\/xcode\/id497799835?mt=12\">Mac App Store<\/a> or via <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/RobotsAndPencils\/XcodesApp\">Xcodes<\/a><\/li>\n\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: If you are using an older version of Xcode, which you need to retain for other development needs, make a copy of your existing version of Xcode and install the latest Xcode version.  That way you can have multiple versions of Xcode on your Mac.  More information can be found in <a href=\"https:\/\/developer.apple.com\/library\/archive\/technotes\/tn2339\/_index.html#\/\/apple_ref\/doc\/uid\/DTS40014588-CH1-I_HAVE_MULTIPLE_VERSIONS_OF_XCODE_INSTALLED_ON_MY_MACHINE__WHAT_VERSION_OF_XCODE_DO_THE_COMMAND_LINE_TOOLS_CURRENTLY_USE_\">Apple&#8217;s Developer Documentation<\/a>.<\/p>\n<\/blockquote>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For Android development SDK version 22 or higher.  You can manage your Android SDK version in <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/docs.microsoft.com\/en-us\/xamarin\/android\/get-started\/installation\/android-sdk?tabs=macos\">Visual Studio<\/a>.<\/li>\n\n\n<li>For Universal Windows Platform (UWP) development, a Windows computer running Windows 10 1903 or higher<\/li>\n\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>:  You can not edit or debug UWP projects with Visual Studio for Mac and you can&#8217;t edit or debug Mac projects with Visual Studio for PC.<\/p>\n<\/blockquote>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visual Studio for <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/visualstudio.microsoft.com\/vs\/mac\/\">Mac<\/a> or <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/visualstudio.microsoft.com\/vs\/\">PC<\/a>.<\/li>\n\n<\/ul>\n\n\n\n<h3 id=\"h-app-overview\" class=\"wp-block-heading\">App Overview<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">We will be working with a very simple <em>User Profile<\/em> app.  It does one thing &#8212; Allow a user to log in and create or update their user profile data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The user profile data is persisted as a Document in the local Couchbase Lite Database.  So, when the user logs out and logs back in again, the profile information is loaded from the Database.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" src=\".\/user_profile.gif\" alt=\"user profile\"><\/p>\n\n\n\n<h3 id=\"h-installation\" class=\"wp-block-heading\">Installation<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To clone the project from GitHub, type the following command in your terminal<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>git clone https:\/\/github.com\/couchbase-examples\/dotnet-xamarin-cblite-userprofile-standalone\n<\/code><\/pre>\n\n\n\n<h4 id=\"h-try-it-out\" class=\"wp-block-heading\">Try it out<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the <code>UserProfileDemo.sln<\/code>. The project would be located at <code>\/path\/to\/userprofile-couchbase-mobile-xamarin\/src<\/code>.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>open UserProfileDemo.sln\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Build the solution using your preferred IDE (e.g. Visual Studio for <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/visualstudio.microsoft.com\/vs\/mac\/\">Mac<\/a> or <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/visualstudio.microsoft.com\/vs\/\">PC<\/a>.<\/li>\n\n\n<li><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/docs.microsoft.com\/en-us\/xamarin\/get-started\/first-app\/index?pivots=windows\">Run the app<\/a> on a device or simulator\/emulator.<\/li>\n\n\n<li>Verify that you see the login screen.<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" src=\".\/user_profile_login.png\" alt=\"User Profile Login Screen Image\" title=\"#width=300px\"><\/p>\n\n\n\n<h3 id=\"h-solution-overview\" class=\"wp-block-heading\">Solution Overview<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The User Profile demo app is a Xamarin.Forms based solution that supports iOS and Android mobile platforms along with the UWP desktop platform.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The solution utilizes various design patterns and principles such as <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/en.wikipedia.org\/wiki\/Model%E2%80%93view%E2%80%93viewmodel\">MVVM<\/a>, <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/en.wikipedia.org\/wiki\/Inversion_of_control\">IoC<\/a>, and the Repository Pattern.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The solution consists of seven projects.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>UserProfileDemo<\/strong>: A .NET Standard project responsible for maintaining view-level functionality.<\/li>\n\n\n<li><strong>UserProfileDemo.Core<\/strong>: A .NET Standard project responsible for maintaining viewmodel-level functionality.<\/li>\n\n\n<li><strong>UserProfileDemo.Models<\/strong>: A .NET Standard project consisting of simple data models.<\/li>\n\n\n<li><strong>UserProfileDemo.Repositories<\/strong>: A .NET Standard project consisting of repository classes responsible for Couchbase Lite database initilization, interaction, etc.<\/li>\n\n\n<li><strong>UserProfileDemo.iOS<\/strong>: A Xamarin.iOS platform project responsible for building the <code>.ipa<\/code> file.<\/li>\n\n\n<li><strong>UserProfileDemo.Android<\/strong>: A Xamarin.Android platform project responsible for building the <code>.apk<\/code> or <code>.aab<\/code> file.<\/li>\n\n\n<li><strong>UserProfileDemo.UWP<\/strong>: A Universal Windows Platform (UWP) project responsible for building the <code>.exe<\/code> file that can run on Windows.<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you have an understanding of the solution architecture let&#8217;s dive into the app!<\/p>\n\n\n\n<h3 id=\"h-couchbase-lite-nuget\" class=\"wp-block-heading\">Couchbase Lite Nuget<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before diving into the code for the apps, it is important to point out the Couchbase Lite dependencies within the solution. The <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/www.nuget.org\/packages\/Couchbase.Lite\/\">Couchbase.Lite Nuget package<\/a> is included as a reference within four projects of this solution:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>UserProfileDemo.Repositories<\/li>\n\n\n<li>UserProfileDemo.iOS<\/li>\n\n\n<li>UserProfileDemo.Android<\/li>\n\n\n<li>UserProfileDemo.UWP<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>Couchbase.Lite<\/code> Nuget package contains the core functionality for Couchbase Lite. In the following sections you will dive into the capabilities it the package provides.<\/p>\n\n\n\n<h3 id=\"h-getting-started-on-android\" class=\"wp-block-heading\">Getting started on Android<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In order to use Couchbase Lite within a Xamarin app for Android you will need to activate it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/couchbase-examples\/dotnet-xamarin-cblite-userprofile-standalone\/blob\/main\/src\/UserProfileDemo.Android\/MainActivity.cs\">MainActivity.cs<\/a> in the <code>UserProfileDemo.Android<\/code> project.<\/p>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>Couchbase.Lite.Support.Droid.Activate(this);\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-data-model\" class=\"wp-block-heading\">Data Model<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Couchbase Lite is a JSON Document Store. A <code>Document<\/code> is a logical collection of named fields and values.The values are any valid JSON types. In addition to the standard JSON types, Couchbase Lite supports <code>Date<\/code> and <code>Blob<\/code> data types.\nWhile it is not required or enforced, it is a recommended practice to include a <em>&#8220;type&#8221;<\/em> property that can serve as a namespace for related documents.<\/p>\n\n\n\n<h4 id=\"h-the-user-profile-document\" class=\"wp-block-heading\">The User Profile Document<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The app deals with a single <code>Document<\/code> with a <em>&#8220;type&#8221;<\/em> property of <em>&#8220;user&#8221;<\/em>.  The document ID is of the form <em><code>\"user::demo@example.com\"<\/code><\/em>.\nAn example of a document would be:<\/p>\n\n\n\n<pre class=\"wp-block-code language-json\"><code>{\n    &quot;type&quot;:&quot;user&quot;,\n    &quot;name&quot;:&quot;Jane Doe&quot;,\n    &quot;email&quot;:&quot;jane.doe@earth.org&quot;,\n    &quot;address&quot;:&quot;101 Main Street&quot;,\n    &quot;image&quot;:CBLBlob (image\/jpg)\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A special <code>blob<\/code> data type that is associated with the profile image &#8212; see <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/docs.couchbase.com\/couchbase-lite\/3.0\/swift\/blob.html\">Working with Blobs<\/a>.<\/p>\n\n\n\n<h4 id=\"h-the-user-record\" class=\"wp-block-heading\">The User Record<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong><em>&#8220;user&#8221;<\/em><\/strong> <code>Document<\/code> is encoded to a class named <em>UserProfile<\/em> that resides in the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/couchbase-examples\/dotnet-xamarin-cblite-userprofile-standalone\/blob\/main\/src\/UserProfileDemo.Models\/UserProfile.cs\">UserProfileDemo.Models<\/a> project.<\/p>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>public class UserProfile\n{\n    public string Id { get; set; }\n    public string Name { get; set; }\n    public string Email { get; set; }\n    public string Address { get; set; }\n    public byte[] ImageData { get; set; }\n    public string Description { get; set; }\n}\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-basic-database-operations\" class=\"wp-block-heading\">Basic Database Operations<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this section, we will do a code walkthrough of the basic Database operations<\/p>\n\n\n\n<h4 id=\"h-create-open-a-database\" class=\"wp-block-heading\">Create \/ Open a Database<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">When a user logs in, we create an empty Couchbase Lite database for the user if one does not exist.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/couchbase-examples\/dotnet-xamarin-cblite-userprofile-standalone\/blob\/main\/src\/UserProfileDemo.Repositories\/BaseRepository.cs\">BaseRepository.cs<\/a> file and locate the <code>Database<\/code> property. When the <code>Database<\/code> property is used for the first time a Couchbase Lite database will be opened, or created if it does not already exist via the instantiation of a new object.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>Database _database;\nprotected Database Database\n{\n    get\n    {\n        if (_database == null)\n        {\n            _database = new Database(DatabaseName, DatabaseConfig);\n        }\n\n        return _database;\n    }\n    private set =&gt; _database = value;\n}\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>We create an instance of the <code>DatabaseConfiguration<\/code> within <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/couchbase-examples\/dotnet-xamarin-cblite-userprofile-standalone\/blob\/main\/src\/UserProfileDemo.Repositories\/UserProfileRepository.cs\">UserProfileRepository.cs<\/a> via an <code>abstract<\/code> requirement from the parent class, <code>BaseRepository<\/code>. This is an optional step. In our case, we would like to override the default path of the database. Every user has their own instance of the <code>Database<\/code> that is located in a folder corresponding to the user. Please note that the default path is platform specific.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>DatabaseConfiguration _databaseConfig;\nprotected override DatabaseConfiguration DatabaseConfig\n{\n    get\n    {\n        if (_databaseConfig == null)\n        {\n            if (AppInstance.User?.Username == null)\n            {\n                throw new Exception($&quot;Repository Exception: A valid user is required!&quot;);\n            }\n\n            _databaseConfig = new DatabaseConfiguration\n            {\n                Directory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),\n                                AppInstance.User.Username)\n            };\n        }\n\n        return _databaseConfig;\n    }\n    set =&gt; _databaseConfig = value;\n}\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Then we create a local Couchbase Lite database named &#8220;userprofile&#8221; for the user. If a database already exists for the user, the existing version is returned.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>_database = new Database(DatabaseName, DatabaseConfig);\n<\/code><\/pre>\n\n\n\n<h4 id=\"h-listening-to-database-changes\" class=\"wp-block-heading\">Listening to Database Changes<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">You can be asynchronously notified of any change (add, delete, update) to the <code>Database<\/code> by registering a change listener with the <code>Database<\/code>. In our app, we are not doing anything special with the <code>Database<\/code> change notification other than logging the change. In a real world app, you would use this notification for instance, to update the UI.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/couchbase-examples\/dotnet-xamarin-cblite-userprofile-standalone\/blob\/main\/src\/UserProfileDemo.Repositories\/BaseRepository.cs\">BaseRepository.cs<\/a> file and locate the <code>Database.AddChangeListener<\/code> function usage within the constructor.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>DatabaseListenerToken = Database.AddChangeListener(OnDatabaseChangeEvent);\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To register a change listener with the database we add the delegate method <code>OnDatabaseChangeEvent<\/code>. This is an optional step. The <code>AddChangeListener<\/code> method returns a <code>ListenerToken<\/code>. The <code>ListenerToken<\/code> is required to remove the listener from the database.  The listener is a delegate method that takes two parameters of type <code>object<\/code> and <code>DatabaseChangedEventArgs<\/code> respectively.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>void OnDatabaseChangeEvent(object sender, DatabaseChangedEventArgs e)\n{\n    foreach (var documentId in e.DocumentIDs)\n    {\n        var document = Database?.GetDocument(documentId);\n\n        string message = $&quot;Document (id={documentId}) was &quot;;\n\n        if (document == null)\n        {\n            message += &quot;deleted&quot;;\n        }\n        else\n        {\n            message += &quot;added\/updated&quot;;\n        }\n\n        Console.WriteLine(message);\n    }\n}\n<\/code><\/pre>\n\n\n\n<h4 id=\"h-close-database\" class=\"wp-block-heading\">Close Database<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">When a user logs out, we close the Couchbase Lite database associated with the user, deregister any database change listeners, and free up memory allocations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/couchbase-examples\/dotnet-xamarin-cblite-userprofile-standalone\/blob\/main\/src\/UserProfileDemo.Repositories\/BaseRepository.cs\">BaseRepository.cs<\/a> file and locate the <code>Dispose<\/code> method. In our sample <code>Dispose<\/code> handles the removal of database listeners, removing various objects from memory, and closing the database.  <code>Dispose<\/code> will be called when a user logs out.<\/p>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>public void Dispose()\n{\n    DatabaseConfig = null;\n\n    Database.RemoveChangeListener(DatabaseListenerToken);\n    Database.Close();\n    Database = null;\n}\n<\/code><\/pre>\n\n\n\n<h4 id=\"h-try-it-out\" class=\"wp-block-heading\">Try it out<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The app can be tested using a simulator\/emulator or device.<\/li>\n\n\n<li>Log into the app with any username and password. Let&#8217;s use the values <strong><em>&#8220;<a href=\"mailto:demo@example.com\">demo@example.com<\/a>&#8220;<\/em><\/strong> and <strong><em>&#8220;password&#8221;<\/em><\/strong> for username and password fields respectively. If this is the first time that the user is signing in, a new Couchbase Lite database will be created. If not, the user&#8217;s existing database will be opened.<\/li>\n\n\n<li>Confirm that the console log output has a message similar to the one below. In this example, logging in with a username of <strong><em>&#8220;<a href=\"mailto:demo@example.com\">demo@example.com<\/a>&#8220;<\/em><\/strong>.<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">For iOS on a Mac &#8211; this will open or create a database at path<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>\/Users\/[user_name]\/Library\/Developer\/CoreSimulator\/Devices\/[unique_device_id]\/data\/Containers\/Data\/Application\/[unique_app_id]\/Library\/Application Support\/demo@example.com\n<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Note the folder location of the database, which is indicated in the above log message<\/li>\n\n\n<li>Open the folder in your Finder app and verify that a database with name <strong><em>&#8220;userprofile&#8221;<\/em><\/strong> is exists for the user<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" src=\".\/db_location.png\" alt=\"User Profile Database Location\" title=\"#width=300px\"><\/p>\n\n\n\n<h3 id=\"h-document-operations\" class=\"wp-block-heading\">Document Operations<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once an instance of the Couchbase Lite database is created\/opened for the specific user, we can perform basic <code>Document<\/code> functions on the database. In this section, we will walkthrough the code that describes basic <code>Document<\/code> operations<\/p>\n\n\n\n<h4 id=\"h-reading-a-document\" class=\"wp-block-heading\">Reading a Document<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Once the user logs in, the user is taken to the &#8220;Your Profile&#8221; screen. A request is made to load <a href=\"#the-user-profile-document\">The &#8220;User Profile&#8221; Document<\/a> for the user. When the user logs in the very first time, there would be no <strong><em>user profile<\/em><\/strong> document for the user.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/couchbase-examples\/dotnet-xamarin-cblite-userprofile-standalone\/blob\/main\/src\/UserProfileDemo.Core\/ViewModels\/UserProfileViewModel.cs\">UserProfileViewModel.cs<\/a> file and locate the <code>userProfileDocId<\/code> definition. This document Id is constructed by prefixing the term &#8220;user::&#8221; to the username of the user.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>string UserProfileDocId =&gt; $&quot;user::{AppInstance.User.Username}&quot;;\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <code>UserProfileViewModel<\/code> is tasked with retrieving the profile for a logged in user. It does this by using a class that implements <code>IUserProfileRepository<\/code>.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>var up = UserProfileRepository?.Get(UserProfileDocId);\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/couchbase-examples\/dotnet-xamarin-cblite-userprofile-standalone\/blob\/main\/src\/UserProfileDemo.Repositories\/UserProfileRepository.cs\">UserProfileRepository.cs<\/a> file, locate the <code>Get<\/code> function.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>public override UserProfile Get(string userProfileId)\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>We try to fetch the document with specified <code>userProfileDocId<\/code> from the database.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>var document = Database.GetDocument(userProfileId); \/\/ (1)\n\nif (document != null)\n{\n    userProfile = new UserProfile \/\/ (2)\n    {\n    Id = document.Id,\n    Name = document.GetString(&quot;Name&quot;),\n    Email = document.GetString(&quot;Email&quot;), \/\/ (3) \n    Address = document.GetString(&quot;Address&quot;),\n    ImageData = document.GetBlob(&quot;ImageData&quot;)?.Content\n    }; \/\/ (4)\n}\n<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Fetch an <strong>immutable<\/strong> copy of the <code>Document<\/code> from the database.<\/li>\n\n\n<li>Create an instance of <a href=\"#the-user-record\">The User Record<\/a> object.<\/li>\n\n\n<li>Set the <code>email<\/code> property of the UserProfile with the username of the logged in user.<\/li>\n\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> This value is not editable after it is not initially saved.<\/p>\n<\/blockquote>\n\n\n\n<ol class=\"wp-block-list\">\n<li>If the document exists and is fetched succesfully, a variety of methods exist that can be used to fetch members of the <code>Document<\/code>. Specifically, note the support of the <code>GetBlob<\/code> type to fetch the value of a property of type <code>Blob<\/code>.<\/li>\n\n<\/ol>\n\n\n\n<h4 id=\"h-creating-updating-a-document\" class=\"wp-block-heading\">Creating \/ Updating a Document<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">A <a href=\"#the-user-profile-document\">The &#8220;User Profile&#8221; Document<\/a> is created for the user when the user taps the &#8220;Done&#8221; button on the &#8220;Profile Screen&#8221;.\nThe function below applies whether you are creating a document or updating an existing version<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <code>UserProfileViewModel<\/code> is tasked with setting values of a profile for a logged in user, and saving them to the database. It does this by using a class that implements <code>IUserProfileRepository<\/code>.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>bool? success = UserProfileRepository?.Save(userProfile);\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/couchbase-examples\/dotnet-xamarin-cblite-userprofile-standalone\/blob\/main\/src\/UserProfileDemo.Repositories\/UserProfileRepository.cs\">UserProfileRepository.cs<\/a> file and locate the <code>Save<\/code> function.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>public override bool Save(UserProfile userProfile)\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>We create a <em>mutable<\/em> instance of the <code>Document<\/code>. By default, all APIs in Couchbase Lite deal with immutable objects, thereby making them <strong>thread-safe<\/strong> by design. In order to mutate an object, you must explicitly get a mutable copy of the object.  Use appropriate type-setters to set the various properties of the <code>Document<\/code>:<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>var mutableDocument = new MutableDocument(userProfile.Id);\nmutableDocument.SetString(&quot;Name&quot;, userProfile.Name);\nmutableDocument.SetString(&quot;Email&quot;, userProfile.Email);\nmutableDocument.SetString(&quot;Address&quot;, userProfile.Address);\nmutableDocument.SetString(&quot;type&quot;, &quot;user&quot;);\nif (userProfile.ImageData != null)\n{\n    mutableDocument.SetBlob(&quot;ImageData&quot;, new Blob(&quot;image\/jpeg&quot;, userProfile.ImageData));\n}\n<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Specifically, note the support of the <code>SetBlob<\/code> type to fetch the value of a property of type <code>Blob<\/code>.<\/p>\n<\/blockquote>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save the document<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>Database.Save(mutableDocument);\n<\/code><\/pre>\n\n\n\n<h4 id=\"h-deleting-a-document\" class=\"wp-block-heading\">Deleting a Document<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">We do not delete a <code>Document<\/code> in this sample app. However, deletion of a document is pretty straightforward and this is how you would do it.<\/p>\n\n\n\n<pre class=\"wp-block-code language-csharp\"><code>var document = Database.GetDocument(id);\n\nif (document != null)\n{\n    Database.Delete(document);\n}\n<\/code><\/pre>\n\n\n\n<h4 id=\"h-try-it-out\" class=\"wp-block-heading\">Try It Out<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You should have followed the steps discussed in the &#8220;Try It Out&#8221; section under <a href=\"#create-open-a-database\">Create \/ Open a Database<\/a>.<\/li>\n\n\n<li>Enter a &#8220;name&#8221; for the user in the Text Entry box and Tap &#8220;Done&#8221;.<\/li>\n\n\n<li>Confirm that you see an alert message &#8220;Succesfully Updated Profile&#8221;. The first time, you update the profile screen, the Document will be created.<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" src=\".\/doc_create.png\" alt=\"User Profile Document Creation\" title=\"#width=300px\"><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Now tap on the &#8220;Upload Image&#8221; button and select an image from the Photo Album. Tap &#8220;Done&#8221;.<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" src=\".\/image_selection.gif\" alt=\"image selection\"><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Confirm that you see an alert message &#8220;Succesfully Updated Profile&#8221;. The Document will be updated this time.<\/li>\n\n\n<li>Tap &#8220;Log Off&#8221; and log out of the app<\/li>\n\n\n<li>Log back into the app with the same user email Id and password that you used earlier. In my example, I used <em>&#8220;<a href=\"mailto:demo@example.com\">demo@example.com<\/a>&#8220;<\/em> and <em>&#8220;password&#8221;<\/em>. So I will log in with those credentials again.<\/li>\n\n\n<li>Confirm that you see the profile screen  with the <em>name<\/em> and <em>image<\/em> values that you set earlier.<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" src=\".\/log_off_on.gif\" alt=\"log off\"><\/p>\n\n\n\n<h3 id=\"h-learn-more\" class=\"wp-block-heading\">Learn More<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulations on completing this tutorial!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This tutorial walked you through a very basic example of how to get up and running with Couchbase Lite as a local-only, standalone embedded data store in your iOS, Android, or UWP app. If you want to learn more about Couchbase Mobile, check out the following links.<\/p>\n\n\n\n<h4 id=\"h-further-reading\" class=\"wp-block-heading\">Further Reading<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/www.couchbase.com\/products\/mobile\">Introduction to Couchbase Mobile<\/a><\/li>\n\n\n<li><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/blog.couchbase.com\/beta-release-mobile-edge-computing\/\">Couchbase Mobile 3.0 Annoucement<\/a><\/li>\n\n\n<li><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/docs.couchbase.com\/couchbase-lite\/3.0\/index.html\">Couchbase Lite Reference Guide<\/a><\/li>\n\n\n<li><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/blog.couchbase.com\/category\/couchbase-mobile\/\">Couchbase Mobile Blogs<\/a><\/li>\n\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Couchbase Mobile brings the power of NoSQL to the edge. It is comprised of three components: Couchbase Mobile supports flexible deployment models. You can deploy This tutorial will walk you through a very basic example of how you can use Couchbase Lite in standalone mode within your Xamarin Forms app for iOS, Android, and [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"menu_order":0,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"_acf":"","footnotes":""},"tutorial-languages":[582],"tutorial-tags":[583,584],"tutorial-technologies":[548,585,549],"tutorial-types":[550],"class_list":["post-10250","tutorials","type-tutorials","status-publish","hentry","tutorial-languages-csharp","tutorial-tags-net","tutorial-tags-xamarin","tutorial-technologies-kv","tutorial-technologies-mobile","tutorial-technologies-query","tutorial-types-quickstart"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Quickstart in Couchbase Lite with C#, .NET, and Xamarin Forms - Couchbase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/ko\/developers\/tutorials\/quickstart-xamarin-forms-basic\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Quickstart in Couchbase Lite with C#, .NET, and Xamarin Forms\" \/>\n<meta property=\"og:description\" content=\"Introduction Couchbase Mobile brings the power of NoSQL to the edge. It is comprised of three components: Couchbase Mobile supports flexible deployment models. You can deploy This tutorial will walk you through a very basic example of how you can use Couchbase Lite in standalone mode within your Xamarin Forms app for iOS, Android, and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/ko\/developers\/tutorials\/quickstart-xamarin-forms-basic\/\" \/>\n<meta property=\"og:site_name\" content=\"Couchbase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Couchbase\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2548\" \/>\n\t<meta property=\"og:image:height\" content=\"1171\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@couchbase\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"12\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/developers\\\/tutorials\\\/quickstart-xamarin-forms-basic\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/developers\\\/tutorials\\\/quickstart-xamarin-forms-basic\\\/\",\"name\":\"Quickstart in Couchbase Lite with C#, .NET, and Xamarin Forms - Couchbase\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/#website\"},\"datePublished\":\"2023-06-23T08:43:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/developers\\\/tutorials\\\/quickstart-xamarin-forms-basic\\\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/developers\\\/tutorials\\\/quickstart-xamarin-forms-basic\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/developers\\\/tutorials\\\/quickstart-xamarin-forms-basic\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quickstart in Couchbase Lite with C#, .NET, and Xamarin Forms\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/#website\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/\",\"name\":\"Couchbase\",\"description\":\"The Operational Data Platform for AI\u2122\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/#organization\"},\"alternateName\":\"Couchbase, Inc.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/#organization\",\"name\":\"Couchbase\",\"alternateName\":\"Couchbase, Inc.\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"width\":1129,\"height\":1129,\"caption\":\"Couchbase\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/ko\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Couchbase\\\/\",\"https:\\\/\\\/x.com\\\/couchbase\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/CouchbaseServer\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/couchbase\\\/\",\"https:\\\/\\\/github.com\\\/couchbase\\\/\",\"https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Couchbase,_Inc.\"],\"description\":\"Couchbase is a database software company headquartered in San Jose, California, providing an operational data platform for AI used by hundreds of global enterprises.\",\"legalName\":\"Couchbase, Inc.\",\"foundingDate\":\"2011-01-01\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Quickstart in Couchbase Lite with C#, .NET, and Xamarin Forms - Couchbase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/ko\/developers\/tutorials\/quickstart-xamarin-forms-basic\/","og_locale":"ko_KR","og_type":"article","og_title":"Quickstart in Couchbase Lite with C#, .NET, and Xamarin Forms","og_description":"Introduction Couchbase Mobile brings the power of NoSQL to the edge. It is comprised of three components: Couchbase Mobile supports flexible deployment models. You can deploy This tutorial will walk you through a very basic example of how you can use Couchbase Lite in standalone mode within your Xamarin Forms app for iOS, Android, and [&hellip;]","og_url":"https:\/\/www.couchbase.com\/ko\/developers\/tutorials\/quickstart-xamarin-forms-basic\/","og_site_name":"Couchbase","article_publisher":"https:\/\/www.facebook.com\/Couchbase\/","og_image":[{"width":2548,"height":1171,"url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@couchbase","twitter_misc":{"Est. reading time":"12\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/ko\/developers\/tutorials\/quickstart-xamarin-forms-basic\/","url":"https:\/\/www.couchbase.com\/ko\/developers\/tutorials\/quickstart-xamarin-forms-basic\/","name":"Quickstart in Couchbase Lite with C#, .NET, and Xamarin Forms - Couchbase","isPartOf":{"@id":"https:\/\/www.couchbase.com\/ko\/#website"},"datePublished":"2023-06-23T08:43:43+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/ko\/developers\/tutorials\/quickstart-xamarin-forms-basic\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/ko\/developers\/tutorials\/quickstart-xamarin-forms-basic\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/ko\/developers\/tutorials\/quickstart-xamarin-forms-basic\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/ko\/"},{"@type":"ListItem","position":2,"name":"Quickstart in Couchbase Lite with C#, .NET, and Xamarin Forms"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/ko\/#website","url":"https:\/\/www.couchbase.com\/ko\/","name":"\ucf54\uc6b0\uce58\ubca0\uc774\uc2a4","description":"The Operational Data Platform for AI\u2122","publisher":{"@id":"https:\/\/www.couchbase.com\/ko\/#organization"},"alternateName":"Couchbase, Inc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/ko\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/ko\/#organization","name":"\ucf54\uc6b0\uce58\ubca0\uc774\uc2a4","alternateName":"Couchbase, Inc.","url":"https:\/\/www.couchbase.com\/ko\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/ko\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","contentUrl":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","width":1129,"height":1129,"caption":"Couchbase"},"image":{"@id":"https:\/\/www.couchbase.com\/ko\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Couchbase\/","https:\/\/x.com\/couchbase","https:\/\/www.youtube.com\/c\/CouchbaseServer","https:\/\/www.linkedin.com\/company\/couchbase\/","https:\/\/github.com\/couchbase\/","https:\/\/en.wikipedia.org\/wiki\/Couchbase,_Inc."],"description":"Couchbase\ub294 \uce98\ub9ac\ud3ec\ub2c8\uc544\uc8fc \uc0cc\ud638\uc138\uc5d0 \ubcf8\uc0ac\ub97c \ub454 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \ud68c\uc0ac\ub85c, \uc218\ubc31 \uac1c\uc758 \uae00\ub85c\ubc8c \uae30\uc5c5\uc5d0\uc11c \ud65c\uc6a9\ud558\ub294 \uc778\uacf5\uc9c0\ub2a5\uc744 \uc704\ud55c \uc6b4\uc601 \ub370\uc774\ud130 \ud50c\ub7ab\ud3fc\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.","legalName":"Couchbase, Inc.","foundingDate":"2011-01-01"}]}},"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/ko\/wp-json\/wp\/v2\/tutorials\/10250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/ko\/wp-json\/wp\/v2\/tutorials"}],"about":[{"href":"https:\/\/www.couchbase.com\/ko\/wp-json\/wp\/v2\/types\/tutorials"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/ko\/wp-json\/wp\/v2\/tutorials\/10250\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/ko\/wp-json\/wp\/v2\/media?parent=10250"}],"wp:term":[{"taxonomy":"tutorial-languages","embeddable":true,"href":"https:\/\/www.couchbase.com\/ko\/wp-json\/wp\/v2\/tutorial-languages?post=10250"},{"taxonomy":"tutorial-tags","embeddable":true,"href":"https:\/\/www.couchbase.com\/ko\/wp-json\/wp\/v2\/tutorial-tags?post=10250"},{"taxonomy":"tutorial-technologies","embeddable":true,"href":"https:\/\/www.couchbase.com\/ko\/wp-json\/wp\/v2\/tutorial-technologies?post=10250"},{"taxonomy":"tutorial-types","embeddable":true,"href":"https:\/\/www.couchbase.com\/ko\/wp-json\/wp\/v2\/tutorial-types?post=10250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}