Orchard/src/Orchard.Web/Modules/Orchard.Azure.MediaServices
2016-06-16 19:01:07 +02:00
..
Assets Added Uri. 2015-11-21 15:49:23 +01:00
Content Cleaned up and reformatted all Web.config files according to #6072. 2016-01-22 20:38:34 +01:00
Controllers Added support for custom encoding presets to Orchard.Azure.MediaServices. 2014-09-08 19:07:23 +02:00
Drivers Added the Orchard.Azure.MediaServices module. 2014-03-22 15:59:41 +01:00
Events Added support for custom encoding presets to Orchard.Azure.MediaServices. 2014-09-08 19:07:23 +02:00
Handlers Renaming Windows Azure to Microsoft Azure 2014-04-01 17:10:25 -07:00
Helpers Added the Orchard.Azure.MediaServices module. 2014-03-22 15:59:41 +01:00
Images Cleaned up and reformatted all Web.config files according to #6072. 2016-01-22 20:38:34 +01:00
Infrastructure Added the Orchard.Azure.MediaServices module. 2014-03-22 15:59:41 +01:00
Models Merge branch '1.9.x' into dev 2015-08-17 00:03:59 +01:00
Navigation Renaming Windows Azure to Microsoft Azure 2014-04-01 17:10:25 -07:00
Properties Updating version numbers to 1.10.1 2016-04-26 10:12:18 -07:00
Scripts Refreshed all Gulp-compiled resource files. 2016-02-09 23:47:56 +01:00
Services Removed redundant thread synchronization code from modules which now use distributed locks. 2015-09-06 21:41:30 +02:00
Shapes Removing dependency on Part for rendering videos 2014-05-29 15:55:59 -07:00
Styles Refreshed all Gulp-compiled resource files. 2016-02-09 23:47:56 +01:00
Tests/Microsoft.CloudMedia.Tests Merge branch 'dev' into issue/homepage-alias 2015-07-24 13:33:36 +01:00
ViewModels Added support for custom encoding presets to Orchard.Azure.MediaServices. 2014-09-08 19:07:23 +02:00
Views Fixing jQuery typo 2016-04-14 17:11:51 -07:00
Assets.json Merge branch 'dev' into issue/homepage-alias 2015-08-04 16:25:35 +01:00
Migrations.cs Adding WithIdentity() content metadata helper to add IdentityPart in migrations and changing affected code to use this 2016-01-04 19:09:00 +01:00
Module.txt Updating version numbers to 1.10.1 2016-04-26 10:12:18 -07:00
Orchard.Azure.MediaServices.csproj Upgrading FluentNHibernate so it's sync with other assemblies to prevent exceptions when running tests. Fixes #6933. 2016-06-16 19:01:07 +02:00
packages.config Upgrading FluentNHibernate so it's sync with other assemblies to prevent exceptions when running tests. Fixes #6933. 2016-06-16 19:01:07 +02:00
Permissions.cs Renaming Windows Azure to Microsoft Azure 2014-04-01 17:10:25 -07:00
Placement.info Added the Orchard.Azure.MediaServices module. 2014-03-22 15:59:41 +01:00
Readme.txt Renaming Windows Azure to Microsoft Azure 2014-04-01 17:10:25 -07:00
Web.config Removing roslyn compilation for now 2016-02-01 11:55:04 -08:00

CONFIGURING ORCHARD FOR THE MODULE
**********************************
    
1. Increase the maximum request content length for Orchard
----------------------------------------------------------

The module provides two ways of uploading media files to Microsoft Azure Media Services (WAMS):
* Direct CORS-based upload to Microsoft Azure Blob Storage. This is used by default if the browser supports CORS.
* Proxied upload where files are first uploaded to Orchard where they are kept in local file system storage temporarily, before being ingested into WAMS by a server-side background process. This is used as a fallback for browsers that don't support CORS.

When using proxied upload, IIS places limits on the maximum allowed upload file sizes. By default, Orchard is configured in its Web.config to allow file uploads of up to 64 MB. If the module will be used to ingest media files larger than 64 MB these values need to be increased, or the first upload step (from the user's/editor's local machine to Orchard temporary storage) will fail.

Specifically, the following attributes need to be reconfigured with a value appropriate for the size of media files with which the module is intended to be used:
    - system.web/httpRuntime/@maxRequestLength
    - system.webServer/security/requestFiltering/requestLimits/@maxAllowedContentLength
    
Both of these attributes must be configured with the same value, or whichever value is smaller will effectively impose a limit on the allowed media file upload size.

2. Configuring the logging level for the module
-----------------------------------------------

The module logs messages of different severity levels and verbosity through the standard Orchard logging pipeline.

To ensure the most verbose logging output from the module, while limiting the verbosity level of other logging sources, a <logger> element can be added to the file Config/Log4net.config in the Orchard.Web and/or Orchard.Azure.Web projects:

    <logger name="Orchard.Azure.MediaServices">
        <!-- Log verbosely from the Orchard.Azure.MediaServices module. -->
        <priority value="DEBUG" />
        <!-- Send DEBUG level logging data to debugger console and debug file, but not to error file. -->
        <appender-ref ref="debugger"/>
        <appender-ref ref="debug-file" />
    </logger>

CONFIGURING THE MODULE
**********************
   
1. Configuring the WAMS account credentials
-------------------------------------------

After the module is installed and the feature "Microsoft Azure Media Services" is enabled, the WAMS account credentials must be configured in the "Windows Azure Media" settings section in the Orchard administration dashboard. This information can be obtained from the Windows Azure management portal.

2. Configuring the Microsoft Azure Storage account credentials
------------------------------------------------------------

To use the direct CORS-based upload a CORS rule must be added to the Microsoft Azure Storage account used by the configured WAMS instance. The module can do this automatically, but it needs the Windows Azure Storage account credentials. Specify the account key for the underlying Windows Azure Storage account used by your Windows Azure Media Services instance if you want to automatically enable CORS support with the appropriate origin URLs for the Orchard site. CORS rules will be added to the storage account for both the configured base URL of the site, and the URL on which you are accessing the site when saving the credentials. If you leave this field blank you will have to manually enable the appropriate CORS support for your Windows Azure Storage account using PowerShell.