Posts
133
Comments
328
Trackbacks
0
October 2011 Entries
My guest-blog post on Kinect for the MVP Award Program Blog

Introduction

I’m sure by now you have heard that the Kinect SDK has been released by Microsoft. I recently had a chance to Guest Blog for the Microsoft MVP Award Program Blog on “Getting the Most out of the Kinect SDK”. Now before we get started learning about it, let’s look at what it is:

*Kinect for Xbox 360, or simply Kinect (originally known by the code name Project Natal),[8] is a motion sensing input device by Microsoft for the Xbox 360 video game console. Based around a webcam-style add-on peripheral for the Xbox 360 console, it enables users to control and interact with the Xbox 360 without the need to touch a game controller, through a natural user interface using gestures and spoken commands.[9] The project is aimed at broadening the Xbox 360's audience beyond its typical gamer base.[10] Kinect competes with the Wii Remote Plus and PlayStation Move with PlayStation Eye motion controllers for the Wii and PlayStation 3 home consoles, respectively.

*Definition taken from the wikipedia article on Kinect

The Full Article

The full article is hosted on the Microsoft MVP Award Program Blog. You can also access it by clicking on the screenshot below. Don’t forget to rate it and leave comments if you wish.

image

mike_new_avatar Michael Crump is a Silverlight MVP and MCPD that works for Telerik as a XAML Evangelist. He has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.

You can follow Michael on Twitter or keep up with his blog by visiting michaelcrump.net or subscribing to his RSS Feed.
Posted On Monday, October 31, 2011 2:39 PM | Feedback (0)
My Silverlight Show Featured Article Series on Silverlight 5

 

image

Introduction

In case you missed it, I have a 10-part series on Silverlight 5 on SilverlightShow.net. In this extensive guide to Silverlight 5, I give a step-by-step introduction to Silverlight 5, and dives into the features most important to a Silverlight developer.

You can check out the first 3 parts now and I will be adding a new one each week.

The Roadmap for this Series

I’ve included the Roadmap for the series below as you may want to visit other sections as you learn Silverlight 5. I picked the following features as I thought that you may find them useful in your day-to-day work. If you want a specific topic covered then please leave it in the comments below.

1) Introduction to SL5 – This post which provides a brief history of Silverlight and relevant links.

2) Binding - Ancestor Relative Source Binding and Implicit Data Templates.

3) Graphics –XNA 3D API and Improved Graphics Stack.

4) Media - Low-Latency Sound using XNA and Remote Control and Media Command (Keys) Support.

5) Text - Text Tracking and Leading, Linked and Multi-column Text, OpenType Support, Pixel Snapped Text and TextOptions.

6) Operating System Integration Part 1 - P/Invoke, Multiple Windows and Unrestricted File System Access in Full Trust.

7) Operating System Integration Part 2 - Default Filename for SaveFileDialog, 64-bit browser support and Power Awareness.

8) Productivity and Performance - XAML Binding Debugging, Parser Performance Improvements and Multi-core JIT for improved start-up time.

9) Controls - Double and Triple click support, PivotViewer and ComboBox Type-Ahead.

10) Other items - In-Browser HTML, PostScript and Tasks for TPL.

Other Resources by Me:

My webinar on “Getting started with the Silverlight 5 Beta”.

mike_new_avatar Michael Crump is a Silverlight MVP and MCPD that works for Telerik as a XAML Evangelist. He has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.

You can follow Michael on Twitter or keep up with his blog by visiting michaelcrump.net or subscribing to his RSS Feed.
Posted On Thursday, October 27, 2011 12:43 PM | Feedback (2)
My Windows 8 Development Article Collection.

 

Below you will find my entire collection of Windows 8 Development Articles. I will focusing on XAML / C# Metro Applications in Windows 8, but may occasionally post on HTML / JS.

Please bookmark this page as I plan on keeping this page updated with my latest Windows 8 articles.

Windows RT XAML/C# Metro Applications

Enabling Frame Rate Counters for XAML Applications in Windows 8
*NEW* - Adding an Application Bar to your XAML Metro Applications.

Windows RT HTML/JS Metro Applications

Enabling Frame Rate Counters for HTML Applications in Windows 8

Windows RT General Education

Download all the Build Videos with RSS
Killer Build Interviews and XAML Sessions.

