concept DotCMIS in category apache chemistry

appears as: DotCMIS
CMIS and Apache Chemistry in Action

This is an excerpt from Manning's book CMIS and Apache Chemistry in Action.

DotCMIS is another Apache Chemistry subproject that provides a CMIS client library for .NET. Its interfaces and behavior are similar to OpenCMIS. You can transfer most of the concepts in this and the next chapter to DotCMIS. If you’re a .NET developer, keep reading; chapter 9 offers more on DotCMIS.

DotCMIS, as its name implies, is the .NET CMIS client library. It’s similar in architecture to the OpenCMIS client library, and it’s tightly based on the CMIS domain model. It’s a full-featured library, including caching of CMIS objects and bindings, but it’s limited in the area of authentication. Whereas OpenCMIS provides support for both NTLM and Basic authentication, DotCMIS includes only Basic authentication. On the bright side, it’s extensible to other authentication methods, as we’ll discuss shortly.

9.2.2. Getting started with DotCMIS

In this section, you’ll see how to connect to the repository and perform basic CRUD functions against it using DotCMIS.

Regardless of whether you seek to take advantage of DotCMIS in PowerShell or C#, your first step is the same: you must create a reference to the DotCMIS binary. In C#, this is as simple as clicking Add a Reference for your Visual Studio project and browsing to the DotCMIS binary. In PowerShell, you’ll need to run the following command: