Thursday, May 19, 2005

Mobile Computing SIG Presentation Code Samples

First, let me thank all of you who attended last night's Mobile Computing SIG meeting last night at Microsoft in Mountain View. I thoroughly enjoyed doing the Windows Mobile application demo showing how to build wireless connected applications with the Microsoft .NET Compact Framework.

A number of you asked for the sample code I presented. I am happy to provide it here as two zip files.

The first file, cddb.zip, contains the Visual Studio .NET 2003 solution file as well as the Windows Mobile Pocket PC client source code. The second file, cddb_web.zip, contains the source code for the web application that the client application talks to. I packaged everything as two separate zip files because the web application code lives under the IIS inetpub\wwwroot directory, and the other files don't.

To use this sample code, you need to be running ASP.NET and have a cddb virtual directory under a directory called sig in your IIS default web application. Then extract the cddb_web.zip files into that directory. Or, you can create a new C# web application in Visual Studio .NET located at localhost/sig/cddb, let Visual Studio .NET create the virtual directory for you, and then copy the WebForm1.aspx, etc. files from the zip file over the ones created by Visual Studio .NET.

You can extract the cddb.zip contents pretty much anywhere you like. If you use Visual Studio to create a new web application as described above, you won't need the .sln and .suo files included. You will however in that casd need to add an existing project to the solution, the client.csproj client application.

Feel free to email me or post to this entry if you have any questions or comments.

0 Comments:

Post a Comment

<< Home