Using Windows 8 in a Virtual Machine

From Soup to Nuts: Using VirtualBox with Windows 8 Developer Preview

Build Related Information

Bullet Points from Build–Day 1 and my thoughts

Thanks and come back for more Windows 8 Development articles!

mike_new_avatar Michael Crump is a Silverlight MVP and MCPD that works for Telerik as a XAML Evangelist. He has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.

You can follow Michael on Twitter or keep up with his blog by visiting michaelcrump.net or subscribing to his RSS Feed.
Posted On Tuesday, October 18, 2011 6:31 AM | Feedback (0)
I am now an INETA Community Chamption

 

image

Introduction

I recently found out that I have been awarded with the Q3 Community Champion Award from INETA. It is a honor and a privilege to be part of this Elite group of community leaders. I cannot tell you how excited that I am to be acknowledged by my peers for the community work that I do.

Below is what the email said:

I would like to congratulate you on winning the INETA Champion Award for
the third quarter of 2011. I want to personally thank you for your time
and effort in supporting and helping your community. It is through
community members like yourself that we all can impact and influence the
people around us in the software industry.

You will be receiving your award shortly and I would like to request that
you send me your address so we can promptly deliver your award to the
correct mailing address.

This award is an annual award so please remember that you cannot be
awarded the Champions Award for the next 12 months. I do hope you continue
the community support and please accept a big thank you from myself and
the entire INETA board on your accomplishment and dedication.

Learn more about the award

The INETA Community Champion Award is an annual award given to those who give to the developer community. It is awarded on a quarterly basis and lasts for twelve months. Members record their numerous contributions to the community. At the end of each quarter the top contributors will be selected to receive the INETA Community Champion Award.

You already do so much. Why not get RECOGNIZED! Examples of eligible activities are:

  • Writing a newsletter article
  • Updating your user group web site
  • Managing meeting logistics
  • Introducing speakers
  • Presenting at a user group meeting
  • Mentoring new presenters

Winners will be announced after the end of every quarter in the INETA newsletter and on the INETA Website. Each Community Champion will receive a letter of commendation, a certificate of achievement, use of the Community Champion badge and a valuable prize.

Conclusion

I would encourage you to visit the official INETA Community Champion Site and nominate someone that has met the criteria explained above.

Thanks everyone for voting for me and I will continue working hard for the community!

mike_new_avatar Michael Crump is a Silverlight MVP and MCPD that works for Telerik as a XAML Evangelist. He has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.

You can follow Michael on Twitter or keep up with his blog by visiting michaelcrump.net or subscribing to his RSS Feed.
Posted On Friday, October 14, 2011 3:26 PM | Feedback (1)
Adding an Application Bar to your XAML Metro Applications.

 

Introduction

We are all familiar with the Application Bars in Windows Phone 7…

image

It can be achieved with a few lines of code as shown below:

<phone:PhoneApplicationPage.ApplicationBar>
    <shell:ApplicationBar>
        <shell:ApplicationBarIconButton IconUri="/icons/download.png" IsEnabled="True" />
        <shell:ApplicationBarIconButton IconUri="/icons/settings.png" IsEnabled="True" />
        <shell:ApplicationBar.MenuItems>
            <shell:ApplicationBarMenuItem x:Name="mnuReturnToHome" Text="return to home" Click="mnuReturnToHome_Click" />              
        </shell:ApplicationBar.MenuItems>
    </shell:ApplicationBar>
</phone:PhoneApplicationPage.ApplicationBar>

We want to do the same thing with our new XAML Metro Applications. The good news is that it is just as easy as the Windows Phone 7 with a few other cool features.

Let’s get started…

Fire open Visual Studio 11 and select File->New Project. Then select Visual C# –> Windows Metro Style –> Application and give it a name and hit OK.

 image

Once the MainPage.xaml loads then replace the Grid with the following code snippet:

<Grid x:Name="LayoutRoot" Background="#FF0C0C0C">
    <ApplicationBar VerticalAlignment="Bottom">
        <StackPanel Orientation="Horizontal">
            <Button Content="Exit" x:Name="btnExit" />
        </StackPanel>
    </ApplicationBar>
</Grid>
Now you should be able to run the project with a simple Ctrl+F5 or from the Debug menu. 

image

