Monday, February 7, 2011

The January update to Windows Phone Developer Tools available now!

The January update to Windows Phone Developer Tools available now!


The January update to Windows Phone Developer Tools available now!

Posted: 07 Feb 2011 12:46 PM PST

A new version of the Windows Phone Developer tools is now available on the Download Center . Among other things this update: Enables cut and paste in TextBox, PasswordBox and WebBrowser controls Enables you to test copy and paste functionality in the...( read more )...(read more)

Windows Client Developer Roundup 058 for 2/7/2011

Posted: 07 Feb 2011 09:49 AM PST

This is Windows Client Developer Roundup #58. The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Silverlight , Visual C++ , XNA , Expression Blend , Surface , Windows 7 , Windows Forms...( read more )...(read more)

Windows Client Developer Roundup 058 for 2/7/2011

Posted: 07 Feb 2011 09:49 AM PST

This is Windows Client Developer Roundup #58. The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Silverlight , Visual C++ , XNA , Expression Blend , Surface , Windows 7 , Windows Forms...( read more )...(read more)

What it lacks in efficiency, it makes up for in efficiency! [Silverlight-ready PNG encoder implementation shows one way to use .NET IEnumerables effectively]

Posted: 07 Feb 2011 10:01 AM PST

At the end of my previous post about easily pseudo-localizing WPF applications , I said this post would show how to apply those concepts to a Silverlight application. Unfortunately, I seem to have made an off-by-one error : while this post is related...( read more )...(read more)

Daily News Headline @SilverlightZone - 7 February 2011 - #23

Posted: 07 Feb 2011 01:35 AM PST

Today, we have 13   news   items posted in   Silverlight-Zone . If you are a Silverlight or Windows Phone 7 application developer, follow   Silverlight-Zone   for daily news update.   In this issue we have posts from: Thomas...( read more )...(read more)

Getting ready for Microsoft Silverlight Exam 70-506 (Part 4)

Posted: 06 Feb 2011 02:57 PM PST

We are making great progress in our Silverlight Exam series, we are now in the fourth part already. A quick look back on the previous parts shows that we started with a deep look at the layout and UI-related material. In the second part, we looked at...( read more )...(read more)

A Circular ProgressBar Style using an Attached ViewModel

Posted: 07 Feb 2011 12:28 AM PST

This blog post describes how to re-template the Silverlight ProgressBar control to render a circular progress indicator. This approach uses an attached view model to circumnavigate some of the limitations of the ProgressBar design. This blog post describes...( read more )...(read more)

Notes on Silverlight and Phone Toolkits, Testing and Other Phone Stuff

Posted: 06 Feb 2011 01:59 PM PST

Just a few notes: new phone tools, an upcoming phone toolkit, source is out already, and other things......( read more )...(read more)

Sunday, February 6, 2011

Silverlight On Mobile : Copy and Paste functionality inside Windows Phone 7 Emulator

Silverlight On Mobile : Copy and Paste functionality inside Windows Phone 7 Emulator


Silverlight On Mobile : Copy and Paste functionality inside Windows Phone 7 Emulator

Posted: 06 Feb 2011 09:27 AM PST

Already lot of discussions and forum threads heated up with the Copy and Paste support for Windows Phone 7 Actual Device. Few statements made the news all over the world like "Who needs Copy and Paste","iPhone took x amount of time and WP7 doing in y...( read more )...(read more)

Daily News Headline @SilverlightZone - 6 February 2011 - #22

Posted: 06 Feb 2011 01:30 AM PST

Today, we have 9   news   items posted in   Silverlight-Zone . If you are a Silverlight or Windows Phone 7 application developer, follow   Silverlight-Zone   for daily news update.   In this issue we have posts from: Michael...( read more )...(read more)

The Visual C++ Weekly Vol. 1 Issue 6 (Feb 5, 2011)

Posted: 05 Feb 2011 08:10 AM PST

For this week roundup, we start with a game that C++ MVP Marius Bancila code, inspired on his favorite phone game. You can download the code and study or just play it right away. We tell you how to validate, in Visual Studio 2010, C/C++ code against architecture layer diagrams in order to avoid cross-layer dependencies. C++ MVP PJ Naughter offers an MFC GUI control class which implements display of OpenStreetMap tiles. Cameron and Tracey Hughes discuss on threads and contention. C++ MVP Giovanni Dicanio explains a technique to convert STL strings of different Unicode character width. In our entrepreneur column, we publish the results of the last MicroISV pain point survey in order to identify and increase awareness of common issues facing microISV operators. But this is not all: you'll find more valuable information in the latest issue of The Visual C++ Weekly.

Silverlight On Mobile : Using Bing Maps in your Windows Phone 7 Application

Posted: 05 Feb 2011 11:17 PM PST

Few months back, I wrote one article on Integrating Bing Maps in Silverlight Application. Today on the same base I am putting my thoughts for Bing Maps on Windows Phone 7 in a very short demo. The way you integrate your Bing Maps in Silverlight Application...( read more )...(read more)

Creating Sample Data from a Class

Posted: 05 Feb 2011 09:30 PM PST

Learn how to create sample data for your Windows Phone, Silverlight, and WPF projects by defining your own class....( read more )...(read more)

Silverlight Cream for February 05, 2011 -- #1041

Posted: 05 Feb 2011 08:50 PM PST

In this Issue: Peter Kuhn , Mike Ormond ( -2- , -3- ), WindowsPhoneGeek , Daniel N. Egan , Phil Middlemiss ( -2- ), Max Paulousky , Michael Washington . Above the Fold: Silverlight: "Designing for Browser-Zoom: Part 2" Phil Middlemiss WP7: "Talking about...( read more )...(read more)

Saturday, February 5, 2011

Daily News Headline @SilverlightZone - 5 February 2011 - #21

Daily News Headline @SilverlightZone - 5 February 2011 - #21


Daily News Headline @SilverlightZone - 5 February 2011 - #21

Posted: 05 Feb 2011 01:35 AM PST

Today, we have   14   news   items posted in   Silverlight-Zone . If you are a Silverlight or Windows Phone 7 application developer, follow   Silverlight-Zone   for daily news update.   In this issue we have posts from...( read more )...(read more)

Silverlight Cream for February 04, 2011 -- #1040

Posted: 04 Feb 2011 09:34 PM PST

In this Issue: Shawn Wildermuth , John Papa , Jesse Liberty ( -2- ), Mike Wolf , Matt Casto , Levente Mihály , Roy Dallal , Mark Monster , Andrea Boschin , and Oren Gal . Above the Fold: Silverlight: "Accept and Cancel Buttons Behavior in Silverlight...( read more )...(read more)

valarray Template Class (Visual C++ 2010)

Posted: 04 Feb 2011 05:00 PM PST

Defines the template class, valarray, and numerous supporting template classes and functions.

Friday, February 4, 2011

Learning OData? MSDN and I Have the videos for you!

Learning OData? MSDN and I Have the videos for you!


Learning OData? MSDN and I Have the videos for you!

Posted: 04 Feb 2011 07:47 AM PST

URL : http://msdn.microsoft.com/en-us/ee720180 I recently recorded a couple of series of videos for MSDN's Data Dev Center to help people get up and running with OData. There are two series: Getting Started with OData : This two part video walks through...( read more )...(read more)

Ten Pet Peeves of WP7 Applications

Posted: 04 Feb 2011 07:42 AM PST

I've been looking at a lot of applications on the Windows Phone 7 platform since even before launch. It seems that a lot of the apps out there need polish to make them easy to use. I've put together my ten top annoyances when trying out new application...( read more )...(read more)

Using ObservableCollection with the Portable Library Tools CTP

Posted: 03 Feb 2011 11:50 AM PST

One of the main goals of the Portable Library Tools is to be able to implement your ViewModel in the Portable Library such that you can share it between your UI in your Silverlight, Windows Phone, or even WPF project. Unfortunately, this is a bit of a challenge with the Portable Library Tools CTP, because it does not include ObservableCollection<T> or INotifyCollectionChanged. The reason for this is simple. The CTP doesn't have references for System.Windows, and both ObservableCollection<T> and INotifyCollectionChanged are defined in System.Windows. That they are defined in this assembly isn't the best in terms of layering, and we have been discussing what to do about that. But they are there, and we're looking...(read more)

Daily News Headline @SilverlightZone - 4 February 2011 - #20

Posted: 04 Feb 2011 01:39 AM PST

Today, we have   10 news   items posted in   Silverlight-Zone . If you are a Silverlight or Windows Phone 7 application developer, follow   Silverlight-Zone   for daily news update.   In this issue we have posts from: Yochay...( read more )...(read more)

