Windows Phone Push Notifications and Windows Azure
- Posted: Nov 04, 2011 at 8:27 PM
- 29,404 Views
- 17 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- High Quality MP4 (iPad, PC)
- MP4 (iPod, Zune HD)
- Mid Quality MP4 (WP7, HTML5)
Using new NuGet packages built by his team, Wade Wegner shows you how you can create a brand new Windows Phone 7.1 project and enable push notification support using an ASP.NET MVC 3 Web Application running in Windows Azure - in less than two minutes!
You only need the following three NuGet packages:
Install-Package Phone.Notifications.BasePage Install-Package CloudServices.Notifications Install-Package WindowsPhone.Notifications.ManagementUI.Sample
To learn more, watch Wade explain the purpose of these NuGet packages on the following Cloud Cover show: Adding Push Notifications to Windows Phone Apps. You can also try out the Windows Azure Toolkit for Windows Phone on CodePlex.
hardline by alex used under Creative Commons
Comment on the Post
Already have a Channel 9 account? Please sign in
Follow the Discussion
When I create a WP7 project, it isn't a solution, hence I can't right click to add a new project like you do. Are you doing something like pressing the shift key when you create a new project in VS2010?
It works fine !
Valeu..........
It´s perfect for start in the programming Windows Phone.
Thanks.
Victor.
@d0nauld: Could you email me from my blog at http://blogs.msdn.com/devschool if you are still having difficulties? I would need to find out more about your set-up to assist.
If you receive an error using the NuGet PM command:
http://watwp.codeplex.com/releases/view/77780
Hi I have a problem, when i try to install the Phone.Notifications.BasePage i have this problem
could you help me please?
Install-Package : Unable to find assembly references that are compatible with the target framework 'Silverlight,Versio
n=v4.0,Profile=WindowsPhone71'.
At line:1 char:16
+ Install-Package <<<< Phone.Notifications.BasePage
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageComman
Maleny, make sure you have windows phone 7.1 sdk installed and not the older 7.0
i'm sure, i have windows phone sdk 7.1 installed in my PC.
@maleny: I have the same problem, with the same setup. Any solution found?
@billo:Needed a new version of NuGet. See http://www.wadewegner.com/2011/11/unable-to-find-assembly-references-that-are-compatible-with-the-target-framework-silverlightversionv4-0-profilewindowsphone71/
Also, NuGet was unable to update itself, so had to uninstall the previous version (1.2) and install anew.
when I am trying to do the last installation :
Install-Package WindowsPhone.Notifications.ManagementUI.Sample
i get the following error massage:
Failed to add reference to 'Microsoft.IdentityModel'. Please make sure that it is in the Global Assembly Cache.
what could be the reason for that???
Tnx
Eli
my name is adit,
i have little problem here, i cant install "Package WindowsPhone.Notifications.ManagementUI.Sample"..
here the error statement :
______________________________________________________________________
Install-Package : Failed to add reference to 'Microsoft.IdentityModel'. Please make sure that it is in the Global Assembly Cache.
At line:1 char:16
+ Install-Package <<<< WindowsPhone.Notifications.ManagementUI.Sample
+ CategoryInfo : NotSpecified: (Smiley [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
______________________________________________________________________
may anyone help me..
thanks in advance
@maleny:make you sure to installed MVC Platform 3 for azure...
@eli:do you have solved your problem occured?
Very Nice Solution.
I am able to test it fine in Visual Studio, but when I publish the WebRole to Azure and try to browse it, I keep getting the following YSOD message:
No connection could be made because the target machine actively refused it 127.0.0.1:10000
Is there something I need to do to publish this correctly ?
Thanks.
Etienne.
Hey I am having the same problem as Eli
Install-Package : Failed to add reference to 'Microsoft.IdentityModel'. Please make sure that it is in the Global Assembly
Cache.
At line:1 char:16
+ Install-Package <<<< WindowsPhone.Notifications.ManagementUI.Sample
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Thanks
@Etienne: you need to change code and user Windows Azure Storage Account.Read section "Configuring your Windows Azure Storage account" in WindowsPhone.Notifications.ManagementUI.Sample.Readme.htm. Changes: class NotificationManagementUi, method PreStart and class NotificationService, method PreStart. Or search for "DevelopmentStorageAccount" in the entyre solution.
Remove this comment
Remove this thread
close