Tag Archives: WPF

Help make Microsoft developer technologies better!

Follow devkeydet on Twitter

Ron Jacobs just blogged about how .NET developers can provide feature feedback and vote on WCF/WF features.

http://blogs.msdn.com/b/rjacobs/archive/2011/04/14/how-you-can-make-wf-wcf-better.aspx

Many Microsoft product teams are doing this nowadays. It still surprises me how many .NET developers don’t realize these feature voting sites exist. In addition to WF/WCF, I am aware of these:

http://wpdev.uservoice.com/forums/110705-app-platform

https://windowsphone7community.uservoice.com/forums/84435-feature-feedback

http://data.uservoice.com/forums/72027-wcf-data-services-feature-suggestions

http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions

http://dotnet.uservoice.com/forums/40583-wpf-feature-suggestions

http://dotnet.uservoice.com/forums/4325-silverlight-feature-suggestions

http://dotnet.uservoice.com/forums/87171-visual-basic-content-requests

http://dotnet.uservoice.com/forums/57026-wcf-ria-services

http://www.mygreatwindowsazureidea.com/pages/34192-windows-azure-feature-voting

http://www.mygreatwindowsazureidea.com/forums/35889-microsoft-codename-dallas-feature-voting

http://www.mygreatwindowsazureidea.com/forums/44459-sql-azure-data-sync-feature-voting

http://www.mygreatwindowsazureidea.com/forums/34685-sql-azure-feature-voting

http://www.mygreatwindowsazureidea.com/forums/100417-sql-azure-reporting-feature-voting

http://www.mygreatwindowsazureidea.com/forums/40626-windows-azure-appfabric-feature-voting

http://www.mygreatwindowsazureidea.com/forums/103009-windows-azure-code-samples-voting

http://www.mygreatwindowsazureidea.com/forums/103403-windows-azure-content-voting

http://aspnet.uservoice.com/forums/41199-general

http://aspnet.uservoice.com/forums/41201-asp-net-mvc

http://aspnet.uservoice.com/forums/41202-asp-net-webforms

http://aspnet.uservoice.com/forums/50615-orchard

http://aspnet.uservoice.com/forums/100405-performance

http://aspnet.uservoice.com/forums/41233-visual-studio-performance-feedback

Let me know in the comments if I’ve missed any.  I’ll add them.

Police Department Protects Citizens … with Windows 7

Pat Weikle, who is an Architect Evangelist on my team, just blogged about some great work he was a part of:

http://blogs.msdn.com/b/publicsector/archive/2010/07/08/police-department-protects-citizens-of-vernon-hills-illinois-with-windows-7.aspx

Here’s a blurb from the official case study:

“The Vernon Hills Police Department wanted to support the work of its field officers by installing in-vehicle video recording systems in police cars. After evaluating available solutions, the department chose the Mobile Video Platform from Modularis, in conjunction with the Windows 7 operating system and the Windows Azure cloud computing platform. The solution has saved the city money and has become an invaluable job tool for field officers.”

Not called out specifically in the case study, but the application running in the police cars is a WPF app.

WPF and DataAnnotations

The System.ComponentModel.DataAnnotations namespace was introduce in the .NET Framework 3.5 SP1 to support ASP.NET Dynamic DataSilverlight + WCF RIA Services now uses it as well.  I’ve been asked by a few people when WPF will use it.  Why wait?  Karl Shifflett has a sample of how to do it here:

https://www.vimeo.com/11585675

This video is part of a series of videos Karl has covering his Stuff sample application.  Stuff is a sample application Karl put together to demonstrate “WPF Line of Business using MVVM” .  It’s definitely worth checking out:

http://karlshifflett.wordpress.com/2010/05/09/stuff-wpf-line-of-business-using-mvvm-video-tutorial/

Tanagram Partners: Making multi-touch easier with touch.codeplex.com

digg_url = “http://blogs.msdn.com/devkeydet/archive/2010/04/23/tanagram-partners-making-multi-touch-easier-with-touch-codeplex-com.aspx”;digg_title = “Tanagram Partners: Making multi-touch easier with touch.codeplex.com”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

Our Ch.9 Interview with Tanagram Partners on http://touch.codeplex.com was published.  Check it out!

http://bit.ly/Ch9TanagramTouch

“The APIs in WPF4 plus the Surface Toolkit for Windows Touch make building common touch scenarios easy. However, implementing many of the same touch scenarios using WPF3.5SP1 or Silverlight 3/4 involves writing a fair bit more code. Furthermore, the touch APIs across WPF4, WPF3.5SP1, and Silverlight are different.