A classic memory game: Part 3 - Porting the game to Windows Phone 7

Posted: 03 Feb 2011 11:29 PM PST

Don't miss... XNA for SL developers series Pro Game Design with SL4 book: Show more books This article is Part 3 of "A classic memory game": A classic memory game: Part 1 – Designing the game A classic memory game: Part 2 – The...( read more )...(read more)

Join me Monday February 7 in Tampa for an Intro to the Silverlight Media Framework

Posted: 03 Feb 2011 04:55 PM PST

Join me at the Tampa Microsoft offices as I discuss the Silverlight Media Framework (SMF), an open source CodePlex project which simplifies the playback of video and other media in Silverlight. The session will cover simple out of the box implementations...( read more )...(read more)

Concurrent Containers

Posted: 03 Feb 2011 05:50 PM PST

A recurrent question (well, one of the many) is about STL containers and whether they are thread safe.

Taking Stephan's words here, the reality is that they aren't, not as a bug but as a feature: having every member function of every STL container acquiring an internal lock would annihilate performance. As a general purpose, highly reusable library, it wouldn't actually provide correctness either: the correct level to place locks is determined by what the program is doing. In that sense, individual member functions don't tend to be such correct level.

// This article tells more about Thread Safety in the
//
Standard C++ Library:
http://msdn.microsoft.com/en-us/library/c9ceah3b.aspx

Yet if performance were not an issue, for instance because it's not expected a high volume of write accesses to a container instance, but you just want to just make sure that simultaneous writes won't leave the container in an undetermined state, you may get among other alternatives the parallel containers that come with the Parallel Patterns Library (PPL).

They are basically concurrent_vector and concurrent_queue, so in case you missed concurrent versions of associative containers like map, multimap or hashmap, you may find sample implementations in http://code.msdn.microsoft.com/concrtextras.

[WP7] How to decompile WP7 assemblies

Posted: 03 Feb 2011 10:24 AM PST

The other day I wanted to check the source code of the ScrollViewer of WP7. I started Reflector (profit while its still free) and I opened the System.Windows.dll assembly located at C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight...( read more )...(read more)

Thursday, February 3, 2011

Silverlight TV 60: Checking Out the Zero Gravity Game, Now on Windows Phone 7

Silverlight TV 60: Checking Out the Zero Gravity Game, Now on Windows Phone 7


Silverlight TV 60: Checking Out the Zero Gravity Game, Now on Windows Phone 7

Posted: 03 Feb 2011 11:26 AM PST

Silverlight TV 60: Did you ever want to write a game with Silverlight for Windows Phone 7? In this week's episode of SLTV, Ryan Plemons, Senior Developer with Terralever , shares his journey in optimizing the Silverlight based Zero Gravity game...( read more )...(read more)

(Not Quite) Putting a Silverlight App in the Chrome Web Store?

Posted: 03 Feb 2011 10:39 AM PST

I must admit that I had a little bit of an "eye opening" experience today with the "Chrome Web Store". Firstly, before you jump on me for talking about a web-browser other than IE let me say that I, of course, run IE and I'm currently running the IE9...( read more )...(read more)

[Silverlight] How to choose the webcam resolution

Posted: 03 Feb 2011 09:54 AM PST

Hello, Today I'm gonna show you how to choose the webcam resolution when using Silverlight. By default most of them are in 640x480 which can be sometimes insufficient. VideoCaptureDevice source = devices.SelectedItem as VideoCaptureDevice; source.DesiredFormat...( read more )...(read more)

Blend Bits 21–Importing from Photoshop & Illustrator…

Posted: 03 Feb 2011 08:49 AM PST

If I had a penny for every time I heard someone from Microsoft say "I'm not a designer" when working with Blend then I'd be a rich man. Naturally, Microsoft does have some very fine designers but, unfortunately, it's not me so I also end up having to...( read more )...(read more)

Daily News Headline @SilverlightZone - 3 February 2011 - #19

Posted: 03 Feb 2011 01:33 AM PST

Today, we have   11   news   items posted in   Silverlight-Zone . If you are a Silverlight or Windows Phone 7 application developer, follow   Silverlight-Zone   for daily news update.   Subscribe to our   news feed...( read more )...(read more)

