Notice»

Recent Post»

Recent Comment»

Recent Trackback»

Archive»

« 2024/3 »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31


Mango Training Course에 있는 Weather Service Push notifications 실습시 주의해야 될사항

서비스에서 Self Hosting을 사용하므로 관리자 모드로 Visual Studio를 실행해야 됩니다.

실습1 - Task1.
 7번 
 RegistrationService 클래스 추가시 Service 폴더에서 추가(Add) 하지 않으면 namespace가 달라져서 서비스가 제대로 동작 못함(버그 없음)
 32번
기존 using 아래에 아래 소스 추가하기(Service 이름 잘못됨)

using System.Collections.ObjectModel;
using System.IO;
using System.Xml;
using WPPushNotification.ServerSideWeatherSimulator.Service; // Service이름 잘못됨
using WindowsPhone.Recipes.Push.Messasges;
 33번 - 버그!
private RawPushNotificationMessage rawPushNotificationMessage = new RawPushNotificationMessage();
위 코드를 아래처럼 인자값을 넣어서 처리해야 WCF Rest서비스가 제대로 테스트 됩니다.
private RawPushNotificationMessage rawPushNotificationMessage = new RawPushNotificationMessage(MessageSendPriority.High);

실습2 -
Task1. 
WPPushNotification.ServerSideWeatherSimulator 프로젝트에서  문서에는 Private variables 영역에 아래 코드가 빠짐
 private TilePushNotificationMessage tilePushNotificationMessage = new TilePushNotificationMessage(MessageSendPriority.High);
 private ToastPushNotificationMessage toastPushNotificationMessage = new ToastPushNotificationMessage(MessageSendPriority.High);
: