If you're an existing .NET Developer but new to Couchbase, this tutorial is for you!

With this tutorial we aim to help you understand what Couchbase Server is and how to use it from .NET in a step by step guide! The source code is available for each step as well as a detailed description for every task.

The tutorial bridges the gap between simple and advanced Couchbase concepts by walking through a complete web application (build in ASP.NET Web API 2.0) that uses the Couchbase .NET client library to connect to Couchbase Server. We also cover using N1QL and key-value set/get operations.

After completing the tutorial you will have learned how to:

  • Install and configure the Couchbase .NET Client
  • Bootstrap the .NET Client
  • Use LINQ with N1QL
  • Use Couchbase in your own projects.
  • Use recommended practices for working with Couchbase with .NET
  • Apply basic knowledge of using Couchbase Server from within your .NET applications.

Application Screen shot

The tutorial and source is on GitHub!

Blog posts are static and not suited for frequent updates, GitHub is much better for that!

The tutorial is here: try-cb-dotnet.

The full source code for the tutorial and the tutorial itself is available on GitHub github.com/couchbaselabs/try-cb-dotnet.

Feedback is always appreciated!

Happy learning :)


Posted by Martin Esmann, Developer Advocate, Couchbase

Martin Esmann is a .Net Developer Advocate at Couchbase. He is a passionate developer with a deep focus on Microsoft Technologies like .NET.

Leave a reply