Integrate Azure Media Services OWIN MVC based app with Azure Active Directory and restrict content key delivery based on JWT claims

Posted on

In this article I want to demo how to build an OWIN MVC application that uses Media Services to store a collection of video clips, dynamically encrypt these videos with AES, and deliver encrypted content to clients. The MVC application integrates with Azure Active Directory user groups and leverages Azure AD single sign in. The   …Continue Reading


JWT token Authentication in Azure Media Services and Dynamic Encryption

Posted on

Starting from Azure Media Services .NET 4.5  SDK 3.1.0.0 release, Azure Media services team added functionality to use JWT token to restrict delivery of content keys. In this post I’d like  to demonstrate how to issue JWT token to be used in scenario when you want to stream dynamically encrypted content and content key requests have   …Continue Reading


Windows Azure Media Services .NET SDK 3.0.0.2 release

Posted on

Today Microsoft released version 3.0.0.2  of Windows Azure Media Services .NET SDK which is hosted in nuget.org  http://bit.ly/1gUB34k. 3.0.0.2 is a minor release addressing few bug fixes,code refactoring within sdk code base and splitting scenario e2e tests from unit tests into different solutions. I want to highlight few changes which recently have been made in   …Continue Reading


How to encode audio with Windows Azure Media Services

Posted on

When you creating encoding job in Windows Azure Media Services you can select encoder and corresponding configuration (preset). Windows azure Media Services supports named presets as well as presets in form of xml files. To see list of name presets for Windows Azure Media Encoder follow this link: http://msdn.microsoft.com/en-us/library/windowsazure/jj129582.aspx   To see list of supported   …Continue Reading


Windows Azure Media Services 2.4.0.0 has been released to nuget.org

Posted on

Briefly about changes: – Added functionality to update job priority. – Added Locator.Name, Asset.Uri properties – Added 23 locator related unit tests – Changed asset load balancing samples to include reasons why account has been selected or not. Code has been uploaded to github sample dir http://bit.ly/1chUG2O and article to explain some concepts behind implementation   …Continue Reading


Quick tip: Validating Nuget package by installing it from local disk

Posted on

When you releasing software it is critical to double check that package is not corrupted.If i don’t have private repository deployments to host packages,  I usually open package with any zip archive program like 7Zip, but better way is to actually install it from local disk . Here is a quick tip: Open package manager   …Continue Reading


How to use Windows Azure PowerShell for Media Services

Posted on

Yesterday we published first set of powershell cmdlets to help manage Windows Azure Media Services. In this article I want give quick overview of what first set of media services related cmdlets are covering. Before going into details I’d like to list set of cmdlets we shipped: New-AzureMediaServicesAccount New-AzureMediaServicesKey Get-AzureMediaServicesAccount Remove-AzureMediaServicesAccount   Installing  Windows Azure   …Continue Reading


CloudTable.Exists() when referencing Table through SAS Url

Posted on

  Found interesting bug today.Still need to verify with storage team.


How to force download file in a browser by specifying mime type

Posted on

Use mime-type:application/octet-stream