Feb 2nd Links: Visual Studio, ASP.NET, ASP.NET MVC, JQuery, Windows Phone

Posted: 02 Feb 2011 11:15 PM PST

Here is the latest in my link-listing series .  Also check out my Best of 2010 Summary for links to 100+ other posts I've done in the last year. [I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu ] Community News MVCConf Conference Next Tuesday : Attend the free, online ASP.NET MVC Conference being organized by the community next Tuesday.  Here is a list of some of the talks you can watch live. Visual Studio HTML5 and CSS3 in VS 2010 SP1 : Good post from the Visual Studio web tools team that talks about the new support coming in VS 2010 SP1 for HTML5 and CSS3. Database Deployment with the VS 2010 Package/Publish Database Tool : Rachel Appel has a nice post that covers how to enable...(read more)

New SilverlightShow t-shirts!

Posted: 03 Feb 2011 06:38 AM PST

Finally! We've been thinking about our new t-shirts since the last summer! We've been through a lot of creative ideas, discussing which is best, how to show our community dedication, etc. Our previous t-shirts were very well accepted – a lot of people...( read more )...(read more)

Blend Bits 21–Importing…

Posted: 03 Feb 2011 06:16 AM PST

If I had a penny for every time I heard someone from Microsoft say "I'm not a designer" when working with Blend then I'd be a rich man. Naturally, Microsoft does have some very fine designers but, unfortunately, it's not...( read more )...(read more)

Wednesday, February 2, 2011

Jeremy Likness explains Model-View-Model (MVVM)

Jeremy Likness explains Model-View-Model (MVVM)


Jeremy Likness explains Model-View-Model (MVVM)

Posted: 02 Feb 2011 10:01 AM PST

Model-View-ViewModel (MVVM) is a pattern that is popular in Silverlight applications because it specifically addresses the power of data-binding and allows for a clean separation between presentation and business logic. There is a common misconception...( read more )...(read more)

How to: Create Instances of ASP.NET User Controls Programmatically

Posted: 02 Feb 2011 11:45 AM PST

Just as you can programmatically create an instance of any server control on an ASP.NET Web page, you can do the same with a user control. This topic explains the steps needed to create an instance of a user control programmatically.

Daily News Headline @SilverlightZone - 2 February 2011 - #18

Posted: 02 Feb 2011 01:45 AM PST

Today, we have   16   news   items posted in   Silverlight-Zone . If you are a Silverlight or Windows Phone 7 application developer, follow Silverlight-Zone   for daily news update.   Subscribe to our   news feed  ...( read more )...(read more)

Silverlight Cream for February 02, 2011 -- #1039

Posted: 02 Feb 2011 07:04 AM PST

In this Issue: Tony Champion , Gill Cleeren , Alex van Beek , Michael James , Ollie Riches , Peter Kuhn , Mike Ormond , WindowsPhoneGeek ( -2- ), Daniel N. Egan , Loek Van Den Ouweland , and Paul Thurott . Above the Fold: Silverlight: "Using the AutoCompleteBox...( read more )...(read more)

Windows Phone 7 - Part #3: Understanding navigation

Posted: 01 Feb 2011 08:43 PM PST

Coming from the previous part, the second , where I discussed multiple aspects of the page in Windows Phone and the "Metro" theme, now it is time to make another step on our path. Just in the first article of the series, when I was introducing the differences...( read more )...(read more)

Silverlight local databases, what do you use?

Posted: 01 Feb 2011 09:06 PM PST

Completely acknowledging the lack of an integrated local database story with Silverlight, there are many solutions out there. Curious what you use, what you like, and what's missing from your favorite solution. Since various solutions cover various...( read more )...(read more)

SilverlightShow for Jan 24-30, 2011

Posted: 01 Feb 2011 08:50 PM PST

Check out the Top Five most popular news at SilverlightShow for Jan 24-30, 2011. Most visited news for last week is Rudi Grobler's series on free WPF/Silverlight controls, followed by the 10 things Michael Crump suggests to be improved in Silverlight...( read more )...(read more)

Model-View-Model (MVVM) Explained

Posted: 01 Feb 2011 05:28 PM PST

Model-View-ViewModel (MVVM) is a pattern that is popular in Silverlight applications because it specifically addresses the power of data-binding and allows for a clean separation between presentation and business logic. There is a common misconception...( read more )...(read more)

Silverlight and NESL Redux–Touch

