Wednesday, December 23, 2009

Silverlight Cream for December 23, 2009 -- #761

Silverlight Cream for December 23, 2009 -- #761


Silverlight Cream for December 23, 2009 -- #761

Posted: 23 Dec 2009 01:32 PM PST

In this Issue: Damian Schenkelman , Alexey Zakharov , Jeremy Likness , John Bruin , Andrej Tozon , Fons Sonnemans , Adam Kinney , Andrea Boschin , Al Pascual , Giorgetti Alessandro , Rob Eisenberg , Gill Cleeren , and Jeff Blankenburg . Shoutouts: Gavin...( read more )...(read more)

Case Study - TwittZure Silverlight Twitter Client on Azure

Posted: 23 Dec 2009 09:51 AM PST

Schematic used the engaging rich internet application of Silverlight 3 and the responsiveness of Windows Azure cloud platform to build a cutting edge Twitter application, the recently released Beta version of Twittzure. TwittZure enables users to access...( read more )...(read more)

Automatic INotifyPropertyChanged using Dynamic Proxy

Posted: 22 Dec 2009 06:14 PM PST

As a WPF or Silverlight developer chances are you have implemented the INotifyPropertyChanged-interface more than once. The interface is simple enough, consisting of a single PropertyChanged-event. The data binding infrastructure in WPF and Silverlight...( read more )...(read more)

Limited Time Expression Holiday Promotion in the US

Posted: 22 Dec 2009 02:24 PM PST

For a limited time in the United States (promotion ends January 8th), there is a 30% off discount on all Microsoft Expression version 3 products (Microsoft Expression Studio + Expression Web, both full and upgrade versions) through the Microsoft Online...( read more )...(read more)

Tuesday, December 22, 2009

Innovasys sponsors the Balder project

Innovasys sponsors the Balder project


Innovasys sponsors the Balder project

Posted: 22 Dec 2009 11:19 AM PST

One really important thing when creating a framework like Balder , is to create proper documentation. The purpose of the documentation is for people to get good explanations for the API and samples on how to use it. I've been researching quite a bit...( read more )...(read more)

Silverlight Cream for December 22, 2009 -- #760

Posted: 22 Dec 2009 10:21 AM PST

In this Issue: Jeff Prosise ( 2 ), Chris Klug ( 2 ), Laurent Bugnion , Jeff Blankenburg ( 2 , 3 ), Gill Cleeren ( 2 , 3 , 4 ), Fredrik Normén . Shoutouts: Alan Mendelevich announced Stock Chart for WPF & Silverlight 1.1 Released ... free WPF and Silverlight...( read more )...(read more)

Deep Dive Into WCF Part 2: Serialization on the speed of light with Google Protocol Buffers

Posted: 22 Dec 2009 08:41 AM PST

1. Introduction This is the second article of my series about Silverlight web services tricks. At first time I planned to write only about WCF and that is why I called my article series "Deep dive into WCF", but with my last experience I decided to move...( read more )...(read more)

Highlights of 2009

Posted: 22 Dec 2009 05:49 AM PST

I copied this idea from Eric (and Mike ) and thought I'd try and drill out my own set of "top 5" blog posts for 2009 as it draws to a close. Here's the top 5 most viewed blog posts that I wrote this year; Silverlight & WPF Control Browser A quick...( read more )...(read more)

Silverlight Cream for December 21, 2009 -- #759

Posted: 21 Dec 2009 05:50 PM PST

In this Issue: Richard Waddell ( 2 ), Jeremy Likness , AfricanGeek , Michael Washington , Colin Eberhardt , clearbreeze ( 2 ), Tim Heuer , Allan Muller , Shawn Wildermuth , Jesse Liberty , Brad Abrams , and Gill Cleeren ( 2 ). Shoutouts: I'm sure you...( read more )...(read more)

Monday, December 21, 2009

webcam demo on channel 9

webcam demo on channel 9


webcam demo on channel 9

Posted: 21 Dec 2009 05:23 AM PST

At PDC 09 I was able to spend some time with Pete Brown to talk about our Star Trek Surface Application but also some of the Silverlight 4 demos we have put together. Below is one of those, this is a sample I put together with one of our great user experience...( read more )...(read more)

High CPU in .NET app using a static Generic.Dictionary

Posted: 21 Dec 2009 02:02 AM PST

