(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Recording of Webinar 'Networking with Sockets in Windows Phone' by Peter Kuhn

(4 votes)
5 comments   /  Video with Peter Kuhn  /  67 minutes  /  Nov 10, 2011
Tags:   webinar , windows-phone , networking , peter-kuhn
Categories:   Windows Phone
Download WMV   181mb

Watch a recording of the webinar 'Networking with Sockets in Windows Phone' delivered by MCC Peter Kuhn on November 9th, 2011.

Download the webinar slides (ppt / pptx

The full source code to the SNTP client demoed in the webinar is now available as part of the open source project "Phone Net Tools" on CodePlex: http://phonenettools.codeplex.com/

In particular, the parts that resemble what has been shown live are the "Sample.Ntp" project and the implementation of the SNTP client which is located in "PhoneNetTools/Ntp/SntpClient.cs". More detailed documentation of this project will be added tomorrow (on CodePlex).

The links listed in the webinar slides are:

  • Another sample (simple instant messaging) with full source code with more detailed explanations is available on Peter Kuhn's blog: http://www.pitorque.de/MisterGoodcat/post/Windows-Phone-7-Mango-Sockets.aspx 
  • Current performance problems with sockets on some phone brands/models (in particular HTC models and the Dell Venue) is described here: http://www.pitorque.de/MisterGoodcat/post/Windows-Phone-7-UDP-performance.aspx
  • Another of open source library that demonstrates and uses TCP, UDP and Multicast is named "Phone as a Remote Control" and can be found here: http://paarc.codeplex.com

More detailed background information on the event-based sockets programming approach in WP7 and .NET (I/O Completion Ports) can be found here (very technical):

http://msdn.microsoft.com/en-us/magazine/cc163356.aspx(MSDN Magazine article), and here:

http://msdn.microsoft.com/en-us/library/aa365198(VS.85).aspx (MSDN documentation)


Webinar summary: Windows Phone comes with several built-in options to do networking, for example to access web services or conveniently make http requests. But with the recent "Mango" update, several new options have been added that enable additional scenarios like multiplayer gaming or instant messaging – all of which were hardly possible before, or only with several limitations in place. In this webinar Peter Kuhn reviewed these features and explained how you can use them to enable performant, custom networking in your application.


The contents in particular:
  • Sockets: an overview of the new networking features in "Mango"
  • TCP vs. UDP: making a decision
  • Sample code
  • Obstacles during development and testing
  • [Optional] Advanced topic: Multicast

As usual, we had a number of awards for our attendees! Check out who grabbed the 3 free SilverlightShow Ebooks 'Getting Ready for the Windows Phone Exam 70-599' (see all SilverlightShow ebooks), and 3 free ebooks 'Windows Phone 7 Silverlight Cookbook' from Packt Publishing!



Guest profile

Peter Kuhn

Peter Kuhn


Peter Kuhn, aka "Mister Goodcat" is an MCPD for .NET, Silverlight and Windows Phone 7, and has earned the Microsoft Community Contributor award in 2011. He has more than ten years of experience in the industry and works as a software architect and consultant for .NET and Silverlight for Applied Information Technologies (http://www.aitgmbh.de). You can find his blog and more info on http://www.pitorque.de/MisterGoodcat

Peter is the author of many SilverlightShow articles, among which the appreciated 14-part article series 'XNA for Silverlight Developers' (also available as an ebook) and 'Getting Ready for the Windows Phone Exam 70-599' (available as an ebook too). He also delivered the following SilverlightShow webinars:



Comments

  • b3t1m0s

    Re: Recording of Webinar 'Networking with Sockets in Windows Phone' by Peter Kuhn


    posted by b3t1m0s on Nov 11, 2011 11:06

    Please can you post recordings with better quality, because no code that Peter wrote is seeing?

  • SilverlightShow

    Re: Recording of Webinar 'Networking with Sockets in Windows Phone' by Peter Kuhn


    posted by SilverlightShow on Nov 11, 2011 12:04

    Hi b3t1m0s,

    First thank you for your interest in our webinar. 

    Regarding your question - Peter used the optimal resolution, otherwise the file with the recording would become pretty huge. But all the source code presented during the webinar is available online (see instructions from where to download it in the description below the recording) - you can grab the code and take a closer look.

    Greetings,

    SilverlightShow Team

  • b3t1m0s

    Re: Recording of Webinar 'Networking with Sockets in Windows Phone' by Peter Kuhn


    posted by b3t1m0s on Nov 11, 2011 12:31

    Hi dear,

    Thanks a lot for answer. I really appreciate it.

  • SilverlightShow

    Re: Recording of Webinar 'Networking with Sockets in Windows Phone' by Peter Kuhn


    posted by SilverlightShow on Nov 15, 2011 16:34
    b3t1m0s, 

    We further investigated the problem with the resolution in our webinar recording and finally found a solution. You can now clearly see all code showed in this video when in Full Screen mode. 

    Thank you for your patience and understanding!

    Best,
    SilverlightShow Team

  • NishDiwakar

    Re: Recording of Webinar 'Networking with Sockets in Windows Phone' by Peter Kuhn


    posted by NishDiwakar on Dec 20, 2011 04:35

    so it means I can write chat bots operating from a mobile phone LOL

Add Comment

Login to comment:
  *      *