RavenDB 2.x  Beginner's Guide
上QQ阅读APP看书,第一时间看更新

The RavenDB .NET Client API

RavenDB provides a set of .NET client libraries for interacting with it, which can be accessed from any .NET-based programming languages. By using these libraries, you can manage RavenDB, construct requests, send them to the server, and receive responses.

The .NET Client API exposes all aspects of the RavenDB and allows developers to easily integrate RavenDB services into their own applications.

The .NET Client API is involved with loading and saving the data, and it is responsible for integrating with the .NET System.Transactions namespace. With System.Transactions, there is already a general way to work transactionally across different resources. Also the .NET Client API is responsible for batching requests to the server, caching, and more.

The .NET Client API is easy to use and uses several conventions to control how it works. These conventions can be modified by the user to meet its application needs.

Note

It is not recommended to use System.Transactions. In fact, it is recommended to avoid it. System.Transactions is supported in RavenDB mostly to allow integration while using collaboration tools between services for example, NServiceBus.