|Some obvious prerequisites|
|If you are serious about Windows Phone 7 development and want to make use of Notification Servcies, you need to know a few things really well.
Both Silverlight and WCF need to be hosted somewhere. Silverlight is typically embedded in a web page at a web site. The binary Silverlight application lives on a web server as well.
Not even included below is a discussion about hosting your WCF Service or Web App in Windows Azure.
|Which is better, REST or SOAP?|
|It is an odd comparison because they are somewhat “apples and oranges.”
This debate rages, “REST is an architectural style for building client-server applications. SOAP is a protocol specification for exchanging data between two endpoints.“
|Video Demo of building a SOAP and RESTful Service|
|What the video covers
|Source Code - Web.config|
|Some key images – things to notice|
Where do you get WCF Test Client?
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\WcfTestClient.exe
WCF Test Client
Double click on SayHello()
Type in your name (Bruno) and click “Invoke”
Notice the response is “Hello: Bruno” . If you click “XML” you can actually see the SOAP envelopes.
More generally you should notice that SOAP requests and responses come in a SOAP envelope:
Description: The SOAP envelope sent by client to web service
Figure: Request Object
Description: The SOAP envelope sent by the web service back to the client
Figure: Response Object
Description: The Main Service.cs class. Just a method that prepends “Hello: “ to the name passed in
Figure: Service.cs – SOAP Based
|More is coming…|