Posted: 01 Feb 2011 04:04 PM PST

Stephen pointed out last week that there's a preview update to the "Native Extensions to Silverlight" up on CodePlex and this preview adds some capabilities around touch and having written a little around that topic recently; Touched ( Part 1 )–Getting...( read more )...(read more)

Tuesday, February 1, 2011

PDC 2010: Lambdas, Lambdas Everywhere

PDC 2010: Lambdas, Lambdas Everywhere


PDC 2010: Lambdas, Lambdas Everywhere

Posted: 01 Feb 2011 02:59 PM PST

Herb Sutter on Lambdas

Why care about C++0x lambda functions? Syntactically, they are nothing but sugar for function objects. However, they are an essential and enabling sugar that will change the way we will write C++ code more often than most people realize.

This talk from last PDC covers what lambda functions are and how to use them effectively, including how lambdas touch many wide-ranging kinds of code — from their convenience when writing concurrent and scalably parallel code, to how they stand to revolutionize STL usability and programming, to how they enable such small conveniences as local functions and local variable initialization.

Note that lambda functions, although futuristic, are not a far-future feature. They are available today in several shipping C++ compilers, including Intel C++ 11, Microsoft Visual Studio 2010, and gcc 4.5. The future is now. Come find out how this powerful feature affects you and your code.

Herb Sutter is the chair of the ISO C++ committee. He is responsible for the design of lambda functions in Visual C++ 2010 and their integration in the Parallel Patterns Library. He is partly responsible for the design of lambda functions in the C++0x standard, notably capture defaults and final syntax.

 

Click here to start watching this session (Silverlight required, check below for other formats.)

 

Session outline
Session agenda

 

Download Materials

WP7 Notifications and Certification

Posted: 01 Feb 2011 11:42 AM PST

We are working through the certification process on a Windows Phone 7 application and while we didn't hit it yet, I read via Shawn Wildermuth 's post about how he failed once because he had referenced the Phone Notification assemblies and didn't provide...( read more )...(read more)

Daily News Headline @SilverlightZone - 1 February 2011 - #17

Posted: 01 Feb 2011 01:42 AM PST

Today, we have 15 news items posted in Silverlight-Zone . If you are a Silverlight or Windows Phone 7 application developer, follow Silverlight-Zone for daily news update.   Subscribe to our news feed and email digest to deliver it to your inbox...( read more )...(read more)

Styles in Silverlight: Everything a Developer Needs To Know

Posted: 01 Feb 2011 08:26 AM PST

This post is a summary on my 4 part series covering everything I think a developer needs to know about Styles in Silverlight in order to work with them in XAML or programatically. The overview of the series is as follows. All of the topics link to the...( read more )...(read more)

Update: My german blog posts since November 2010 - some cool stuff

Posted: 01 Feb 2011 05:02 AM PST

It has been a while ago since I switched my community activities to my german blog SilverLaw . I announced to link here to the stuff in my german blog regularly. And here is the latest stuff since 11/11/2010 ... a quite long list: 1) RichTextBox.Xaml...( read more )...(read more)

Getting ready for Microsoft Silverlight Exam 70-506 (Part 3)

Posted: 31 Jan 2011 05:39 PM PST

In the previous parts of this series on getting yourself ready for the Silverlight exam, we mainly looked at UI related items. In the very first part, we looked at how Silverlight could help with layout, navigation, media and the core controls. In part...( read more )...(read more)

Windows Client Developer Roundup 057 for 1/31/2011

Posted: 31 Jan 2011 02:52 PM PST

This is Windows Client Developer Roundup #57. The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Silverlight , Visual C++ , XNA , Expression Blend , Surface , Windows 7 , Windows Forms...( read more )...(read more)

Windows Client Developer Roundup 057 for 1/31/2011

Posted: 31 Jan 2011 02:52 PM PST

This is Windows Client Developer Roundup #57. The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Silverlight , Visual C++ , XNA , Expression Blend , Surface , Windows 7 , Windows Forms...( read more )...(read more)

Expression Encoder 4 with GPU acceleration

Posted: 31 Jan 2011 03:13 PM PST

Expression Encoder 4 Pro is a streamlined video production tool that enables you to focus your time and energy on enhancing, encoding and delivering your on-demand or live video content at higher quality with less effort. Expression Encoder Pro supports...( read more )...(read more)