A couple of weeks ago I helped out on a high CPU issue in an ASP.NET application. Problem description Every so often they started seeing very slow response times and in some cases the app didn't respond at all and at the same time the w3wp.exe process was sitting at very high CPU usage 80-90%.  This started happening under high load, and to get the application to start responding again they needed to restart IIS. Debugging the problem They gathered a few memory dumps during the high CPU situation for us to review and when running the sos.dll command ~* e !clrstack (in windbg) to see what all the threads were doing we found that they were all stuck in callstacks similar to this one: OS Thread Id: 0x27dc (124) ESP      ...(read more)

Windows Client Developer Roundup for 12/21/2009

Posted: 20 Dec 2009 10:00 PM PST

On to Windows Client Developer Roundup #3 for 12/21/2009 If you have something interesting you've done or have run across, please send me the URL and brief description via the contact link on my blog. And to everyone reading this live, I wish you a very...( read more )...(read more)

Falling Snow in Silverlight

Posted: 20 Dec 2009 07:13 PM PST

Learn how to create a falling snow effect in Silverlight using nothing more than a behavior....( read more )...(read more)

Sunday, December 20, 2009

4 Calendars & Plans for 2010 / 5770

4 Calendars & Plans for 2010 / 5770


4 Calendars & Plans for 2010 / 5770

Posted: 20 Dec 2009 10:10 AM PST

