Tag: C#

Azure Cloud

Azure Functions and Lazy Initialization with Couchbase Server

Azure Functions are still new to me, and I’m learning as I’m going. I blogged about my foray into Azure Functions with Couchbase over a month ago. Right after I posted that, I got some helpful feedback about the way...

/ September 15, 2017
Azure Cloud

Azure Functions with Couchbase Server

Azure Functions are Microsoft’s answer to Amazon’s Lambdas or Google’s Cloud Functions (aka “serverless” architecture). They give you a way to deploy small pieces of code, and let Azure handle the underlying server. I’ve never used them before, so I...

SQL Server and Couchbase Server compare and contrast

SQL Server and Couchbase side-by-side (video)

SQL Server is compared (and contrasted) with Couchbase Server in this video. If you are averse to video, you can check out the corresponding blog post series I wrote a few months ago that covers the same material: Part 1...

XML

XML to JSON conversion with Json.NET

XML data can be converted to JSON, which can be loaded into Couchbase Server (Couchbase Server 5.0 beta now available). Depending on the source of the data, you might be able to use a tool like Talend. But you may...

Logging image licensed from Aude through Creative Commons - https://commons.wikimedia.org/wiki/File:Archives_of_American_Art_storage.jpg

Logging with Log4Net and Common Logging

Logging with Common.Logging, log4net, and the Couchbase .NET SDK is demonstrated in this video. The source code for the logging example used in this video is available on Github. For more information about logging, check out the logging documentation on...

Infinite Mirror

C# Tuples: New C# 7 language feature

C# tuples are a new feature of C# 7. I’m going to show you the basics of how C# tuples work. I’m also going to mix in a little Couchbase to show tuples in action. However, if you don’t want...

Workshop

ASP.NET with NoSQL Workshop

I delivered an ASP.NET with NoSQL workshop at the recent Indy.Code() conference in Indianapolis. I had a lot of fun at this conference, and I recommend you go next year. If you were unable to attend, don’t worry, because I’ve...

Ancient data structures

Data structures with Couchbase and .NET (video)

In February, I wrote a blog about using data structures with .NET (and .NET Core): List, Queue, and Dictionary. Now, I’ve created a video to show the same concepts in action. How to use Couchbase Data Structures with .NET The...

Geese migration licensed through Creative Commons https://commons.wikimedia.org/wiki/File:BrantaLeucopsisMigration.jpg

Moving from SQL Server to Couchbase Part 1: Data Modeling

In this series of blog posts, I’m going to lay out the considerations when moving to a document database when you have a relational background. Specifically, Microsoft SQL Server as compared to Couchbase Server. In three parts, I’m going to...

Using Jil for custom JSON Serialization in the Couchbase .NET SDK

One of the new features introduced in 2.1.0 of the Couchbase .NET SDK was support for overriding the default serializer with your own custom serializer by extending the ITypeSerializer interface and providing your own or favorite serializer. In this article...