But you will quickly notice that all you have is a black screen.

image

Note: Black screenshot added for laughs. Smile

App bars are transient by default, which means they start out hidden and only appear in response to a gesture or in this case a right mouse click. If you right click on the application (if using an emulator or a non-tablet device) you will see the application bar appear.

image

You can also press CTRL+ALT+A if you are a keyboard kind of guy/gal.

I want my app bar always visible!

You can make the app bars display at all times by setting the IsPersistent property to True.

<Grid x:Name="LayoutRoot" Background="#FF0C0C0C">
       <ApplicationBar VerticalAlignment="Bottom" IsPersistant="True">
           <StackPanel Orientation="Horizontal">
               <Button Content="Exit" x:Name="btnExit" />
           </StackPanel>
       </ApplicationBar>
   </Grid>

How do you change the way app bars are dismissed?

You can change the way that app bars are dismissed by setting the DismissMode property.

image

From the documentation:

  • The default value is EdgeSwipe, which requires an edge swipe gesture, right-click, or CTRL+ALT+A.
    LightDismiss causes the app bar to disappear when the user interacts main part of the app, and
    TimeDelay causes the app bar to disappear after a specified delay.

In the sample code below you will see that we set two properties. The DismissMode and Delay. (We set this example to hide the application bar after 5 seconds).

<ApplicationBar Background="White" VerticalAlignment="Bottom" DismissMode="TimeDelay" Delay="5000">
   <StackPanel>
         <Button Content="Bottom" Background="Black" />
   </StackPanel>
</ApplicationBar>

Is my app bar limited to the bottom?

No, You may change the VerticalAlignment to any of the following values. The only one that I found beneficial was the Top or Bottom. 

image

As you can see several options exist.

Can I have both a Top Application Bar and a Bottom Application Bar?

Sure, just add in the code similar to the following:

<Grid x:Name="LayoutRoot" Background="#FF0C0C0C">
    
    <!--Top App Bar-->
    <ApplicationBar Background="White" VerticalAlignment="Top" DismissMode="TimeDelay" Delay="5000">
        <StackPanel>
            <Button Content="Top" Background="Black" />
        </StackPanel>
    </ApplicationBar>
 
    <!--Bottom App Bar-->
    <ApplicationBar Background="White" VerticalAlignment="Bottom" DismissMode="TimeDelay" Delay="5000">
    <StackPanel>
          <Button Content="Bottom" Background="Black" />
    </StackPanel>
    </ApplicationBar>

</Grid>

What about adding an Image to my button?

I did it the following way.

<Grid x:Name="LayoutRoot" Background="#FF0C0C0C">
    <ApplicationBar VerticalAlignment="Bottom" DismissMode="TimeDelay" >
        <StackPanel Orientation="Horizontal">
            <Button Content="Exit" x:Name="btnExit" />
            <Button >
                <Button.Content>
                    <Image Height="20" Width="20" Source="c:\users\mbcrump\documents\visual studio 11\Projects\ApplicationBarSample\ApplicationBarSample\Images\SmallLogo.png"/>
                </Button.Content>
            </Button>
        </StackPanel>
    </ApplicationBar>
</Grid>

I am pretty sure there are probably other more elegant ways, but I did it simply using my existing XAML knowledge and the image supplied by the project template. I wanted to see how much of the “use your existing skills” was true.

image

Conclusion

It was pretty easy to get up to speed with the new Application Bar in XAML Metro Applications. I am investing a lot of free time learning how to develop Metro Application using XAML/C#. If you are interested in more articles like these then please look through my last few post on my blog. Also, don’t forget to come back for more articles on a wide range of XAML technologies.

mike_new_avatar Michael Crump is a Silverlight MVP and MCPD that works for Telerik as a XAML Evangelist. He has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.

You can follow Michael on Twitter or keep up with his blog by visiting michaelcrump.net or subscribing to his RSS Feed.
Posted On Wednesday, October 12, 2011 6:38 AM | Feedback (1)
My Silverlight, HTML5, OData and Kinect talks coming up.

 

Hello Everyone,

I thought I’d take a minute to update everyone on my upcoming talks and events that I will be attending. I have talks ranging from Kinect, Silverlight, HTML5 to OData! Wow, that’s a wide range of technology and I’m very passionate about everyone of them.

