Visual Studio Live! - Redmond 2013

Update: Slides and code are now available over on the Events page!

imageI will be presenting 2 sessions at Visual Studio Live! in Redmond on the Microsoft campus this August 19 – 23.  The conference is a full 5 day event and there’s still time to register and save some cash!  For this event, I’ll be presenting:

T20 Windows Store Application Contracts and Extensibility
Date:
Tuesday, August 20, 2013
Time: 4:15 pm – 5:30 pm
Level: Introductory

In this session, we will explore these contracts and how they can be used in any Windows Store application to provide a seamless, integrated experience for users.  Contracts are a new feature of Windows 8 Store applications that allow interaction with the operating system and other Store applications in a standard way. With contracts, applications can implement interfaces to allow searching, sharing, settings, app-to-app file picking, and more.

TH03 Building Your First Windows Phone 8 Application …

Read More

Visual Studio Live! - Las Vegas 2013

imageUpdate: Slides and code are now available over on the Events page!

I will be presenting a session at Visual Studio Live! in Las Vegas this March 25-29 at the MGM Grand.  The conference is a full 5 day event and there’s still time to register!

W01 Building Your First Windows Phone 8 Application
Date:
Wednesday, March 27, 2013
Time: 9:15 am - 10:30 am
Level: Introductory

Expand your mobile horizons with Windows Phone 8!  Developing applications for the phone is extremely similar to building a XAML application for the desktop.  In this session, I will demonstrate the fundamentals of Windows Phone development while building a very simple application which covers all of the important points of the new platforms architecture, including the developer tools and device emulator and touch input.

W20 Building a Windows Runtime Component with C#
Date:
Wednesday, March 27, 2013
Time: 4:15 pm - 5:30 pm
Level: Intermediate

A properly written Windows Runtime components can be …

Read More

Code Snippets for Windows Store Apps

Code Snippets for Windows Store AppsIf you're writing (or plan to write) a Windows Store app, check out our Windows Store App snippets project!  In partnership with the Visual Studio team, we have created a collection of around 60 IntelliSense Code Snippets for common Windows Store app programming tasks. The snippets are available for Visual Basic, C#, C++, and JavaScript developers.

For more details, please see:

With the Windows Store now open for submissions, use these snippets to get a jump start on your project.

After installing, just right-click and select Insert Snippet, and select the snippet from the list. Then press Tab to jump between fields.  Here's an example:

image

Give them a try and let us know what you think!

Read More

Visual Studio Live! - Redmond 2012

imageI will be presenting a session at Visual Studio Live! in New York this August 6-10 hosted on the Microsoft Campus.  The conference is a full 5 day event and there’s still time to register!

T13 - Writing Asynchronous Code Using .NET 4.5 and C# 5.0
Date: Tuesday, August 7, 2012
Time: 2:30 PM – 3:45 PM 
Level: Introductory

A variety of new features were added to the .NET 4.5 Framework, including support for easily writing asynchronous code. This session will introduce the concepts of asynchronous programming, .NET Tasks, how to ensure your UI remains responsive, and how to do all of this properly in your own applications using the new async and await keywords. If you’re looking for ways to provide a better, smoother experience for your users, don’t miss this session!

Get more information on the conference at:

Hope to see you all there!

Read More

Async Goodness at Tech Valley .NET User Group

imageI’ll be giving a session to the Tech Valley .NET Users Group (TVUG) Tuesday, March 13th at 6:30pm on the new async goodness that exists in .NET 4.5 and C# 5.0, as well as the Visual Studio Async CTP which can be used with Visual Studio 2010.  Here's the description:

Title: Writing Asynchronous Code Using .NET 4.5 and C# 5.0
Where: Tyler Technologies, Latham, NY
When: Tuesday, March 13th, 2012, 6:30-8:30PM

A variety of new features were added to the .NET 4.5 Framework, including support for easily writing asynchronous code. This session will introduce the concepts of asynchronous programming, .NET Tasks, how to ensure your UI remains responsive, and how to do all of this properly in your own applications using the new async and await keywords. If you’re looking for ways to provide a better, smoother experience for your users, don’t miss this session!

You will learn:

  • Learn about the pros/cons of asynchronous code
  • Learn how to write and use asynchronous code in …
Read More