The goal of this project is to simplify building common touch scenarios when using WPF 3.5 SP1 or Silverlight 3/4 by using Expression Blend Behaviors to provide a consistent way to implement these scenarios across WPF & Silverlight. Expression Blend Behaviors can be used within Visual Studio without a dependency on Expression Blend by downloading the Expression Blend 3 SDK. You can also find more Expression Blend Behaviors at http://expressionblend.codeplex.com/ and http://tinyurl.com/ExpressionGalleryBehaviors.

Go to http://touch.codeplex.com/ to learn more about this project.  Go to http://tanagrampartners.com/ to learn more about Tanagram Partners.”

NOW AVAILABLE: Surface Toolkit for Windows Touch

digg_url = “http://blogs.msdn.com/devkeydet/archive/2010/04/12/now-available-surface-toolkit-for-windows-touch.aspx”;digg_title = “NOW AVAILABLE: Surface Toolkit for Windows Touch”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

Check out the video:

https://channel9.msdn.com/posts/LarryLarsen/Surface-Toolkit-for-Windows-Touch/

Download the SDK:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=801907a7-b2dd-4e63-9ff3-8a2e63932a74

For those of you who don’t read the readme…

One of the samples uses XNA.  The toolkit installer will not install XNA.  You will need to do that yourself.  Either install the tools or just the redist.  Your call:

Microsoft XNA Game Studio 3.1

Microsoft XNA Framework Redistributable 3.1

SCREENCAST: Improving perceived WPF app startup performance with MEF and a Splash Screen

digg_url = “http://blogs.msdn.com/devkeydet/archive/2010/04/05/screencast-improving-perceived-wpf-app-startup-performance-with-mef-and-a-splash-screen.aspx”;digg_title = “SCREENCAST: Improving perceived WPF app startup performance with MEF and a Splash Screen”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

I’ve been meaning to record this screencast for a LONG time.  Well, I have a presentation on MEF tomorrow.  I was originally planning on demonstrating this sample, but realized that I won’t have enough time.  However, I needed to be able to point the audience to an explanation of this sample as a follow on.  Nothing like a forcing function to get you to do something you’ve been planning on for ages;)!

In this screencast, I highlight some tips and tricks for improving perceived startup performance of Windows Presentation Foundation (WPF) applications using the Managed Extensibility Framework (MEF) and a Splash Screen.  The walkthrough focuses on using the .NET Framework 4.0.  However, MEF is available for WPF 3.5 SP1 as well at http://mef.codeplex.com

Direct link to Ch. 9 post:

https://channel9.msdn.com/posts/keydet/Improving-perceived-WPF-app-startup-performance-with-MEF-and-a-Splash-Screen/

Sample download:

http://tinyurl.com/WpfMefStartupTipsTricks

Multi-Touch Dev Dinner this week in Reston, Va

digg_url = “http://blogs.msdn.com/devkeydet/archive/2010/02/22/multi-touch-dev-dinner-this-week-in-reston-va.aspx”;digg_title = “Multi-Touch Dev Dinner this week in Reston, Va”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

In case you missed it through the DevDinner tag on my team blog (official place for Developer Dinner posts), MSDN Flash, or http://communitymegaphone.com

Timezone: Eastern Time

Start Time: 2/24/2010 6:00:00 PM

End Time: 2/24/2010 8:00:00 PM

Title: Microsoft Developer Dinner: Hands-on Natural User Interfaces: Multi-touch development with Silverlight and WPF 4

Description:
The Natural User Interface (NUI) is the next revolution of human-computer interaction. Microsoft Surface has shown the potential of multi-touch NUIs to uniquely engage users, and multi-touch tablets and displays are becoming more and more common. This talk is focused on how you can create multi-touch NUIs for these devices. You will learn the difference between manipulations and gestures, when to use each, and how to implement specific NUI design concepts with both Silverlight and the WPF 4 Touch API. The differences between the Silverlight and WPF 4 Touch APIs will be highlighted. You will hear about the roles of the Surface Toolkit for Windows Touch and the Microsoft Surface Manipulations and Inertia Sample for Silverlight and how you can use them to jump-start your applications. The open-source multi-touch Bing Maps 3-D WPF control, InfoStrat.VE, will also be demonstrated. If you are interested in rich, engaging multi-touch interfaces for the web or client, then you need to attend this talk!

