Category: .NET

ASP.NET Core with Couchbase: Getting Started
ASP.NET Core is the newest development platform for Microsoft developers. If you are looking for information about plain old ASP.NET, check out ASP.NET with Couchbase: Getting Started. ASP.NET Core Tools to Get Started The following video will take you from...

ASP.NET with Couchbase: Getting Started
ASP.NET is the development platform that most Microsoft developers use. At the Couchbase Connect Silicon Valley 2017 conference, I spoke to some .NET developers in a workshop. I asked them what type of content they’d like to see me create...

Fast Failover with Couchbase Server 5.0
Fast failover is one of the many improvements that come with the release of Couchbase Server 5.0 (now available for download). Failover is one of the important concepts to understand when it comes to distributed databases. The CAP theorem states...

Distributed session with ASP.NET Core and Couchbase
Distributed session is a way for you to store your session state outside of your ASP.NET Core application. Using Couchbase to store session state can help you when you need to scale your web site, especially if you don’t want...

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...

Dependency Injection with ASP.NET Core and Couchbase
Dependency Injection is a design pattern that makes coding easier. It saves you the hassle of instantiating objects with complex dependencies, and it makes it easier for you to write tests. With the Couchbase.Extensions.DependencyInjection library (GitHub), you can use Couchbase...

Distributed caching with ASP.NET Core and Couchbase
Distributed caching can help to improve performance of an ASP.NET Core application. This is especially true for an ASP.NET application that’s deployed to a server farm or scalable cloud environment. Using Couchbase Server for caching is one of the many...

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 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...

Converting XML to JSON In C# Using Json.NET
Converting XML to JSON data that can be loaded into Couchbase Server can be accomplished with a little bit of .NET. Depending on the source of the data, you might be able to use a tool like Talend. But you...

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. [youtube https://www.youtube.com/watch?v=pi-X8dhaIaQ&w=560&h=315] For more information about logging, check out the logging...

Authentication and Authorization with RBAC in .NET
Authentication and authorization are vastly improved in Couchbase Server 5.0. We’ve been blogging about the new RBAC features in the developer preview for a while. Authentication and Authorization with RBAC – introduction / part 1 Authentication and Authorization with RBAC...