Skip to content

Commit e31679a

Browse files
committed
Update readme
1 parent d22f6af commit e31679a

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ cd UmbracoFileSystemProviders.Azure
4848

4949
In the interim code reviews and pull requests would be most welcome!
5050

51+
## Media
52+
5153
### Configuration via Web.Config
5254

5355
In `Web.config` create the new application keys
@@ -77,7 +79,7 @@ Additionally the provider can be further configured with the following applicati
7779
</configuration>
7880
```
7981

80-
## Virtual Path Provider
82+
### Virtual Path Provider
8183
By default the plugin will serve files transparently from your domain or serve media directly from Azure. This is made possible by using a custom [Virtual Path Provider](https://msdn.microsoft.com/en-us/library/system.web.hosting.virtualpathprovider%28v=vs.110%29.aspx) included and automatically initialised upon application startup. This can be disabled by adding the configuration setting noted above.
8284

8385
**Note:** Virtual Path Providers may affect performance/caching depending on your setup as the process differs from IIS's [unmanaged handler](http://www.paraesthesia.com/archive/2011/05/02/when-staticfilehandler-is-not-staticfilehandler.aspx/). Virtual files sent via the provider though are correctly cached in the browser so this shouldn't be an issue. VPP providers also **don't work** with **Precompiled sites** or when used in a **virtual directory/application**.
@@ -113,7 +115,7 @@ Also add this configuration to the `web.config` inside the `Media` folder
113115
</configuration>
114116
```
115117

116-
## Combining with ImageProcessor
118+
### Combining with ImageProcessor
117119

118120
ImageProcessor.Web contains a [`IImageService`](http://imageprocessor.org/imageprocessor-web/extending/#iimageservice) called `CloudImageService`, to enable that service and pull images directly from
119121
the cloud replace the `CloudImageService`setting with the following:
@@ -138,6 +140,23 @@ the cloud replace the `CloudImageService`setting with the following:
138140

139141
Optionally install the [AzureBlobCache](http://imageprocessor.org/imageprocessor-web/plugins/azure-blob-cache/) plugin to get the most out of the package.
140142

143+
## Umbraco Forms
144+
145+
Currently this package is available only via NuGet
146+
147+
Install-Package UmbracoFileSystemProviders.Azure.Forms -pre
148+
149+
### Configuration via Web.Config
150+
151+
In `Web.config` update the new application keys with the required credentials
152+
153+
```xml
154+
<add key="AzureBlobFileSystem.ContainerName:forms" value="forms-data" />
155+
<add key="AzureBlobFileSystem.RootUrl:forms" value="https://[myAccountName].blob.core.windows.net/" />
156+
<add key="AzureBlobFileSystem.ConnectionString:forms" value="DefaultEndpointsProtocol=https;AccountName=[myAccountName];AccountKey=[myAccountKey]" />
157+
<add key="AzureBlobFileSystem.UsePrivateContainer:forms" value="false" />
158+
```
159+
141160
## Authors
142161

143162
- James Jackson-South

build/transforms/forms-web.config.install.xdt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
33
<appSettings>
4-
<add key="AzureBlobFileSystem.ContainerName:forms" value="media" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
4+
<add key="AzureBlobFileSystem.ContainerName:forms" value="forms-data" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
55
<add key="AzureBlobFileSystem.RootUrl:forms" value="https://[myAccountName].blob.core.windows.net/" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing"/>
66
<add key="AzureBlobFileSystem.ConnectionString:forms" value="DefaultEndpointsProtocol=https;AccountName=[myAccountName];AccountKey=[myAccountKey]" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing"/>
77
<add key="AzureBlobFileSystem.UsePrivateContainer:forms" value="false" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />

0 commit comments

Comments
 (0)