Quick start
Now that you have a more comprehensive understanding of the SurrealDB SDK for .NET, let's create a simple project to get you started. This guide will walk you through creating a simple console application that uses the SurrealDB SDK for .NET to interact with a SurrealDB instance.
Important
Prerequisites
This guide assumes the following:
You have a basic understanding of the .NET ecosystem and the C# language.
You have an install version of SurrealDB
>1.4.2installed on your machine.
Setup your project
Let's start by creating a new console app.
Open Program.cs and replace everything in there with the following code to try out some basic operations using the SurrealDB SDK.
Then make sure your SurrealDB server is running on 127.0.0.1:8000 and run your app from the command line with:
Next steps
Now that you have learned the basics of the .NET SDK for SurrealDB, you can learn more about the SDK and its methods in the methods section and data types section.