Skip to content

Commit 16c903c

Browse files
committed
Starting adding ImageProcessor CloudImageService auto configuration for Umbraco installer
1 parent 56bb1a6 commit 16c903c

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

build/transforms/FileSystemProviders.config.install.xdt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</Provider>
99

1010
<Provider alias="media" type="Our.Umbraco.FileSystemProviders.Azure.AzureBlobFileSystem, Our.Umbraco.FileSystemProviders.Azure" xdt:Locator="Match(type)" xdt:Transform="InsertIfMissing">
11-
<Parameters xdt:Transform="InsertIfMissing">
11+
<Parameters xdt:Transform="InsertIfMissing">
1212
<add key="containerName" value="media" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
1313
<add key="rootUrl" value="http://[myAccountName].blob.core.windows.net/" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
1414
<add key="connectionString" value="DefaultEndpointsProtocol=https;AccountName=[myAccountName];AccountKey=[myAccountKey]" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<security xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
3+
<services>
4+
<service prefix="media/" name="CloudImageService" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web" xdt:Locator="Match(prefix, name)" xdt:Transform="InsertIfMissing">
5+
<settings>
6+
<setting key="MaxBytes" value="8194304"/>
7+
<setting key="Timeout" value="30000"/>
8+
<setting key="Host" value="http://[myAccountName].blob.core.windows.net/media/"/>
9+
</settings>
10+
</service>
11+
</services>
12+
</security>

src/UmbracoFileSystemProviders.Azure.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BuildPackage", "BuildPackag
2020
..\build\package.nuspec = ..\build\package.nuspec
2121
..\build\package.proj = ..\build\package.proj
2222
..\build\package.xml = ..\build\package.xml
23+
..\build\transforms\security.config.install.xdt = ..\build\transforms\security.config.install.xdt
2324
..\build\UmbracoFileSystemProviders.Azure.proj = ..\build\UmbracoFileSystemProviders.Azure.proj
2425
..\build\transforms\web.config.install.xdt = ..\build\transforms\web.config.install.xdt
2526
..\build\transforms\web.config.uninstall.xdt = ..\build\transforms\web.config.uninstall.xdt

0 commit comments

Comments
 (0)