HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

How to add Azure Blob Provider to your .NET Core application

This topic explains the concept and usage of BLOBs (Binary Large Objects) for Azure BLOB.

Install EPiserver.Azure package that have the extensions methods on IServiceCollection interface.

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

using EPiServer.ServiceLocation;
    using Microsoft.Extensions.DependencyInjection;
    using System;
    
    namespace SampleBlob
    {
      public class Startup
      {
        public void ConfigureServices(IServiceCollection services)
        {
          .AddAzureBlobProvider("Azure", o =>
          {
            o.ConnectionString = {The Azuer storage connection string};
            o.ContainerName = {The container name};
          });
        }
      }
    }

Did this page help you?