Skip to content

Get started

Sandor edited this page Sep 21, 2017 · 2 revisions

Register storage in your ConfigureServices

services.AddStorage(this.Configuration.GetSection("Storage"))
                .AddAzureStorage()
                .AddFileSystemStorage(HostingEnvironement.ContentRootPath)
                .AddFileSystemStorageServer(options =>
                {
                    options.SigningKey = signingKey;
                    options.BaseUri = new Uri("http://localhost:11149/");
                })
                .AddFileSystemExtendedProperties();

If using FileSystemStorage and you want to expose a container, you'll need the FileSystemStorageServer Middleware. You can add to the pipeline in your Configure

 app.UseFileSystemStorageServer();
Clone this wiki locally