Website: http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032440485&Culture=en-US

Event Type: Other (in-person)

Location:
12012 Sunset Hills Road
Reston, VA, 20190

Lat/Long: 38.954957, -77.358214

Audiences: Developer.

Announcing touch.codeplex.com


digg_url = “http://blogs.msdn.com/devkeydet/archive/2010/02/12/announcing-touch-codeplex-com.aspx”;digg_title = “Announcing touch.codeplex.com”;digg_bgcolor = “#555555”;digg_skin = “normal”;

http://digg.com/tools/diggthis.js

digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;


UPDATE: You can follow tanagram on twitter @tanagram https://twitter.com/tanagram


One of the things I have been trying to do this year is encourage / kick start partners to create useful CodePlex projects.  I’ve been digging into Windows 7 multi-touch since it was announced at PDC08.  As the managed (.NET) APIs available for WPF 3.5 SP1, Silverlight, and WPF 4 started to materialize, it became clear that there were varying levels of developer productivity for building multi-touch solutions.  The eventual release of the WPF 4 + the Surface Toolkit for Windows Touch clearly sets the bar for developer productivity thanks to all the great SDK work that was born out of Microsoft Surface.  So I started thinking, “What about Silverlight 3/4  & WPF 3.5 SP1 developers?”  There are all sorts of reasons why people will end up choosing those platforms.  So I thought “There has to be a way to make common touch scenarios easier for them so they don’t have to write the same plumbing code over and over again.”  Enter CodePlex and Expression Blend Behaviors.  I started talking to my buddy James Chittenden who is the User Experience Evangelist (UXE) on my team.  I floated this idea of simplifying common touch scenarios when using WPF 3.5 SP1 or Silverlight 3/4.  The general idea was to start a CodePlex project that used Expression Blend Behaviors to provide a consistent way to implement common touch scenarios across WPF & Silverlight.  We both agreed we should try to make it happen.  James suggested we contact Joseph Juhnke, President & CEO of Tanagram Partners, about the idea.  Joseph loved the idea.  We all put our heads together and decided to start small with two common multi-touch scenarios that were fairly laborious to implement from scratch in both WPF 3.5 SP1 and Silverlight 3/4.  From there, Tanagram Partners cranked away at building them out.  I’m excited to announce that their CodePlex project has gone live:


http://touch.codeplex.com/


Go check it out!  They’re looking for community feedback.

Improving perceived WPF app startup performance with MEF and a Splash Screen

digg_url = “http://blogs.msdn.com/devkeydet/archive/2010/01/29/improving-perceived-wpf-app-startup-performance-with-mef-and-a-splash-screen.aspx”;digg_title = “Improving perceived WPF app startup performance with MEF and a Splash Screen”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

UPDATE (4/5/2010): I uploaded a newer version with a few minor tweaks.  I finally created a screencast for this sample:

http://tinyurl.com/WpfMefStartupScreencast

UPDATE (2/27/2010): I uploaded a newer version of the sample.  I fixed some bugs and added support for loading a ResourceDictionary using MEF.  I will be recording a Ch. 9 screencast soon.

I keep on finding all sorts of fun and interesting uses for MEF.  I just threw together a sample for a customer showing how to use a splash screen + MEF to follow the “Make the application main window appear as soon as the user double-click on the application’s icon, when possible perform do all other initialization after.” principle describe here:

http://blogs.msdn.com/jgoldb/archive/2007/10/10/improving-wpf-applications-startup-time.aspx

I plan on explaining the sample in a coming blog post.  However, I wanted to share the sample without explanation as soon as possible.  Get it here:

http://tinyurl.com/WpfMefStartupTipsTricks

I used Visual Studio 2010 beta 2 / WPF4 for this.

Bing Maps 3D, WPF, and Windows 7 MultiTouch

Globe Screenshot

Have you seen the Microsoft Surface Globe application in the Microsoft Touch Pack for Windows 7?  There are plenty of videos of the app in action on YouTube: http://tinyurl.com/YouTubeSurfaceGlobe.

Would you like to build an app like this yourself?  Thanks to InfoStrat.VE, you can! Josh Blake just announced the R2 release of InfoStrat.VE.  Amongst other improvements, it includes support for the same touch interaction on Windows 7 you have available in the Microsoft Surface Globe app.  Full details on Josh’s blog:

http://nui.joshland.org/2010/01/infostratve-release-2-is-now-up.html