RavenDB Attachments

This stores files in a RavenDB instance. The files will be stored alongside the meta objects as attachments. Redakt CMS offers RavenDB integration through an optional NuGet package. This feature can only be used in combination with the RavenDB data store module. It is therefore not necessary to configure a connection string, since the same connection from the RavenDB instance will be used.

Installation

Install the RavenDB package with the NuGet package manager or the Package Manager Console.

PM> Install-Package Redakt.Data.RavenDB

Register RavenDB Attachment services in the ConfigureServices method in your project's Startup.cs file.

public void ConfigureServices(IServiceCollection services)
{
    // ... framework and other services here

    services.AddRedakt(this.Configuration, builder =>
    {
        builder.AddRavenAttachmentFileStore();
        // ... other Redakt services
    });
}

Configuration

Configuration is not necessary since the connection will be used from the RavenDB data store.