mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00

Executing ClickToBuild.cmd generates the package for Azure including all modules available in Orchard.Web automatically AzureSDK in requiered for this tasks. If not present, the package won't succeed, but Orchard.Web will still be built The Orchard.Azure solution contains the required environment for implementing Azure specific providers, and unit testing The Orchard.Azure.CloudService solution contains the CloudService enrironment to simulate Azure platform locally --HG-- branch : dev
17 lines
518 B
C#
17 lines
518 B
C#
using Microsoft.WindowsAzure;
|
|
using Orchard.Storage;
|
|
|
|
namespace Orchard.Azure.Storage {
|
|
|
|
public class AzureBlobStorageProvider : AzureFileSystem, IStorageProvider {
|
|
|
|
public AzureBlobStorageProvider(string shellName)
|
|
: this(shellName, CloudStorageAccount.FromConfigurationSetting("DataConnectionString")) {
|
|
}
|
|
|
|
public AzureBlobStorageProvider(string shellName, CloudStorageAccount storageAccount) : base("media", shellName, false, storageAccount) { }
|
|
}
|
|
}
|
|
|
|
|