Skip to Main Content
Windows Store App Development: C# and XAML
book

Windows Store App Development: C# and XAML

by Pete Brown
June 2013
Intermediate to advanced content levelIntermediate to advanced
624 pages
20h 56m
English
Manning Publications
Content preview from Windows Store App Development: C# and XAML

Chapter 20. Networking player location

This chapter covers

  • The updated Player model
  • Using an ItemsControl to display ships
  • Sending player updates across TCP

In the previous chapter you created the Ship user control and displayed it on the screen. In this chapter you’ll expand on that work. The primary purpose of this chapter is to show you how I filled out the glue code that makes the socket service and player display from the previous chapters respond to the user input from the next chapter. As part of this, you’ll learn some interesting techniques such as using a bound ItemsControl to display the players on the playing field and spinning up background threads to send test data across the wire.

You’ll start by updating the Player model ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows 8.1 Apps with XAML and C# Unleashed

Windows 8.1 Apps with XAML and C# Unleashed

Adam Nathan
Pro Windows 8.1 Development with XAML and C#

Pro Windows 8.1 Development with XAML and C#

Jesse Liberty, Philip Japikse, Jon Galloway

Publisher Resources

ISBN: 9781617290947Publisher SupportPublisher WebsitePurchase LinkOther