Kinect for Windows SDK + XNA

imageI have seen a few people talk about using the Kinect for Windows SDK with XNA lately, and many of those projects aren't using the SDK how it's intended to be used from a framework such as this.

When I had a hand in working on the managed SDK, I made a point that the API should allow for both an "eventing" model, and a polling model.  In the land of WPF and WinForms, an eventing model makes perfect sense.  In these frameworks, the SDK is intended to be used thusly:

private Nui.Runtime _kinect = Nui.Runtime.Kinects[0];

private void Window_Loaded(object sender, RoutedEventArgs e)
{
    _kinect.DepthFrameReady += DepthFrameReady;
    _kinect.SkeletonFrameReady += SkeletonFrameReady;
}

void DepthFrameReady(object sender, ImageFrameReadyEventArgs e)
{
    // do something with the depth frame
}

void SkeletonFrameReady(object sender, SkeletonFrameReadyEventArgs e)
{
    // do something with the skeleton frame
}

But, in the land of XNA, where all of your code is shared …

Read More

Kinect for Windows SDK is here!

image

Hooray!  I can finally talk about this!  As I've alluded to previously, I had a hand (one of many) in the managed portion of the SDK and what was originally shown at MIX. Since then the SDK has changed a bit but it's finally ready to go!

The Kinect for Windows SDK is now available for download on the Microsoft Research site.  We have also launched several samples over at Coding4Fun that you can begin using immediately:

Coding4Fun Kinect Toolkit

You definitely want to download this one when you get started.  This toolkit contains a variety of extension methods and controls to make using the Kinect for Windows SDK even easier to use.  Some of my code appears in this one.  Smile

Kinect Mouse Cursor

This sample is entirely mine.  Kinect Mouse Cursor is a demo application that uses the Kinect for Windows SDK and its skeletal tracking features to allow a user to use their hands to control the Windows mouse cursor.  Use your right hand to move the …

Read More

MJPEG Decoder v1.1

A quick update to my Motion JPEG Decoder is now available at CodePlex.  Version 1.1 adds the ability to specify username/password credentials for cameras that require a login.  For example:

MjpegDecoder _mjpeg;

_mjpeg = new MjpegDecoder();
_mjpeg.FrameReady += mjpeg_FrameReady;

_mjpeg.ParseStream(new Uri("http://192.168.2.200/img/video.mjpeg"), "user", "password");

As always, questions/comments welcome.  Enjoy!

Read More

TweeVo v1.1 Released!

A new version of TweeVo is finally available.  This version allows the program to work once again now that Twitter has switched over to a mandatory OAuth/xAuth authentication scheme.  Chris Miller deserves all the credit for this one for handling the implementation of the new security scheme with some sample code from Shannon Whitley.  You can find downloads over on the original TweeVo page.  Give it a try and let me know if you run into any issues making it go.  Enjoy!

Read More

ThinkGearNET 1.1

imageI released version 1.1 of ThinkGearNET over at CodePlex last week.  ThinkGearNET is a library that allows developers to easily use the Neurosky MindSet device with .NET.  This version now matches Neurosky’s latest SDK and supports eye blink detection.  Nothing else has changed.  If anyone has used a prior version of the library, please give the new version a try and let me know if you have any problems.  Thanks!

Read More

Visual Studio Live! 2010 Redmond – Slides + Source

Thanks to all who attended my first session today, and a thank you in advance to those attending Thursday’s session on multi-touch.  I’m going to post my slide deck for the What’s New in VS2010 Debugging session now and I will update this post on Thursday/Friday with the source and slides for the multi-touch session.  Feel free to contact me with any comments or suggestions, good or bad.

Enjoy!

Read More

Ask the Experts at MIX10

Mix10_SeeYou_blk_240 As I posted earlier, I’ll be attending MIX10 this year, and I will be taking part in the Ask the Experts panel on Monday evening at 5pm.  I will be at the C# table since I’m a C# MVP, so stop by and start a discussion!  Experts in a variety of subjects will be on hand so even if C# isn’t your thing, surely one of the many other topics will be.  And even if you’re an antisocial shut-in like I am, beer will be served and there will be 2 Zune HDs given away to attendees of the event.  So really, there’s something for everyone.  Hope to see you there!

Read More