I live, more or less consciously. in the rhythm of four calendars; three of which are very closely aligned: The Gregorian Calendar (Today is 12/20/2009) The Jewish Calendar (Today is 3rd of Tevet, 5770 ) The Microsoft Fiscal Year (Today is about 3.5 months...( read more )...(read more)

XBoxGames Databases for SQL Server 2005 and 2008

Posted: 19 Dec 2009 09:08 AM PST

As many of you who've been following know, I use a simple database of XBox game data as my example database. I usually remember to include it on the server project but in some examples its been forgotten. In other cases I've shipped with a 2008 version...( read more )...(read more)

ASP.NET MVC 2 and Visual Studio 2010

Posted: 19 Dec 2009 10:50 PM PST

When we released ASP.NET MVC 2 Beta back in November, I addressed the issue of support for Visual Studio 2010 Beta 2. Unfortunately, because Visual Studio 2010 Beta 2 and ASP.NET MVC 2 Beta share components which are currently not in sync, running ASP.NET MVC 2 Beta on VS10 Beta 2 is not supported. The release candidate for ASP.NET MVC 2 does not change the situation, but I wasn't as clear as I could have been about what the situation is exactly. In this post, I hope to clear up the confusion (and hopefully not add any more new confusion) and explain what is and isn't supported and why that's the case. Part of the confusion may lie in the fact that ASP.NET MVC 2 consists of two components, the runtime and what we call "Tooling". The runtime...(read more)

Saturday, December 19, 2009

Moving your ASP.NET Application to Windows Azure – Part II

Moving your ASP.NET Application to Windows Azure – Part II


Moving your ASP.NET Application to Windows Azure – Part II

Posted: 19 Dec 2009 12:47 PM PST

In the previous post I had described the steps to secure your Windows Azure tokens and get the necessary Visual Studio templates as well as making your web application Azure ready by adding the cloud project and building against it. Once you have tested the Development Fabric, the instances as well as the application, the next step would be to publish it to the Windows Azure platform. Select the "CloudService1" project that you added to the solution, right click and select "Publish" Once you click on "Publish", if you are connected to the internet, it would try and open up Azure login screen and once you sign in, https://windows.azure.com/Cloud/Provisioning/Default.aspx If you had received the Windows Azure Tokens, and claimed them (as per my...(read more)

HVP – Core Scaffolding and Updated News

Posted: 19 Dec 2009 10:35 AM PST

This article is part of the Mini-Tutorial Series This article is part of the Silverlight HVP Documentation The State of the Silverlight HVP Project LeanKit Kanban has licensed us under their Open Source provisions, and has gone the extra mile to give...( read more )...(read more)

PDC presentation and demo

Posted: 18 Dec 2009 06:03 PM PST

Here is my presentation at last week's PDC conference about what's new in networking and web services in Silverlight 4 Beta. At the beginning of the talk I refer to WCF RIA Services, which is not covered in detail in the talk itself, but it is covered...( read more )...(read more)

Tip#100: Did you know… How to view ASP.NET trace information?

Posted: 18 Dec 2009 04:24 PM PST

You can enable ASP.NET tracing either at an Application level or at a page level; see Tip# 77: Did you know… How to enable Page Level Tracing for your ASP.NET pages? for more information. With the tracing enabled, you can view the trace output in a trace...(read more)

Passing anonymous objects to MVC views and accessing them using dynamic

Posted: 18 Dec 2009 04:06 PM PST

First, I'll start with a little disclaimer: this post is not about whether using dynamic is better/worse than static typing. Instead, it's about making it more convenient to use dynamic if you choose to go that route . Clearly, some people dislike dynamic, as you can see in the comments in that post from Phil Haack , and for the most part, all the key arguments for/against have been made. So anyway, let's proceed… Recently, a few people have experimented with extending their view pages from ViewPage<dynamic>. The idea is to then be able to access model data using the more convenient dynamic syntax. e.g. check out this thread on StackOverflow, as well as Phil's post I mention above. One limitation that people are hitting is that you can...(read more)

Watch the Minifuzz File Fuzzer Video and Get To Know How To Detect More Code Vulnerabilities Easily

Posted: 18 Dec 2009 03:34 PM PST

This 8-minute video will give you a brief overview of the MiniFuzz File Fuzzer and will walk you through how to configure and use MiniFuzz to perform fuzz testing - a required activity in the verification phase of the Microsoft SDL - on an application. The walkthrough launches MiniFuzz as an add-on to Visual Studio and demonstrates integration with TFS, showing automatic creation of work items from detected crashes.

Windows HPC Server 2008 Training Course

Posted: 18 Dec 2009 03:34 PM PST

Created for software developers as well as IT professionals, this training course includes videos, white papers, datasheets, presentations, and webcasts - all designed to help give you a thorough understanding of the productive, cost-effective and high-performance computing solution that Windows HPC Server 2008 and other Microsoft technologies provide.

Friday, December 18, 2009

Moving your ASP.NET Application to Windows Azure – Part I

Moving your ASP.NET Application to Windows Azure – Part I


Moving your ASP.NET Application to Windows Azure – Part I

Posted: 18 Dec 2009 05:48 AM PST

Earlier I had written 2 posts – Taking your Northwind Database to SQL Azure and binding it to an ASP.NET GridView Part I and Part II . I thought, I will complete the series with a post on moving your ASP.NET Application as well to Windows Azure making it a truly cloud based application. Before we start, there are a bunch of things that you would need to do. First and foremost, you would need a Token for Windows Azure. You can request for a free token for Windows Azure from here after providing your Live ID and a few more details. I am not aware of the current time it takes for receiving a token but in the past it used to be 24 hours. Similarly, if you want to have SQL Azure Tokens, you can get it from here and then login to https://sql.azure...(read more)

Architecting SL4 Applications with RIA Services, MEF and MVVM - Part 2

Posted: 17 Dec 2009 10:57 PM PST

URL : http://wildermuth.com/downloads/RiaXboxGames.zip If you've been following this blog, you know that earlier this week I released the first part of the series oon how to architect your Silverlight 4 projects. In this second part, I want to show you...( read more )...(read more)

My latest videos – WPF, Silverlight, Sensors, and PDC09

Posted: 17 Dec 2009 11:00 PM PST

Here's a list of videos I've put on various sites lately. The first set includes videos I've done for WindowsClient.net , to help folks learn how to build cool applications on Windows. The second set are some of the interviews I did at PDC09, showing...( read more )...(read more)

Silverlight Cream for December 17, 2009 -- #758

Posted: 17 Dec 2009 09:41 PM PST

In this Issue: René Schulte , Mike Hodnick , ITLackey , Glenn Block , David Anson , ChristophDotNet , Micah , Adam Kinney , Joel Cochran , Andrei Alecu , Jesse Liberty , and Gill Cleeren ( 2 ). Shoutout: Jeff Paries shared the 2009 Silverlight Christmas...( read more )...(read more)

Flash to Silverlight Guide – MovieClip to UserControl

Posted: 17 Dec 2009 05:22 PM PST

The first sections of the new Flash to Silverlight Guide are up! The purpose of this guide is to familiarize developers and designers with Silverlight concepts by relating them to Flash concepts. Comparisons are drawn between each pair of concepts in...( read more )...(read more)

Visual Studio 2010 and .NET 4 Update

Posted: 17 Dec 2009 04:21 PM PST

In October we shipped the public Beta 2 release of Visual Studio 2010 and .NET 4.  The feedback on the new features in VS 2010 and .NET 4 has been really great.  I've been working on a blog series about some of them (lots more posts to go!) and have also had a chance to present them to a broad range of audiences – and it has been great hearing the excitement people have about them. At the same time, though, we've also received feedback that the performance and virtual memory usage of VS 2010 Beta 2 is not where people need it to be before we ship. We've been doing an intensive performance optimization push the last two months that is delivering significant performance and virtual memory usage improvements across the product. ...(read more)

Microsoft’s product placements in The Big Bang Theory

Posted: 17 Dec 2009 02:27 PM PST

I'm a huge fan of The Big Bang Theory show. Given a fact that I do have a geek / physicist background it hardly comes as a surprise. I've noticed number of different several Microsoft's products being placed and mention on the show. First and foremost...( read more )...(read more)

Thursday, December 17, 2009

Balder 0.8.8.5 pulled - why ?

Balder 0.8.8.5 pulled - why ?


Balder 0.8.8.5 pulled - why ?

Posted: 17 Dec 2009 01:06 PM PST

A couple of days ago I published a new version of Balder; 0.8.8.5. It had a bunch of improvements in it, especially when it comes to the Silverlight Control support. I had to pull the release mere hours after its release. The reason for pulling it was...( read more )...(read more)

Extending the SMF for the HVP

Posted: 17 Dec 2009 10:30 AM PST

In a radical and terrifying experiment, I'm going to document what happens when I try to extend the Silverlight Media Framework ( SMF ) for the Silverlight HyperVideo Player   as I do it . This article is part of the Mini-Tutorial Series This article...( read more )...(read more)

Moonlight 2 is now available

Posted: 17 Dec 2009 10:32 AM PST

We are pleased to announce the availability of Moonlight 2, an open source Linux implementation of Silverlight first announced by Microsoft and Novell in September of 2007. Moonlight is the first and only open source project that provides Linux users...( read more )...(read more)

Silverlight 4: Drag&drop with EventToCommand

Posted: 17 Dec 2009 08:49 AM PST

One of the MVVM Light Toolkit's user requested that I add the possibility to pass the EventArgs of an event to the ICommand that it is bound to through the EventToCommand trigger . At first I was a bit reluctant because it seems like a transgression of...( read more )...(read more)

ASP.NET MVC 2 RC Released

Posted: 17 Dec 2009 06:00 AM PST

Paternity leave is not all fun and games. Mostly it's soothing an irate baby and toddler while dealing with explosive poo episodes. Believe me when I say the term "blow out" is apt. That's probably not the imagery you were hoping for in a technical blog post, but I think you can handle it. ;) What!? It's already time for an RC?! I think I need to be changed. While I'm on leave, the ASP.NET MVC team continues its hard work and is now ready to announce the release candidate for ASP.NET MVC 2. Go get it now! Download ASP.NET MVC 2 Release Candidate As always, the release notes provide a summary of what's changed . Also, stay tuned as I expect we'll see one of those epic ScottGu blog posts on the release soon. Highlights As you might expect from...(read more)