Let’s get started. 

image

DevReach - October 17th through the 18th in Sofia, Bulgaria.

I will not be speaking at this event only attending. I am very excited because this will be my first time visiting Bulgaria. I am looking forward to meeting all the speakers and enjoying the excellent food Bulgaria has to offer.

image

Desert Code Camp – 11/5/2011 in Chandler, Arizona.

Title:
Getting started with Silverlight 5

Abstract:
This session is designed for people who want to quickly understand the key features in Silverlight 5. We will walk you through downloading the bits to finally starting your first project starting from File->New Projects. We will also take a look at several key features such as XAML Debugging and Out of Browser - Multiple Windows Support, Sound Effect Class for Low-Latency, Supporting Double and Triple Mouse Clicks and Linked and Multi-Column Text.

Title:
Producing and Consuming OData in an Silverlight and Windows Phone 7 application.

Abstract:
Description Learn how to Produce and Consume an OData DataSource starting from File-New Project. In this session, we will produce an OData Datasource and query it using the browser and LinqPAD. Once we have an understanding of how to produce an OData DataSource, we will consume it using Silverlight and Windows Phone 7.

Part 1: We will create a oData Service using SQL Server Compact 4.0 Edition. After the oData Service is created, we will navigate to the url and see how we can use the browser to display and filter the data. After that we will take LinqPad (free edition) and query the data using Linq.

Part 2: Consume the Data using Silverlight 4 Application. Setting up the Source Data to retrieving it in our application and binding the results to multiple textblock controls.

Part 3: Consume the Data using WP7: Explaining all the missing parts to consuming an oData Feed in a Windows Phone 7 Application using the Panorama Template.

image

Chippewa Valley Code Camp – 11/12/11 in Eau Claire, Wisconsin.

Title:
Kinecting the dots with the Kinect SDK

Abstract:
This session is designed to show the Microsoft Kinect SDK recently released by Microsoft. I will show how to use the Kinect as well as several open-source demos of it. By the end of this session you will be familiar with several core concepts needed to build applications using Microsoft Kinect SDK.

image

Microsoft tech-days Canada 2011 – November 29-30 in Montreal, Canada

Title:
Application Development with HTML5

Abstract:
HTML5 is perhaps the biggest and most powerful HTML specification to ever come out of the W3C. Its roots come from a proposal to extend HTML4 to make it easier for web developers to create web applications. With more and more browsers supporting HTML5, ECMAScript 5 and other web standards, developers now have a strong web platform they can use to create a new class of application that is more powerful and interactive than ever before. What's in HTML5 that lets us take our applications to the next level?

Title:
A Lap around Microsoft Silverlight 5

Abstract:
Come see what's new and exciting with the Silverlight 5 beta. Learn about features for business application development, visualization and casual gaming. In this demo- and code-focused developer session, we hit the major new features in Silverlight 5, and get you well on your way to being productive with the latest release of Silverlight.

Conclusion

If you are attending any of the events then please come up and introduce yourself. I really enjoy meeting new people and hopefully we can sit down and talk tech!

mike_new_avatar Michael Crump is a Silverlight MVP and MCPD that works for Telerik as a XAML Evangelist. He has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.

You can follow Michael on Twitter or keep up with his blog by visiting michaelcrump.net or subscribing to his RSS Feed.
Posted On Tuesday, October 11, 2011 8:26 PM | Feedback (2)
My presentation on “Getting Started with the Kinect SDK”

 

image

I was informed that my presentation on “Getting Started with the Kinect SDK” is now live on UserGroup.tv. The video quality is not that great, but that is my fault. Our camera quit working and someone had to record the session with an iPad2.

Abstract:

This talk is also designed for people who want to get started developing with the official Microsoft Kinect SDK. I will walk the user through downloading the bits and starting a new project. We will take a look at several great free open-source tools to help jump-start your first NUI project.

Recorded On:

7/26/2011

Recorded At:

All About XAML UG http://www.allaboutxaml.net

mike_new_avatar Michael Crump is a Silverlight MVP and MCPD that works for Telerik as a XAML Evangelist. He has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.

You can follow Michael on Twitter or keep up with his blog by subscribing to his RSS Feed.
Posted On Wednesday, October 05, 2011 4:31 PM | Feedback (0)
Tag Cloud