O'Reilly logo

Microsoft XNA 4.0 Game Development Cookbook by Luke Drumm

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting across the Web

Competing against friends and family at home can be a lot of fun, but being able to broaden one's gaming horizons to the wider world can bring a whole other level of possibilities.

In addition to demonstrating how to get started with writing HTTP-enabled clients, we'll also have a peek at one possible approach for constructing a web service for use within Microsoft's IIS web server platform.

Getting ready

This example requires that the ASP.NET components of Visual Studio be installed, and that a single SpriteFont file with the asset name of Info is used.

How to do it...

Dive into the world of web communications by:

  1. Creating a new ASP.NET Empty Solution with the project name of Server.Iis and the solution name of WebDemo ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required