Silverlight 4 HTML Puzzle: How Does It Work?

Posted: 17 Dec 2009 01:12 AM PST

Scott Guthrie just announced on his blog that many of the demos that he presented during the PDC keynote are now available online . Both the demos and their source code are now online and available for you to download. Be sure to go grab the code and...( read more )...(read more)

Silverlight 4 demos from my PDC Keynote now available

Posted: 16 Dec 2009 09:56 PM PST

[ In addition to blogging, I'm also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu ] Last month I gave a Silverlight 4 keynote at the PDC conference.  You can watch my keynote online here (my part of the...( read more )...(read more)

Happy Holidays in Silverlight with help from COLOURlovers

Posted: 16 Dec 2009 09:41 PM PST

A collision of ideas happened yesterday. The second run of the MIX 10k contest was announced and I realized just how close we are to the holidays. So I thought to myself, "I need a holiday card generator that runs on less than 10k of code". And that's...( read more )...(read more)

Silverlight 4 demos from my PDC Keynote now available

Posted: 16 Dec 2009 09:56 PM PST

[ In addition to blogging, I'm also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu ] Last month I gave a Silverlight 4 keynote at the PDC conference.  You can watch my keynote online here (my part of the keynote starts at the 53:30 mark in the video). I showed off a number of fun demos during the keynote that highlighted some of new features coming in Silverlight 4.  Today we posted the samples online (with code) so that you can download and run them locally on your own machines.  You can download the keynote demos here (source code + VS project file included with each sample). Keynote Demos Below are some details about each of the demos now available for download : PhotoBooth Application...(read more)

Using the Silverlight Toolkit LayoutTransformer Control for Angled Column Header Text

Posted: 16 Dec 2009 01:05 PM PST

I recently inherited the DataGrid control and, after reading over customer feedback and forum posts, one of the tasks I gave myself was to create a code example for the DataGrid.ColumnHeaderStyle property. After poking around I though it would be interesting...( read more )...(read more)