HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Add Azure BLOB provider to your .NET Core application

Explains the concept and usage of BLOBs (Binary Large Objects) for Azure BLOB.

Install EPiserver.Azure package that has the extensions methods on IServiceCollection interface. See also Create and deploy a CMS site.

The following example shows how to use and add Azure BLOB provider in the application:

using EPiServer.ServiceLocation;
using Microsoft.Extensions.DependencyInjection;
using System;

namespace SampleBlob {
  public class Startup {
    public void ConfigureServices(IServiceCollection services) {
      services.AddAzureBlobProvider("Azure", o => {
        o.ConnectionString = {
          The Azure storage connection string
        };
        o.ContainerName = {
          The container name
        };
      });
    }
  }
}