volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Blob provider

Hi,

Is there any way to host images in cloud using some provider ?
I saw few tutorials but most of them relate to cloud hosting of the entier site.

Kind Regards,

Nemanja

#151136
Jul 12, 2016 8:28

1. Install Episerver Azure package from nuget 

2. Change blob provider 

<blob defaultProvider="azureblobs">
  <providers>
    <add name="azureblobs" type="EPiServer.Azure.Blobs.AzureBlobProvider,EPiServer.Azure"
          connectionStringName="EPiServerAzureBlobs" container="mycontainer"/>
  </providers>
</blob>

3. Add connection string 

<connectionStrings>
  <add name="EPiServerAzureBlobs" connectionString="DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=abcdefghij" />
</connectionStrings>

You can use this even if you don't have the actual site in azure.

#151137
Jul 12, 2016 9:14

Hi Daniel,

Thx for fast answer!
I have installed EpiServer.Amazon package, but i still can't find <blob/> section in web.config, in some tutorials i saw that this should be in episerver.config but i don't even have episerver.config in my solution. 
Do i need to add <blob/> section on my own in web.config ?

kind regards
Nemanja

#151138
Jul 12, 2016 10:05

Thanks, 

I'll take a look at it !

#151143
Jul 12, 2016 11:53
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.