×

First time here?

You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting!

Tagged: silverlight

Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting! Below is a list of entries related to the tag listed above.. My site contains more than just the information below and I'd encourage you to visit the home page to view current information as well as other items/categories that might be of interest.



Ensuring your Windows store app knows of a language change

In my working with Windows Store apps, I’ve become increasingly fond/aware of the advantages for app localization.  There are a lot of resources out there for you to localize your app using a good-better-best approach as well.  I’ve previously written about localizing a Windows Store app using some of these methods and what the WinRT platform supports to make this easier in most cases. Now that you’ve localized your app, you may be faced with the question of how you might want to respond to language choice changes by the user.  Remember that the Windows Store app model is...

Implement a ‘smart banner’ for your Windows Store app

As someone who uses a few iOS devices around the house, I’ve become fond of visiting sites and seeing a little banner that lets me know that a native app is available for the web app I’m using.  This concept was introduced in iOS 6 and called “Smart App Banners” in the developer documentation.  You may have seen them as well I wanted to provide the same affordance for Windows Store apps and recalled there are already two ways to integrate the web app browsing experience with the native app in the Windows Store: ...

Seeding your Metro style app with a SQLite database

It looks like people are really glad about being able to use SQLite within their Metro style apps.  I had written two previous posts (Using SQLite in your Metro style app and HOWTO: Build and include SQLite) about this topic.  I’m pleased to report that since those posts the SQLite team released a build (3.7.13 as of the datestamp on this post) which also provides the binary (32- and 64-bit versions) pre-compiled for you for inclusion in your Metro style app.  You can get them from the SQLite download page. I’ve received a few comments/questions that I thought I...

AutoHotkey–my new snippet tool

This week was TechEd North America, a conference from Microsoft for technical professionals covering the span of pretty much everything Microsoft produces to support IT professionals and software developers.  I was pleased to have been invited to speak on developing Metro style apps in XAML for .NET developers.  Like most developer presenters, I planned on showing a lot of demos, using different tools, editors, and varying code samples, URLs, etc.  When you are a presenter at a conference you usually don’t have the luxury of sitting in your office and doing things without distractions.  You want to get across your...

HOW TO: Use SQLite in C# Metro style app

I got a few questions and comments about how to actually include SQLite in a C# Metro style app.  Since perhaps it wasn’t clear in describing in my post, I thought a quick video might help demonstrate the steps to build and use SQLite in a C# Metro style app. The video walks through actually building SQLite from the source (Visual Studio 2012 required…express is fine) and adding it to a C# Metro style app, create a database, populate with some data based on a class and databind the query to a ListView.  The video references my OneNote notebook on the...

Callisto: A toolkit for XAML Metro style apps

With the announcement of the Windows 8 Release Preview and matching Visual Studio 2012 RC I’m pleased to share some work that has been a result of my own personal app building, collaborating with some friends during their app building as well as porting some helpful projects that I’ve found helpful in my development. Disclosure: At the time of this writing I do work for Microsoft, but this has been a personal effort from my own app development and during my own time (late nights and weekends).  I am not able to upload apps to the...

Using SQLite in a Metro style app

At the “Developing Windows 8 Metro style apps with C++” event that happened on 18-May-2012, we saw and heard some very interesting things.  If you were watching live then hopefully you didn’t see how I tried to work through my presentation while my disk was suspiciously guzzling every last byte until it eventually ran out of space!  But I digress… During the keynote presentation by Herb Sutter, we brought up several customers that are well-known in the native code world to talk about their experiences with Metro style apps and C++/Cx.  In particular hopefully this one caught your eye: That’s right, the...

Metro app development hidden gem: anonymous type binding

Just a little post to point out a hidden gem if you are a .NET developer creating a Metro style app: you can bind to anonymous types.  This came up in a discussion with a customer today that I was having and, frankly, I never tried it until then because my mind was back in Silverlight where this isn’t possible.  There may not be a tone of cases where this is valuable for you, but knowing it is there may help. Let’s assume I have a basic class Person: ...

Stung by Azure Data Transfer fees

I should have known better honestly.  I’ve had one strike with cloud billing catching me by surprise and I’m not sure why I’m shocked it happened again.  This time, however, I thought I really did plan it out, pay attention to things and asked what I thought were the right questions.  Unfortunately I didn’t get the full answers.  This time I was stung by my shiny new SQL Azure service choice. UPDATE 12-APR-2012: Based on comments I've received I feel the need to clarify that I'm not bashing Azure or cloud services in general here.  I don't think anywhere I indicated...

Redesigning my blog for adaptive layout

My blog runs on Subtext which has a pretty good skinning model (albeit a tad outdated) and allows you to customize whatever you want.  I’ve had my own custom theme since 2009.  I figured I was due for an update.  I was further strengthened by a post from Jon Galloway last week. There wasn't a vote, but if there was: I don't like narrow, fixed width web designs. Use media queries, scale intelligently on widescreen. — Jon Galloway (@jongalloway) March 30, 2012 Now when I saw this I figured it was another nudge.  I did...

Using a ToggleButton in your XAML Metro style AppBar

If you’ve been playing around with the Windows 8 Consumer Preview then hopefully you’ve seen the hundreds of samples provided and downloaded some apps form the store.  In a lot of those applications you’ll notice the common theme of the use of an AppBar…the command bar that shows when you swipe from the top or bottom of the screen.  You can also invoke the AppBar by right-clicking or using the Windows 8 keyboard shortcut of Windows key + ‘z’ to bring it up as well. Picture of the AppBar in the Bing Maps application ...

Monetize your Metro style app with Microsoft AdCenter

Today, the Microsoft Advertising team announced an update to their AdCenter SDK to include support for monetizing your Metro style apps. In a blog post announcing the update, Ian notes that if you were using the previous SDK that there have been breaking changes and to use the updated SDK.  This update includes support for XAML applications and adding the ad units couldn’t be easier.  After installing their SDK (which was developed using the same distribution concepts in my post about creating a distributable custom control previous post), you will be able to use Add Reference in Visual Studio,...

Building a deployable custom control for XAML Metro style apps

At //build one of the surprising immediate things I heard about was folks wanting to build custom controls right away.  I knew that would happen, but not so quick on something so new (WinRT).  The XAML platform did not have good support for building custom controls in the Developer Preview but now that the Consumer Preview for Windows 8 and Visual Studio 11 Beta are out, there is much better support.  There are two key things when thinking about custom controls: 1) building it and 2) making it consumable by developers (even if those developers are your own company).  I’ll...

Use Bing Maps in your Windows 8 XAML applications

Today the Bing team announced the release of their WinRT Bing Maps control (BETA) for XAML applications.  First the goods: Read their announcement here: Bing Maps for Metro style apps Download the bits: Bing Maps SDK for Metro style apps (VSIX) Read the reference API docs: Bing Maps SDK If you are familiar with the Silverlight control, it is similar in nature to how you would use it in your XAML Metro style app.  Here’s some helpful tips that are in the docs but just wanted to elevate...

Building a good app settings experience in XAML

So you’ve started to kick the tires of the Windows 8 Consumer Preview and now you are building an app.  You’ve read all the UX design guidelines and started looking at some great apps on the store.   Perhaps you’ve also viewed the online documentation and some samples?  And you’ve likely read about the contract implementations and other charms items like custom settings.  UPDATE: Take a look at Callisto: a XAML toolkit which has a SettingsFlyout control What is Settings? When I refer to Settings here I’m referring to that consistent experience in Metro style apps when the user invokes the charms bar...

XAML AppBar Button Styles for Windows 8

An old colleague of mine and now HTML extraordinaire, Adam Kinney, just recently posted on his spelunking of some styling in both WinJS and XAML runtimes with regard to icons/buttons to use in a Metro style app and the AppBar. Adam has two posts: (WinJS) Windows 8 AppBarIcons enumerated and visualized (XAML) Windows 8 AppBarButtonStyles enumerated and visualized Basically what these do is define a set of styles, both in CSS and XAML, that map back to unicode values in the Segoe UI Symbol font.  This contains a...

Windows 8 for keyboard users

I hope that you had a chance to download the Windows 8 Consumer Preview.  One of the things that you will absolutely want to do is watch Jensen’s video as a video walk-through of Windows 8 features, focusing on working with the operating system as a user, introducing the gestures and things you want to know about.  It is a great, short video and you should definitely watch it: As an avid keyboard user (and one without a touch device currently) I rely on the ‘desktop’ use of my Windows installation.  In addition to those things that Jensen mentions in his...

Windows 8 Consumer Preview Available!!!

Today, Microsoft will reveal the Windows 8 Consumer Preview for download to everyone.  This builds on the momentum and feedback from the Developer Preview released in September.  I’m very excited to get the developer platform in front of you so you can see the changes and new features we’ve made available as well as fixes based on your feedback. Along with the release of the actual bits, we’ve updated many resources for you to take advantage of as a developer, so allow me to iterate my top resources for you now… First, download the Windows...

Shrinking your Subtext database

I run my site on Subtext which has been around for 6+ years in some form (Subtext is a fork of .Text from way back).  As a part of the framework, there was initially built-in capabilities for tracking referral traffic.  On each view of the application, it would tick a referral note and you could see this in the statistics view of the admin pages. As the standards (for lack of a better term) of tracking Page Views, Referrals, etc. moved to more proven/consistent reporting like Google Analytics (or other platforms) these type of platform tracking became worthless to...

Migrating a SQL Server database to SQL Azure

For the past 6 years I’ve run this blog on the Subtext project (an Open Source software project which is an ASP.NET blog framework).  It has served me very well with being flexible and allowing me to customize things that I want.  It is based on SQL Server and uses stored procedures and relational database “stuff” to accomplish the goals of the design.  Recently I saw the news from Scott Guthrie about the reduction in pricing on some Windows Azure products, introducing a 100MB pricing option for SQL Azure which you can read about here and here.  I...

Amazon Kindle Fire: Return to sender

I wanted to believe, I really did.  It has been over a month since my first impressions of the Amazon Kindle Fire.  Over the holidays, I processed a return for my Kindle Fire.  When the Fire was announced I was intrigued and excited as I thought that Amazon had the real potential to make a great product and the customer base to capitalize on that potential.  For me, it just didn’t live up to the hype.  I’ll stress that last sentence…this is my opinion based on my experiences/desires.  As with anything in life, your mileage may vary. So what...

Portable tools rock–my current favorites and a great tool

Lately I’ve been doing a lot of re-paving of machines and I never had my favorite tools on them, nor did I want to spend the time to re-install a set of tools that I knew I would blow away each day anyway.  Mostly my daily builds have been to do some scenario validation and is quite repetitive.  However there are times where a stable build combination comes along that I keep for a while to work on customer apps or sample development.  When these times happen I find myself needing my helpful little utilities more frequently. Recently I’ve...

Code signing for the independent developer

One of the features introduced with Silverlight 4 was the out-of-browser feature, enabling you to create an application that can be installed, run offline, automatically updated, etc.  As a part of that feature, some of the major code signing certificate vendors (for Authenticode certs) provided our team with test certificates so that we could go through the same process as a developer would to acquire the cert and apply it to an app…and, of course, validate it works. During that time some of those vendors had promotional codes for the first year for Silverlight developers, providing reduced-rate (but not...

Silverlight 5 Released with awesome samples in the Silverlight Toolkit

Silverlight 5 is finally released!  Congratulations to the team for getting through some of the toughest parts of finishing a product and validating with customers.  It’s been a pretty crazy year for the Silverlight team and this is a really good release for the product bringing some solid features to the platform for folks to leverage in building their apps. In addition to the platform having a release, I was really pleased to see an update to the Silverlight Toolkit, which has been one of the most popular things almost every Silverlight developer/application uses.  If you didn’t know where...

The joy of running daily builds

It seems like a daily question I’ve been answering lately when working on internal email discussion groups and folks report an issue, my initial response is: what build combination are you working on?  As a part of my job, I like to ensure the fastest resolution (or awareness depending on how you look at it) to issues that affect our product.  This involves staying on top of ‘latest bits’ as we call them.  Every morning I come in and install the latest Windows build as well as the latest Visual Studio build.  We have an automated Hyper-V environment...

Windows Store details announced and a contest

Today there was an event in San Francisco which introduced the Windows Store for Windows apps as well as some details on revenue sharing and policies.  As a part of that Antoine LeBland, Vice President for Windows Web Services, also opened up a new dialog about the store specifically in a new blog Windows Store for developers.  This blog will help developers learn about aspects of the store as well as serve as a place for dialog between the store teams and you, the app developer.  I think it is great that the store team is following in the footsteps...

Kindle Fire: my first impressions and a practical review

Well, today I received my Kindle Fire.  I pre-ordered this on Sep 28 when they were announced.  I’ve been eagerly awaiting to see if there is anything that can be a better-priced tablet-like consumption device like iPad.  I absolutely love my existing Kindle reading device.  Love it.  If you are looking for an e-reader device only, you should look no further than the Kindle reading-specific devices.  They are priced so good now that there is no excuse if you are an avid reader and have always wanted one. Before I get to my “review” I wanted to share a little bit...

Anatomy of a good bug report

I was searching my archives for sending something to my team this morning after looking at various bugs logged from customers, internal partner teams and ourselves.  I had an old post from 2005 but it unfortunately used a Shrinkster URL that appears not to be working.  So here’s the mail I sent to my team this morning.  This is purely my opinion but things that I think make a great bug report for fastest resolution: ------ As we triage and such I know that there are likely times that you are frustrated with not enough detail to even...

My initial impressions and experiences with Roku

My family and I do not have traditional television in our homes (see My move to free HDTV Part 1 and Part 2).  In our home for “live” TV (which of course we have none) we rely on services like Hulu (which has been working perfectly fine and we haven’t felt we’ve missed anything).  We get Hulu, Netflix and Amazon media through our XBOX.  It works for our needs for things that are mainstream. This weekend we wanted to watch a conference that wasn’t on any of these outlets and the stream provided wasn’t working on their website.  A...

XAML Sessions at BUILD

By now hopefully you’ve seen a lot of the revealing of what the next version of Windows has in store for developers.  Trust me there is a LOT to absorb as the week continues and you should absolutely keep your eye on the BUILD conference site where session information will likely start to appear. I know that a lot of readers here will be interested in the XAML-specific sessions so I thought I’d iterate them here real quick.  NOTE: Anything on the agenda with a “C” after the session number is a chalk talk...

Silverlight 5 RC available for developers

The Silverlight 5 Release Candidate (RC) is now available for developers to download.  As with previous preview releases, this is a developer-focused release, which means no production releases, no go-live license, etc.  This is made available for you to test your apps, upgrade to get latest features and to deal with the changes from beta to RC. The beta was a great release and preview of what the team had introduced as new features.  You can read back on my Silverlight 5 guide to new features post regarding if you haven’t understood the latest and greatest additions.  However there...

Life at the Mothership: an introspection

Are you one of those people who hate when people post to their blogs about how it has been so long since they’ve blogged and they apologize for the delay and cite all sorts of excuses?  Yeah, me too ;-) I’ve been doing a lot of thinking lately about my move to the mothership this past year.  I’ve been journaling things all along the way about my feelings, frustrations, personal tribulations and great experiences I’ve had this past year.  I thought I’d share some of that with you all to provide some behind-the-scenes aspects of how some, not all,...

BUILD with Windows 8

In case you haven’t paid attention today, Microsoft announced the upcoming developer conference in September: Registration is now open so get registered…and save $500 now.  For a preview of what is coming in Windows, be sure to check out all the details at the company release “Previewing ‘Windows 8’” which includes a video walk through of some of the features. Then go register for BUILD! tags: windows, win8, build, pdcThis work is licensed under a Creative Commons Attribution By license.

Silverlight 5 Beta–A guide to the new features

At the MIX11 conference Scott Guthrie announced the availability of Silverlight 5 Beta.  I suppose this doesn’t come at a surprise to most as this is now a regular annual occurrence.  In fact it is almost exactly a year ago when Silverlight 4 was released. The team has been working very hard to deliver on the features we discussed at the Silverlight Firestarter event last December 2010.  That was a flurry of revealing that happened in December showing the world what the Silverlight team has been working on.  There was no rest for them of course and they continued to complete...

Silverlight 4 February 2011 Update Released Today

Today (at approximately 10:00 AM PST) our team released an update to the Silverlight 4 runtime.  This update, dubbed internally as “GDR3,” provides an update in the following key areas (KB2495644): Timestamp issues with media playback and VC-1 codec Visual Studio IDE crash when profiling a Silverlight application which has a pixel shader Enabling Silverlight to run as a 32-bit process in 64-bit Firefox on OSX DRM fixes for a “6207” error when playing protected content after upgrading to a version of Silverlight Memory leak...

Silverlight Toolkits now on NuGet

Last night after a quick e-mail exchange with Phil, David and Scott I revised my Silverlight Toolkit “NuPack” packages I had previously created when NuPack NuGet first came out.  At the time there were a couple of things still not supported and frankly, I got busy and never bothered to check back.  Scott had seen something on a forum inquiring why Silverlight stuff, namely our open source controls, aren’t deployable via NuGet.  There wasn’t any other reason other than resources not currently scheduled to add this to the build flows, etc.  So I spent a few minutes revising the packages...

Silverlight service release today - 4.0.51204

Today we are releasing an update to Silverlight 4.  This is an update to two areas where no workarounds could be provided for customers and we found it important to fix.  The two issues in today’s update (which brings Silverlight to version 4.0.51204.0) are: Diacritics Foreign diacritical marks (usually accent marks on non-US languages) do not display in a TextBox control or a RichTextBox control in an out-of-browser (OOB) application on the Mac platform. This update simply fixes what was a broken piece of functionality. Trusted and Signed Applications Before you apply this update, a Silverlight 4 OOB application can enable an update only when...

Silverlight 5 Plans Revealed

Today we had the SIlverlight Firestarter event and revealed to the world for the first time, not only the plans for the next version of Silverlight, but also a slew of demonstrations of some key features. If you weren’t able to attend live or online real-time, we have recorded the sessions which will be available later this week on Channel 9. There has been a lot of confusion on the future of Silverlight.  Microsoft wants to ensure we have a great developer platform portfolio that supports all great technologies like HTML5, Silverlight and WPF.  We’ll continue to invest in these technologies for...

Coded UI testing for Silverlight 4 now available

In the release of Visual Studio 2010 Feature Pack 2 one feature that might be interesting to Silverlight developers is the introduction of support for the coded UI test framework and Silverlight 4 applications, specifically: Use Microsoft Test Manager to capture and playback action recordings for Silverlight 4 applications Create coded UI tests for Silverlight 4 applications with Visual Studio 2010 Premium or Ultimate There are more features in the feature pack (see link above for more details) but also some videos to help you understand these features.  Here’s a video of the...

Welcome New Silverlight MVPs for October 2010

Just a quick shout-out to congratulate the latest Silverlight MVPs to the program.  The Microsoft MVP (Most Valuable Professional) program is a recognition program that is in place to recognize and reward those individuals who have been identified by individuals (peers, Microsoft staff, etc.) as experts in their technology field and global contributors to the technology.  As of today (01 OCT 2010) we welcome some new folks to the Silverlight group: Colin Melia (@colinizer) Kunal Chowdhury (@kunal2383) Tetsuji Kato (@iwiz_sophy) Kelps Leite...

Understanding Silverlight releases (and the September 2010 2nd service update)

Recently our team released a service release for Silverlight on 1-Sep-2010.  We affectionately call these “GDR” releases (general distribution release). NOTE: Other teams have different names for different things.  I’m not sure why Microsoft doesn’t have a standard on these things and it’s funny to hear marketing teams argue the benefit of one name over the other.  For what it is worth, in my eyes, if it isn’t a major milestone release (or at least a ‘dot’ release [4.0->4.1 for example] then it is a service update.  Call it a GDR, Wave X, Service Pack, R2, blah blah. In the GDR1 release...

Windows Phone 7 Developer Training events

It looks like the MSDN team has arranged some deep dives into Windows Phone development across the country.  I am sure that for Microsoft developers Windows Phone 7 represents a new opportunity to get out in the marketplace with your XAML skills and get recognized (paid) for your work!  It has been exciting to see a lot of interest from Silverlight developers in Windows Phone 7. If you are one that hasn’t had the time to soak in the platform or simply haven’t been paying attention, you are in luck.  There are a series of launch events...

Handling picture orientation in CameraCaptureTask in Windows Phone 7

I was spelunking around playing with Silverlight in Windows Phone 7 and specifically the CameraCaptureTask.  The “tasks” are APIs that allow you to interact with phone-specific functionality like the camera, picture picker, phone dialer, etc.  A whole list of the available tasks in the Microsoft.Phone.Tasks namespace can be found in the developer documentation. I was basically creating a simple application that would allow you to choose (PhotoChooserTask) or take a picture (CameraCaptureTask) and then display the picture (and later post it online or something).  Here was my basic XAML structure: ...

Lt. Bennett returns and brings his Silverlight source code with him!

Three years ago I wrote about one of the first full-featured casual games built in Silverlight (at the time Silverlight 1.1) which we called Zero Gravity.  It was a game featuring Lt. Bennett a character who was lost in space and your job was to navigate him through simple puzzle boards back to his space ship.  It is a fun little game that can keep you busy for a while and even get you frustrated on some of the harder mazes.  The project was done in concert with Terralever, an agency who has great experience in building great online casual...

Windows Phone 7 Developer Tips and Tricks

On the heels of the Windows Phone Developer Tools and Silverlight for Windows Phone Toolkit releases I saw a lot of exhaling going on in the hallways today.  Apparently Jeff saved his largest one for an avalanche of knowledge on Twitter in the late afternoon.  Jeff Wilcox is a developer on the Silverlight team and has been working on the Silverlight for Windows Phone initiative as well as the toolkit released today.  He was headed out on vacation but decided to throw out some words of wisdom for Windows Phone developers working in Silverlight.  Here’s some of those nuggets –...

Silverlight Toolkit for Windows Phone 7

Well, the official Windows Phone Developer Tools are out!  Go get them. (warning likely some caching issues..direct installer here.) The awesome Silverlight toolkit team is at it again, this time for Windows Phone 7.  The team is releasing a series of controls/libraries to help WP7 developers fill some gaps and simply make things easier and more consistent.  The initial set includes the following: ContextMenu control DatePicker and TimePicker controls ToggleSwitch control GestureHelper library WrapPanel control These...

Writing plugins for Seesmic Desktop

Today, Seesmic more broadly launched Seesmic Desktop, a refreshed platform for interacting with various social media outlets like Twitter, Facebook, Google Buzz, etc.  Seesmic has been one of the leaders in this space providing client applications on various platforms across web, desktop and mobile and providing us with unified views of our interaction with others online. You may have remembered seeing Loic on stage at MIX last year demonstrating their first preview of this updated platform and inviting developers to be a part of extending the shell.  That’s right…their platform is extensible!  A great application that I can also...

Introducing JetPack–a new Silverlight 4 application theme

After a longer-than-should-have-been delay (you can blame me for that) allow me to introduce JetPack. I’m really excited about this theme and the work that our team put together here.  You may have see Tsitsi talk about theming in general and introduce this theme on Silverlight TV.  The challenge behind this theme was to take some of the excitement around other Silverlight themes and create a great looking overall theme that could be used for line-of-business applications, but also extended as desired by any other application. Working with the team at Pixel Lab, our small team...

Smashing Magazine September 2010 Windows 7 Theme

September is here (apologies for being late - in all honesty I wasn't inspired by this months' selections)…time for an updated Windows 7 Smashing Magazine theme pack! The September themes seem to be continuing the focus on 'summer' things.  So here is your September 2010 Windows 7 Theme Packs for wallpapers – unfiltered and uncensored – about 75 wallpapers in all. Smashing Magazine September 2010 Windows 7 Theme (calendar) Smashing Magazine September 2010 Windows 7 Theme (no calendar) Smashing Magazine Desktop Wallpaper: September 2010 (original post) For details on these...

Silverlight, HTML5 and the future

The Silverlight team today posted some information about what the future holds for rich Internet apps and where we have come with SIlverlight, where we see HTML5 playing a role and how Silverlight will be a part of the future of this next evolution of rich Internet apps. Brad Becker, Director of Product Management, provides some information behind the value of Silverlight in a world where HTML5 will also co-exist: Expect to see more from Silverlight in these areas especially in our focus scenarios of high-quality media experiences, consumer apps and games, and business apps....

Silverlight 4 service release (September 2010)

Today we released an update to Silverlight 4 (update build is 4.0.50826.0) along with an updated SDK.  We appreciate our customers’ patience on working with us to help identify and verify necessary updates to this service release.  You can find all the details in KB2164913.  Here are the relevant highlights: SDK feature to enable Add New Row capabilities in DataGrid control Improving startup performance of Silverlight applications Adding mouse wheel support for out-of-browser applications on the Mac platform Various media-related fixes around DRM content ...

My new Kindle 3 review–comparing against Kindle 2

When I first saw the Kindle 3 (is that even the new name?) was going to be offered with WiFi, I thought that was cool.  Then when I saw the price (USD $139) I figured it was a no-brainer to explore.  I had bought my wife a Kindle 2 a while back ($249 when I purchased it) as she is a reader and I thought she’d like it.  She does.  It turns out though, so do I!  I’ve found myself reading a LOT more lately and I really like the versatility this provides me in switching between books.  (If you...

Storing and playing media on Windows Phone 7

In talking with a friend about some Windows Phone 7 and Silverlight stuff recently.  He was giving me some great feedback about a few things (all of which I’ve passed along).  One of the things was what I felt was a common task that might exist in the mobile space but admittedly isn’t as clear if you are just coming to WP7 development.  The scenario is that of downloading media files and storing them for later playback. WP7 does not have a storage mechanism like SQLLite on the device, but since it is Silverlight, you do have Isolated Storage you can...

Debugging Silverlight with Visual Studio and Firefox

Suppose you use Firefox as your default web browser and you are a Silverlight developer using Visual Studio.  You may have been frustrated at times in being able to get the debugger to attach to your breakpoints.  You’ve triple-checked that you are in debug mode, that the Silverlight checkbox is marked in the hosting web application’s property pages and it still is not breaking for you.  You stare at the dreaded empty red circle in Visual Studio reading the tooltip of “No debug symbols have been loaded…” a thousand times. But it works in Internet Explorer. I’ve faced...

Pano versus Pivot: Windows Phone Design Days content available

One of the biggest discussions I started getting into when Windows Phone development was announced to the world was sparked with this single question I posed to our internal Windows Phone developer teams: What is the use case for when you would want to use a Pano versus Pivot application layout? I asked this in the context of an application for Yelp that I was writing.  Information was similar but not identical.  It was only similar in the sense that the data was all about user reviews and venues.  In my eyes I saw this like the fact...

StringFormat and CurrentCulture in Silverlight

I recently got a note about a nagging issue in using StringFormat in XAML binding expressions and how it doesn’t honor the current user’s culture settings.  This is true that there is an issue in that it doesn’t in WPF or Silverlight.  If you don’t know what I’m talking about, Silverlight introduced the ability to use StringFormat in data binding expressions (WPF has had this since 3.5 SP1) so you could do some formatting in-line in your binding.  Like this: 1: <TextBlock Text="{Binding Path=CurrentDate, StringFormat=Current Timestamp is: \{0:G\}}"...

Smashing Magazine August 2010 Windows 7 Theme

August 1st is here (well okay, so I'm a little late)…time for an updated Windows 7 Smashing Magazine theme pack! The August themes seem to be continuing the focus on 'summer' things.  So here is your August 2010 Windows 7 Theme Packs for wallpapers – unfiltered and uncensored – about 35 wallpapers in all. Smashing Magazine August 2010 Windows 7 Theme (calendar) Smashing Magazine August 2010 Windows 7 Theme (no calendar) Smashing Magazine Desktop Wallpaper: August 2010 (original post) For details on these and to see past ones, visit the...

Microsoft PDC10 Announced–Book hotel early

So it appears we’ll be having a Professional Developer’s Conference after all this year.  Today we announced the PDC10. Unlike previous ones in ‘conference cities’ this one will be held at the source of the information, on Microsoft’s campus in Redmond, Washington.  The price looks to be less than previous as well, so check out the details at the Microsoft PDC event site. If you’ve never been to Redmond before, or if you have, allow me to give you some friendly advice.  If you think you might be coming, book a hotel room now.  Redmond isn’t a conference city like LA, Atlanta,...

Quick Steps to displaying data using PivotViewer and Silverlight

Last week or so the PivotViewer control was released, which is from the Microsoft LiveLabs team.  It’s a Silverlight control that enables you to visualize data information in a DeepZoom type experience.  Be sure to check out the PivotViewer learning section for some initial information if you haven’t seen any demonstrations. I received an email a few days back hoping for a more quick “how to” on using this control.  After all, it is a control for Silverlight and requires some implementation.  Honestly, I hadn’t even used it myself until I got that note.  I thought I’d jot down...

Silverlight Media Framework 2 released–integrate with Live Writer

Yesterday (7-Jul-2010), the Silverlight Media Framework v2 was released on Codeplex (yeah, it’s Open Source).  If you aren’t familiar with it, it is a Silverlight framework encapsulating the best practices for media playback for Silverlight applications.  It is both a framework and, in v2, they also provided compiled simple player XAPs that you can just drop in HTML.  If you are building apps, you’ll want to take a look at the framework in more detail, but if you want a solid media player experience grab the players too. Since I use Windows Live Writer as my blogging tool, I...

Silverlight bookshelf from SilverlightShow

SilverlightShow.net is one of those great community sites providing information, tutorials and general developer information around Silverlight.  They’ve done a great job providing a spectrum of beginner to advanced topics on Silverlight development.  At MIX10 I was talking with one of the brains behind the site (and Silverlight MVP), Emil Stoychev, one one of the ways they had been displaying book recommendations on their site.  It was a bookshelf view that I thought was cool and I wanted to use it for my own book recommendation list on my blog.  NOTE: It was...

July 2010 Silverlight MVP Awards

Each quarter, new MVP (Microsoft Most Valuable Professional) candidates are awarded.  January 2010 is the first awards of the year and so I present the new/moved/re-awarded Silverlight specific MVPs: Alex Knight (@agkdesign) – started SilverZine and is a XAML designer extraordinaire Cigdem Patlak  (@crocusgirl) – doing some really fun stuff with Silverlight Show and a talented developer/designer Rodrigo Diaz Concha (@rdiazconcha) – doing some really great things in our Latin America countries!  Gracias! Jeremy Likness (@jeremylikness) – seriously, go subscribe now.  Jeremy is too...

Top issues for Silverlight

A while back I had sent out an update on Twitter that I was sitting in a meeting reviewing some “top issues” for Silverlight as reported through various channels (official support, forums, social media outlets, blogs, incoming emails, etc.).  It really seemed to be a holistic view of incoming feedback from all over the place.  People asked if I’d share the issues we discussed and I thought it would be interesting to see what people are facing.  Interestingly enough, almost all of these are solvable and, at least in my mind, not ‘issues’ but learning opportunities (for developers *and* us)....

On leaving the Arizona community…

As I write this in my hotel room now on the eve of me leaving the state of Arizona, I am left with mixed emotions.  Most of them frankly are deeply personal which I’ll spare you the details.  However, it is here – specifically in the Phoenix metro area – that I grew the most technically.  NOTE: Yes there are some Microsoft employees that live outside of the ivory towers of Redmond.  However, and to be frankly honest, when you work for a product team -- *currently* – it is fair to say that growth...

I want more shell applications, especially for mobile

I just got back from speaking/attending the Norwegian Developers Conference in Oslo, Norway.  It was a great time and a well run conference.  Like many other conferences I found myself looking for two things I wanted on my mobile: the schedule and a map/guide for the city (I’ve never been to Oslo).  You see every time I take a trip, here’s what I do: Search for an app that contains the schedule (or offline version).  Ideally allows me to build my schedule and gets updates for changes Find the metro/map/guide for the city...

Hosting cross-domain Silverlight applications (XAP)

In the Silverlight world, there are two types of “cross-domain” things that may leave some banging their head against a wall for a while.  The first involves making network-based calls (WebClient, HttpWebRequest, etc) to services hosted on a domain other than the one that is the site of origin for the XAP.  This is solved by ensuring the service provider enables a clientaccesspolicy.xml file for their service.  More information here: Cross Domain Policy Files with Silverlight. NOTE: “site of origin” is a term you might see a lot with regard to Silverlight.  This refers to the URI domain of the Silverlight...

Expression Studio 4 launch–Blend, Web, Encoder, Design

Today (7-Jun-2010) at Internet Week in New York, Microsoft announced the general availability of Expression Studio 4 which includes upgraded versions of Expression Blend (including Sketchflow), Encoder, Web (including SuperPreview) and Design. You can find out the details of each product and download a trial at http://www.microsoft.com/expression right now. With this release comes a free Upgrade for licensed version 3 (Studio or Web) users!  All you need to do is install the trial version of v4 on top of your licensed version of Expression Studio 3 or Expression Web 3 and the installer will find your license and upgrade it to the...

Silverlight 4 Theme refresh including RIA Services templates

The feedback from the Silverlight 4 application themes released and the latest in process have been overwhelmingly toward the positive.  We appreciate the feedback and hopefully you appreciate the transparency in the process.  As a developer I want my fellow brethren to appreciate good design and use it whenever possible … even as a default if you don’t have designers on board. In the initial release we had some issues getting the RIA Services ones out at the same time but we’ve got those finished now for Silverlight 4 Business Application Template.  Download the refreshed Silverlight 4...

Silverlight 4 minor update–June 2010

Today we released a service update for Silverlight 4.  This is a minor release that addresses some items found immediately after release that have now completed our test passes with those who reported them.  Most of the items found won’t affect all users, but media developers will want to get this update for their applications and encourage their users to upgrade. This update (4.0.50524.0) addresses a few media-related items found by some of our media customers.  A few items were serviced for DRM users as well as 2nd monitor usage for media on the Mac platform.  If you are...

SNEAK PEEK: Another Silverlight theme pack preview

Building on the positive feedback of the previous Silverlight application themes released last month (Cosmopolitan, Accent Color, and Windows) the design team is working on another theme targeting business application developers.  We don’t yet have an ‘official’ name for this one yet (and to mitigate the confusion of internal code names again, I’ll spare you the code name), but I wanted to put up a preview.  We’re turning this theme around FAST and I wanted to throw it out here in an initial iteration for preview and comment.  This is the ‘dark’ version of the theme and there will be...

Microsoft Translator client library for Silverlight

A while back immediately after MIX10 I started messing with Microsoft Translator APIs for Silverlight applications.  I also got some people asking about Windows Phone 7 stuff and messed around with that a bit.  Here’s some post for reference: Make your Silverlight applications speak to you Using XNA libraries in Silverlight for Windows Phone 7 (with Translator as an example) In talking with the Translator team following MIX (where they announced they were working on a Silverlight class library for the API.  It was good to interact with their...

Smashing Magazine June 2010 Windows 7 Theme

June 1st is here…time for an updated Windows 7 Smashing Magazine theme pack! The June themes seem to be focuses on 'summer' things.  So here is your June 2010 Windows 7 Theme Packs for wallpapers – unfiltered and uncensored – about 55 wallpapers in all. Smashing Magazine June 2010 Windows 7 Theme (calendar) Smashing Magazine June 2010 Windows 7 Theme (no calendar) Smashing Magazine Desktop Wallpaper: June 2010 (original post) For details on these and to see past ones, visit the Smashing Magazine Windows 7 Theme information for the specifications I used for the theme...

Silverlight 4 Tools, WCF RIA Services and Themes Released

This morning we published the final release of the Silverlight 4 Tools for Visual Studio and WCF RIA Services.  In April, when Silverlight 4 was released, the tools were still in “RC” status.  Today, they are no longer and are officially released.  There is no new update to Silverlight itself, but these tools are the final bits of this version. Get the Tools If you have a clean machine you can get everything you need using the Web Platform Installer by clicking on the link at the Silverlight community site.  This will install Silverlight Tools, Silverlight, WCF RIA...

Running WordPress on Windows Server

A few days ago, I saw someone posted on Twitter a question about running WordPress on Windows Server.  Since I had done this for a few sites, I responded with my thoughts and tips.  Another suggested that I post those here, and so here I go. WordPress is a blogging/content-management platform that has been around for a while.  It has been gaining more in popularity for general purpose content sites over the past year I’d say, but is primarily seen as a blogging platform by most.  Even though I use Subtext for my platform, I have to admit that...

Silverlight XAP Signing Certificate promotion from Thawte

And the offers keep coming in!  Another one of our key partners for testing XAP signing for trusted applications was Thawte.  Their group helped provide us with valid certificates to verify their process and signing worked as expected (and verified) for Silverlight 4.  Today I just got an email from their marketing department that they would like to offer Silverlight developers a discount on Thawte code-signing certificates to $89 for a 1-year…about 70% off their current rate.  That’s pretty amazing of them to do. Here’s their terms and details on how to get it… Terms ...

Ways to give feedback on Silverlight

There are a few ways to give feedback on Silverlight.  I wanted to share my thoughts on them as some are obvious and some aren’t. Forums The product team and test team regularly monitor the Silverlight Forums.  It is a great place to get your questions answered by other experts, community members and perhaps the product team directly.  This is a good place to search for previous questions as well. Report a bug If you’ve scoured the forums, posted your question and didn’t get any answer and you think you’ve identified a bug, you can submit one.  I’ll admit here this is a cumbersome...

New Silverlight 4 Themes available–get the raw bits

NOW OFFICIALLY RELEASED: DOWNLOAD HERE A while back I posted a sneak peek preview of 3 new themes that we were working on for Silverlight 4 applications.  Our team wanted to do more than just the overall base theme and provide the themes for the core, SDK and some Silverlight Toolkit controls as well.  In addition, there was a lot of internal chatter about how cool these new themes were and a lot of teams wanting to adopt them as default, including WCF RIA Services. While we finalize a better distribution plan for these templates (and some may show up as defaults...

Creating Visual Studio Extension Files (VSIX) for Template Deployment

While working on some plugins for the new Seesmic Desktop Platform I got sick of copying and pasting some boiler plate code over and over.  I had created some helper templates for myself so that I could say File…New Seesmic Desktop Plugin and get everything I needed initially.  This weekend I had some time and formalized those templates into an easy-to-use installer for anyone to consume.  NOTE: It is likely that Seesmic themselves will create developer project/item templates…these were for my own use and I shared them on the Seesmic Desktop Platform developer forum for anyone...

Windows Phone 7 Developer Tools April 2010 Refresh

As most of you know at MIX10, we released the first version of the Windows Phone 7 developer tools (which are free) targeting Silverlight and XNA development to the world.  This was a community technology preview (CTP) release and targeted Visual Studio 2010 RC at the time (which was the publically available version).  Since MIX10, Visual Studio 2010 has released in final form and the phone developer tools team has been working to get a working version finalized. Today is that day – we’ve just made available the Windows Phone Developer Tools CTP (April 2010 Refresh) (direct link download).  This is...

Silverlight 4 enables Authorization header modification

A little bit of hidden gem in the Silverlight 4 release is the ability to modify the Authorization header in network calls.  For most, the sheer ability to leverage network credentials in the networking stack will be enough.  But there are times when you may be working with an API that requires something other than basic authentication, but uses the Authorization HTTP header. The Details Basically you just set the header value.  How’s that for details :-).  Seriously though, here’s a snippet of code: ...

Get a Silverlight XAP signing certificate for cheap thanks to GoDaddy

One of the new features in Silverlight 4 is the ability to sign your XAP applications so that your out-of-browser trusted applications look more friendly (trusted) to your users, they come from a verified publisher, and they can take advantage of the auto-update APIs in Silverlight. If you don’t know what I’m talking about, here’s some resources for some background: XAP Signing in Silverlight 4 HOWTO Video: Sign Silverlight 4 Applications Basically if you are writing a Silverlight 4 trusted application, you WANT to be signing your XAPs. ...

Seesmic and Silverlight Provide an Extensible Social Platform

This week, Seesmic announced a new Seesmic Desktop platform.  They finally revealed more details to the public and released developer previews of their shell, SDK and some sample plugins.  You can get them on the Seesmic Developer Wiki. The best part?  It’s built on Silverlight 4 and the Managed Extensibility Framework (MEF)!  This is awesome news for those of us who have been using various clients that have been locked down to specific use scenarios.  There always is a few things I want/need/etc in software and it’s great now that (at least in this space) I can...

Backward Compatibility with Silverlight 4 applications

Each release of Silverlight it is the goal to make sure existing Silverlight applications continue to work.  Since I think what this means causes some confusion I’m going to do my best to explain what we mean by this. Silverlight 3 application working with Silverlight 4 Okay, scenario 1 is I have a Silverlight 3 application (XAP), will that still work as-is in Silverlight 4?  Yes, this is the situation we refer to as backward compatibility.  What this means is that existing compiled XAPs under previous versions should continue to work as-is even if your users...

Silverlight Client for Facebook updated for Silverlight 4 release

Yet again, we’ve updated the Silverlight Client for Facebook for the Silverlight 4 release version.  In order to use the updated one, you must follow these instructions: First, uninstall the previous version you have.  This can be done in Add/Remove Programs on Windows or by just deleting the app on Mac. Ensure you have Silverlight 4 installed.  If you are using the development tools and have installed Silverlight 4 developer tools, that’s fine.  If you are not a developer, visit http://microsoft.com/getsilverlight to get the latest Silverlight 4 version (4.0.50401.0). ...

Silverlight 4 released. Availability of tools announcement

Today’s the day!  Tuesday at DevConnections in Las Vegas, Scott Guthrie just announced the ‘launch’ of Silverlight 4.  We wanted to take the opportunity at DevConnections to let a large audience of our customers online/offline know that we’re done and shipped Silverlight 4.  As of today it’s now available for you to download/use.  Here’s some helpful quick update information for you: Download the bits Understanding what is in the bits RIA Services Windows Phone 7 Developer Tools VS2008 and VS2010...

Using XNA libraries in your Silverlight Windows Phone 7 applications

I recently got an inquiry to my Microsoft Translator sample on if this would work with the Silverlight in the Windows Phone 7 SDK.  I hadn’t tried it before, so I created a sample Windows Phone 7 application and copied the code over.  I used a basic UI to mock up the similarities: And then clicked the button.  The text translated fine, but no audio.  I didn’t get any warnings that the WaveMSS code sample I was using wouldn’t work.  Then I remembered about XNA. NOTE: I actually think this is a bug...

Watch the Silverlight 4 Launch event and LIVE QA with ScottGu and others

Next week on 13-April at 8:00 AM PST Scott Guthrie will deliver a keynote address for the DevConnections conference being held in Las Vegas, NV.  Scott will provide updates on the progress made in Silverlight 4 and will provide the details of availability of the developer tools, runtime and other news. Mark your calendars and return to the Silverlight community site to tune into the LIVE event.  After the keynote, Channel 9 will be hosting interviews with Scott and other key members of the Silverlight and Expression teams.  I’ll be hosting one of those interviews as well...

Managing service references and endpoint configurations for Silverlight applications

You’ve written your service.  You’ve written your Silverlight application.  You Add Service Reference to your application and got the client proxy code.  Your app ‘works on your machine’ and you push it out.  FAIL. NotFound. Crap.  You forgot that your service reference had your local URI endpoint in there and when you moved it to staging and/or production it failed.  You start cursing Microsoft and the Silverlight team and add to the threads in the forums or perhaps initiate a new wishlist item for the team and throw it out on Twitter and encourage votes. ...

Congratulations to latest 2nd quarter Silverlight MVPs

Congratulations to all the new/returning MVPs from all competencies, but I wanted to call out the newly awarded Silverlight MVPs for this latest round.  Please join me in congratulating them: Xuan Qin (China) Mark Monster (The Netherlands) (@Mark_Monster) Rene Schulte (Germany) (@rschu) Seungmin Ha (Korea) Jaana Metsamaa (Estonia) And a specific call out also to Colin Blair (@SLColinBlair).  Colin’s work in the WCF RIA Services space gained him recognition from the connected systems division.  Since Colin...

New hard drive means re-install everything

I recently found a good deal on a 7200 RPM 500GB latpop drive and decided to upgrade myself to that.  I’ve been operating on a 150GB drive for a long time and hadn’t been cleaning up old projects, encodings, etc. so it was running thin on space.  This was a cheap upgrade (< $90) so I opted for it.  I finally got a moment last evening to pop it in and start the fresh installs of everything.  Doing so reminded me of how long this process takes for us geeky people.  Luckily I do a backup first using my Home...

What tools are the minimum to get started in Silverlight?

Help me out with a bit of some research here.  In your opinion…what tools (from Microsoft) are the MINIMUM needed to get started with Silverlight?  I’m not talking about full-blown MVVM, MEF loading, Live Smooth Streaming applications…I’m talking about if you were to tell someone who has a bare hard drive and wanted to start learning Silverlight, what tools would you tell them they simply cannot do Hello World++ without? Please respond to my survey: [embedded survey removed please vote here: http://twtpoll.com/em387c] Thanks! tags: silverlight, tools, riaservices, ria, xaml, expression, toolkit This work is licensed under a Creative Commons Attribution By license.

MSDN Radio follow-up answers: Prism for Silverlight, DomainServices and relationships

This morning I was on a weekly (new) radio show from MSDN, hosted by Mike Benkovich.  The show, MSDN Radio, features live call-in questions that you can ask.  It was a better format than the typical live meeting text-based QA I thought.  I think hearing questions gives you a better chance of articulating your inquiry more.  Thanks to all those who listened and asked questions.  I know it seemed short and there were a few more questions in the queue – feel free to send me questions you may have. UPDATE: The audio from the show was just posted here. There were...

Installing Silverlight applications without the browser involved

One of the features we are introducing in Silverlight 4 is a ‘silent install’ mechanism for out-of-browser applications.  Currently every out-of-browser application (trusted or not) starts from an in-browser mechanism.  In some instances where you want to deploy the app via managed desktop software or perhaps via CD-ROM, you don’t want to have to tell the user to start on an HTML page first. Now I’m not going to write here about the merits of why you might want to do this other than to point out what I believe to be the 2 prominent scenarios: managed desktop deployment and CD/DVD...

MIX10: Yet another way to view video content sessions using their OData feed

Well, MIX10 is over.  It was a great time to meet a lot of people and see friends from afar.  As anyone knows, the networking is a HUGE part of being in-person at any conference…that vibe, value and friendship cannot be matched online. But the sessions – there were a TON of them.  It is quite impossible to be in 3 places at one time.  Thankfully the MIX team record all regular sessions and make them available for viewing online or offline.  For you Silverlight developers here are my picks to ensure you watch: EX55: Building the eBay...

Silverlight Client for Facebook updated for Silverlight 4 RC

If you installed the Silverlight Client for Facebook, and also upgraded to the release candidate for Silverlight 4, you may have noticed it stopped working :-). NOTE: Applications compiled on Silverlight 4 beta will not work on machines with Silverlight RC runtime.  This is known/expected.  As with all pre-release software, this type of breaking can be expected. We’ve recently updated the Facebook application, and you will have to re-install.  Follow these steps: Uninstall the Silverlight Facebook client.  You can do this in a few ways.  First on Windows through the Add/Remove Programs or by...

Make your Silverlight applications Speak to you with Microsoft Translator

One of the announcements that happened during the MIX10 conference was the availability of the V2 of the Microsoft Translator API.  This is the engine that powers the translation behind http://www.bing.com/translate and some other Bing-related properties as well.  A lot of research has gone into the engine from Microsoft Research and others.  Language translation isn’t an easy task especially taking into consideration cultural significance of words, etc.  I have heard that the most challenging in machine translation is to Asian languages.  I will admit to not speaking any of them, so I don’t know how well we are performing here...

Simulate Geo Location in Silverlight Windows Phone 7 emulator

If you’ve been excited about Windows Phone 7 development and the platform being Silverlight for application development, you probably rushed and downloaded all the tools (which are free by the way).  You may have even got the samples from the SDK and noticed the Location services example…but wondered why it doesn’t work. If you are just getting started, I created some quickstart videos to help you through some of the basics.  You can view them here. In case you haven’t figured it out: Location services (aka, GPS) is not emulated in the developer tools CTP.  As you might expect, this makes it...

Getting Started with Silverlight and Windows Phone 7 Development

So the news is out!  Silverlight IS the platform for Windows Phone 7 Series development! Sweet.  We also made available an update to Silverlight 4 that you might be interested in too! You may be wondering how you get started.  If you are new to Silverlight, I recommend getting familiar with Silverlight first.  You can find all the tools you will need at the Silverlight community site.  In addition to the core tools you’ll want to get the Windows Phone Developer Tools CTP.  This will add to your Visual Studio 2010 installation (or install Visual Studio Express) to enable Windows Phone...

A guide to what has changed in the Silverlight 4 RC

UPDATE: Silverlight 4 is RELEASED!  READ HERE! At MIX10, Silverlight 4 released an update, the Silverlight 4 RC (release candidate).  A few things have changed since the beta which was released in November.  If you haven’t read my guide to Silverlight 4 you may want to check that out.  The features still exist, but there are some changes to the implementations of some of the features as well as some new ones.  Please go read the previous post to familiarize yourself with the features.  This post will be complimentary to that and identify new/changed. First let’s get you going with the tools: ...

SNEAK PEEK: New Silverlight application themes

‘Twas the week before MIX, when all through the tubes Not a developer was sleeping, not even the noobs. The laptops were paved removed of their glitz In hopes that they soon will get some new bits. A developer was coding, building an app Trying to build the next greatest XAP Battleship gray?! Now that’s obscene Check our designers’ latest theme Okay, so I’m not going to win any poetry awards.  Our UX design team for Silverlight has been thinking about app building a lot this past year,...

Learning the M-V-VM pattern for XAML development

Quick, what’s the most popular thing in XAML development?  Yeah, thought so…MVVM or Model-View-ViewModel. It’s one of the most popular subjects I hear about when people talk about developing applications with WPF and Silverlight.  However, as much as it is talked about and as much as frameworks are born every day, there isn’t a ton of just simplified ‘here’s how you do it’ information in one place.  I mean, sure there *is* information, but I have to admit I think it is a bit scattered all over. One of the pioneers of promoting this pattern for WPF development,...

Silverlight MVPs of the Year (2009)

This week at Microsoft we are hosting roughly 1,300 of our top community experts around the world in various technical competencies.  For Silverlight, we have about 80% of our group in attendance from all over the world. At the beginning of the year the Silverlight team asked our MVP group to identify the individuals within their group have done a lot for Silverlight community and that they would consider worthy of being named an ‘MVP of the year’ award. First to be clear, ALL of our MVPs are top notch and all have contributed significantly to...

Using Silverlight Media Framework for simple playback

If you aren’t aware of the Silverlight Media Framework, you should take a look.  This is a media playback framework for Silverlight that is based off of a lot of best practices from such implementations as the NBC Olympics, Sunday Night Football and others.  It has a lot of features built-in to the framework such as: Logging DVR-style features Fast forward Slow motion Media Markers etc Basic stuff plus some great included features and extensibility points. Missing Features...

Quick FAQ on Visual Studio 2010 RC release (February 2010) and Silverlight development

Yesterday Microsoft announced that Visual Studio 2010 Release Candidate was available for MSDN subscribers and would be generally available on 10 February 2010 for the public.  This release represents a significant improvement in the overall Visual Studio product and a lot was based on beta tester feedback. Of course, as a Silverlight developer you will be wondering: Can I still develop Silverlight 4 applications with the VS2010 RC? Here’s the simplest form of a FAQ I could provide for you: Q: What was released this week for Visual Studio 2010? A: The Visual Studio...

Silverlight DataGrid quick styling tip: keep selected row focus state

A developer asked me this question and while a simple answer, I thought it would be a good quick tip to share for those who may be in similar situations. The scenario is the classic master-details scenario where perhaps you have a grid of data and when a user selects the row, the details are enabled in a form (or perhaps the child of the element) for editing.  Maybe something like this: See you can see the row clearly selected (note: this is using the default DataGrid styling).  But watch what happens when you go to the form to edit: Notice the focus...

Reading MP3 metadata with Silverlight and drag-drop

I’m working on a little sample application for music management in Silverlight using WCF RIA Services and some other new Silverlight 4 features.  One thing that I wanted to add to the application was the ability to drag an audio file and either lookup the data and/or add a new album/artist/song to the library automatically. Audio formats have a ‘tag’ format known as ID3.  It’s a format used for audio file metadata that is used in Windows Media Player, iTunes, and various hardware devices as well.  Over the years there has been an evolution of this format, with the...

Silverlight Client for Facebook available

Remember the final moments of the Scott Guthrie keynote presentation at PDC09?  Where Brian Goldfarb came on stage and demonstrated a completed application using a lot of the features of Silverlight 4?  Yeah, that Facebook application.  Well, it’s here now! The Microsoft Silverlight 4 Beta Client for Facebook has been released as a developer preview sample.  In order to use it you must have Silverlight 4 developer builds installed. NOTE: When you run this application you’ll be installing the developer builds of Silverlight.  When Silverlight 4 releases, unless you are a...

RIA Services and relational data

As we’ve all been guilty, when you see demonstrations of technologies most of the time the data samples show single table solutions.  When was the last time you’ve developed a single-table system? :-)  Thought so. In RIA Services demonstrations, most of them have been single-table samples as well.  So how do you go about retrieving relational data (master/details type) with RIA Services?  Here’s an option.  I’m using VS2010, Silverlight 4 and the WCF RIA Services preview using the below sample.  I’m also using the Chinook sample database which has become one of my favorite simpler relational data samples to...

January 2010 Silverlight MVPs

Happy new year to all!  I hope you enjoyed a safe celebration whether that be playing a board game with friends, toasting the new year with some bubbly, throwing things at Ryan Seacrest on TV, or whatever. Each quarter, new MVP (Microsoft Most Valuable Professional) candidates are awarded.  January 2010 is the first awards of the year and so I present the new/moved/re-awarded Silverlight specific MVPs: Jeff Prosise – If you aren’t subscribed to Jeff’s blog, stop and do so now.  It’s filled with some great nuggest that are usually on the advanced ‘how’d he do that’ side...

Deploying your Silverlight and WCF RIA Services application

UPDATE: Please read the updated information on RIA Services deployment and troubleshooting on MSDN.. So you’ve been playing around with Silverlight and WCF RIA Services (the artist formerly known as .NET RIA Services) and you are ready to deploy.  You’ve been living in your happy Visual Studio environment, perhaps even relying on the built-in web server (a.k.a. Cassini) to serve up your pages/XAP to test.  All has been well, you’ve done your testing and you are ready to publish to your server.  You compile one last time and then right-click in Visual Studio on the web project and click Publish.  You...

Using Azure as a Silverlight Streaming replacement

Many have inquired if Silverlight Live Streaming had a replacement since the announcement of it being deprecated.  The SLS team blog pointed to Azure as a possible solution.  Since it doesn’t seem like anyone except James has really tried this, I decided to dust off my Azure account information and give it a try. First, a note about SLS.  As I’ve said before I don’t think the offering was named very well from the start.  “Streaming” implies a specific technical connotation to most folks.  In fact, the media (or other files) hosted on SLS were never streamed as you...

Building extensible Silverlight applications with MEF

At PDC09, Glenn Block delivered a great presentation on building extensible RIAs using the Managed Extensibility Framework (FT24 from the PDC09 sessions).  Glenn is one of the PMs and face-man for MEF.  He’s been traveling all around singing the praises of MEF for .NET developers and gathering feedback along the way.  You may remember Glenn from his work with the Prism framework as well.  I snagged Glenn at the end of PDC to grab a sound-byte: Glenn has already started a series on MEF in Silverlight starting with the basics and then continuing along deeper. ...

Silverlight 4 NotificationWindow and Queuing multiple notifications

One of the cool features for Silverlight 4 Out-of-browser applications that was announced as a part of the Silverlight 4 beta release is the NotificationWindow class.  Most commonly referred to as “toast” these are the little notifications that popup in the system areas of your operating system to provide helpful (and sometimes annoying) information.  Any user of Microsoft Outlook no doubt has seen them.  They look something like this (Windows system tray area shown here): After reading Corey’s post showing a quick FAQ on customizing the experience of the NotificationWindow, I was drawn to the comment he...

Fixing Visual Studio 2010 and Blend Preview for .NET 4 integration

If you’ve been working with Visual Studio 2008, Expression Blend 3 and Silverlight (or WPF) development, you’ve likely used the Open in Expression Blend feature in Visual Studio.  This occurs when you right-click on a XAML file in your project/solution and you’ll see that option as long as you have Expression Blend 3 installed. Well…if you are an eager developer and have installed VS2010 and the Blend Preview for .NET 4, you may have noticed that integration broken. Problem 1: VS2010 and Blend Preview for .NET 4 on a clean box – NO LINK You’ve just fired up a new virtual PC or...

RIA Services templates not showing in Visual Studio 2010?

Last week, the Silverlight 4 beta release included the Silverlight 4 Tools for Visual Studio 2010.  This single installer would perform the following (assuming you had either Visual Studio 2010 or Visual Web Developer Express 2010 already installed: Install a Visual Studio 2010 service pack (KB976272) Install Silverlight 4 Windows developer runtime (4.0.1108.0) Install Silverlight 4 SDK Install WCF RIA Services (November 2009) That is all you really needed.  But some may have had an experience afterwards of launching VS2010 and...

Microsoft PDC09 and Silverlight Round-up

Well, PDC09 is over and it was a blast.  What a relief it is to finally be able to show the world what the Silverlight team has been working on since Silverlight 3.  Based on the feedback at the conference, people are excited to dig into the new bits and start building solutions.  As a round-up of resources from PDC, I’m putting some of my favorites here. Video Content For some of the PDC09 key Silverlight sessions, these are what I recommend: CL01 – Microsoft Silverlight 4 Overview (Karen Corby) ...

Silverlight 4 Beta – A guide to the new features

At the Microsoft Professional Developer (PDC) conference, Scott Guthrie announced the availability of Silverlight 4 Beta. UPDATE (March 2010): Silverlight 4 RC made available!  Go read my updated post on what has changed after you read below about the core features. WHAT?! That’s right, we’ve released an early beta of the next version of Silverlight.  It’s really amazing to think what the team is accomplishing at the pace they are accomplishing it!  Silverlight 3 released just over 3 months ago and here we are with yet another release full of features that our community has been asking for.  This beta release...

Two Silverlight SDKs released – Bing and Facebook

Two SDK libraries have released this week, helping developers integrate Silverlight experiences into their applications. Bing Maps Silverlight Control At TechEd Europe, the Bing Maps team released version 1.0 of the official Bing Maps Silverlight Control!  This is a replacement for the previous Virtual Earth Javascript control and provides a great DeepZoom experience for using the mapping platform.  Here’s some of the great features for Silverlight developers: Built on Silverlight 3! Designer support for Expression Blend Support for out-of-browser Vector in Pushpin...

Design feedback for Silverlight needed

The user experience team for Silverlight is looking to get some feedback on some of their latest designs for Silverlight application templates and perhaps more.  Instead of getting this feedback only internally, I thought it would be good to help them get external feedback as well from people using our platforms. You don’t have to go anywhere and don’t have to leave the comfort of your own home.  They’d like about 30-45 minutes of your time online to talk and take a look at things.  You’ll be an early previewer of these designs and can help shape how developers and designers...

The Underground at PDC

PDC is coming…it’s only a few weeks away.  Are you going?  I am and I couldn’t be more excited.  I’m coming in Sunday and helping with a workshop on Monday.  Then the rest of the week will likely be a blur. If you are going (and even if you aren’t), there is one party you will not want to miss.  Last year "The Underground @ PDC” was a great party and gathering of geeks.  The Gu, Scott Guthrie, was there.  As was Don Box and Scott Hanselman dishing out the geek humor and flames toward one another.  It was great.  And...

Grouping data in a Silverlight DataGrid

I previously wrote about DataGrid grouping using the declarative model of adding GroupDescriptors.  Unfortunately that feature (the declarative part) never made it to the release of Silverlight 3.  It was pointed out to me that I should update that post and it has been on my //TODO list for a while.  Here’s an update… First, I’m still using a sample data class of Person as my test data: 1: using System.Collections.Generic; 2:  3: namespace...

Silverlight Audio Player for WordPress

As a follow-up to my Silverlight For WordPress plugin, I have just deployed Mark Heath’s Silverlight Audio Player as a WordPress plugin.  Thanks to Mark for changing his license to Ms-PL so that I could make this happen.  If you are a WordPress user and want to use Silverlight for audio playback, you use some WordPress macro language (in this case slaudio) and put it in.  The rendered output is like this: And when you click the play button it expands: Again, most of the actual Silverlight work is Mark’s, so be sure to...

Using Visual Studio 2010 for Silverlight development

Previously I made note of things about the release of Visual Studio 2010 beta 2 with regard to Silverlight development.  I’ve gotten a few questions about if people should start using it for Silverlight development.  Perhaps I can help provide you with the best information I can to make that decision…so here it goes. Go-live support Visual Studio 2010 and .NET Framework 4 both have “go-live” support as indicated in the license terms (which are available on the VS2010 download).  If you have never bothered yourself with previous go-live products at Microsoft you may not understand what that...

Silverlight Toolkit adds DragDrop targets!

One of the cool things I came across the in the October 2009 Silverlight Toolkit release was the addition of drag-n-drop targets for some of the core controls.  Now I know you are thinking great, another drag-n-drop useless control?!? and you’d be wrong.  I’m talking about things that make it easy to do do things like moving items from one list box to another, without writing code, but with it actually doing what you expect. Let’s take the simplest example here: ListBox and moving items from one to another.  Using Expression Blend I’ve set up my XAML to be like this: ...

A plea to my developer brethren about designer/designers

Since we appear to be in another revolution on user interface (UI) design and user experience (UX), I’ve seen a lot of people, companies, sites refer to the designer-developer workflow, including Microsoft.  Heck we’re building tools around it for Silverlight and WPF development!  One thing I see too often though is the conversation being diminished to UI only.  I’ve heard conversations between developers saying things like yeah, now we just need a designer to make things look pretty or we take what the designer made pretty and put functionality behind it. I have a plea for my developer brethren: please stop...

Visual Studio 2010 Beta 2 and Silverlight updates

Today (19 Oct 2009) the Visual Studio team released the second beta for Visual Studio 2010 to the public.  This is a significant milestone for the team and a huge improvement over the previous beta in my opinion as a user.  As a developer, you can find out how/when you can download Visual Studio 2010 and .NET Framework 4 beta 2 from here. After installing the tools, one thing you may notice right away is a different look of branding of Visual Studio going forward for now.  Gone is the beloved multi-colored infinity looking thing (that’s what I call...

Silverlight Live Streaming service update

Yesterday, the Silverlight Live Streaming team (SLS) posted an update on their blog regarding the future of the Silverlight Streaming by Windows Live service. SLS was a beta service to users to have a place to host and deliver their Silverlight-based applications or media to be delivered by Silverlight players.  It was launched at the time of Silverlight 2 as a free beta service to users under the Windows Live brand and offered 10GB of free storage to beta users. In summary, the SLS service is being discontinued.  Effective immediately no new account...

Updated Silverlight getting started for beginners

If you’re a pro Silverlight developer, this post isn’t for you.  Just a brief update that I’ve updated some of our getting started material for beginners – those who really haven’t done anything.  These will be showing up on the Silverlight Community Site soon, but I wanted to post a link to it here first. Getting Started with Silverlight Development is a 7-part series where I aim to do my best in trying to stuff as much as possible about Silverlight development in a simple application we develop at different steps.  It uses: Navigation ...

Changing DatePicker in Silverlight to show current date

This past weekend during a conversation about Silverlight controls at the San Diego Silverlight Education Day, someone asked about the DatePicker control and why the “15” is there and how come they can’t change it.  Here’s the control that was being referred to: The calendar displays an icon to the right of the text box area which, when clicked, displays a drop-down calendar picker.  The icon always says “15” and is intended to look like a little calendar date sheet (you know, like those desk calendars). The question was how to change that icon.  Well, easily. ...

Congratulations to Q3 NEW Silverlight MVPs

Just a quick shout-out to congratulate the latest Silverlight MVPs to the program.  The Microsoft MVP (Most Valuable Professional) program is a recognition program that is in place to recognize and reward those individuals who have been identified by individuals (peers, Microsoft staff, etc.) as experts in their technology field and global contributors to the technology.  As of today (01 OCT 2009) we welcome some new folks to the Silverlight group: Rick Barraza (@rickbarraza)– wicked interactive design/developer with kung-fu XAML skillz Bryant Likes (@bryantlikes)– great contributor to the...

Visual Studio – A documentary

Most of you who are Microsoft developers probably are aware of Channel 9 and have benefited both from the deep technical screencasts to the behind-the-scenes interviews that the team has provided with such luminaries as Anders Hejlsberg, Scott Guthrie, Bill Gates, etc.  Tina Summerford and the C9 crew produced what I feel is one of (dare I say number one?) the best Channel 9 pieces of content yet (besides the ScottGu intro video for MIX09).  Today they present to you The Visual Studio Documentary in two parts (with full detailed interviews to be posted later).  You can view...

Silverlight Firestarter Seattle videos online

Mithun just posted that the videos are now available online from the Silverlight Firestarter Seattle event.  You can view the videos here in WMV form, but I also took a quick stab at putting them together in a playlist using the Silverlight Expression Encoder templates.  Here they are: You can click the little icon in the upper right to see the playlist option and to navigate.  NOTE: The offline mode doesn’t seem to work and likely because I didn’t populate the playlist option with the sizes of the videos, sorry about that,...

It’s Silverlight week in Seattle

I’m a little late to the game posting information about it, but there is a plethora of Silverlight stuff to do this week in the Seattle/Redmond area this week.  Sleepless in Seattle…definitely not – Silverlight in Seattle baby! Allow me to interpret Adam’s vector goods… 14 Sep (tonight!): Jesse Liberty is presenting at the .NET DA user group meeting on .NET RIA Services. 15 Sep: Nerd Dinner!!!  Just a casual gathering of people who speak in acronyms and like food.  Bellevue Crossroads food court (awesome choices for anyone). ...

Army of One…and Silverlight

Just doing some getting caught up from my holiday recently and I was reminded of a “line of business” application that was completed in Silverlight for the United States Army.  It is a bit of a supply chain management application…where the supply is soldiers! This is a pretty cool application that was taken from a full client (Windows Forms) application and brought to Silverlight by ProModel.  They specialize in supply and demand issues.  Take a look at the interview/demo that Adam Kinney did with Dan Hickman of ProModel.  Sure, it would have been cool to have a drill sergeant...

Silverlight feature suggestions

I’ve been doing a lot of asking and listening lately…to you, the Silverlight developers!  I’ve received a lot of positive feedback and “thank you for asking” comments and it has been real encouraging.  If you haven’t seen some of them, here’s some of my recent inquiries: Do you have a need to convert Flash applications (not just assets, but ActionScript)? How do you prefer to learn Silverlight (and how do you decide on choosing Silverlight)? Are you using the provided Silverlight Toolkit themes in your applications? If you...

How you chose and learned Silverlight

A few of us in the Silverlight team have been talking about various things and speculating on how we think the universe works.  We’ve been wondering how people best learn at different levels and how they come to decisions on what tools of their trade to use, etc.  I had a novel idea – let’s ask them.  I’m curious if you might help us stop speculating and get a broad picture of these ideas.  If you would, that would be great and help us understand better where we need to fight for prioritization of certain resources.  Please forward this along...

Compiling pixel shaders for Silverlight

I saw a note on Twitter come through yesterday about building pixel shaders for Silverlight in Visual Studio.  The question, from @blamborn was: Does anyone know if there is a Shader Effects BuildTask like the #WPF one here http://bit.ly/gCkNT only for #Silverlight? I replied that you can use the same build task and thought I had written my work around on how to do that, but apparently I never clicked published somewhere along the line.  I recall doing some work for this for a presentation a while back on VSLive and started to write...

Silverlight minor update released today

Small public service announcement here for Silverlight developers…we released a minor update to the runtime and SDK today.  You may see this referred to as Silverlight 3 GDR2.  Formally it is version 3.0.40818.0.  Usually when a release pops up people are curious about what is in it and why there wasn’t some major announcement. NOTE: “GDR” is Microsoft-speak for general distribution release. If you are interested in the full release history for Silverlight it is always available online (click the deployment section).  This latest minor release really had several updates for improving some media and network scenarios, but namely the main driver...

Help drive VS/Silverlight user experience

One of my colleagues, Corrina, pointed me today to some research her team is conducting on user experience with Visual Studio and Silverlight.  From her post today, …that my co-workers on the Visual Studio User Experience Team are doing focused on professional and non-professional web/application developers. The research involves… A short survey A telephone interview to discuss your development experiences A gratuity will be offered to individuals selected to participate in the telephone interview,...

Silverlight community samples – what do you want?

I normally hate short posts – but my friend John Papa put a poll up that I wanted to make sure gets some attention…please provide your opinion on this poll: What kinds of samples would you most like to see in a community Silverlight code sharing site? Help John out shape something useful! tags: silverlight, riaservices, ria, xaml, communityThis work is licensed under a Creative Commons Attribution By license.

Silverlight and localizing string data

While I was at the Silverlight Atlanta Firestarter event I had a chance to meet some great people.  One of them was Sergey Barskiy.  Sergey was doing a session on deployment and while in the speaker area we were chatting about overall feedback on Silverlight.  One of the things he mentioned was what he thought was a bug in Visual Studio Tools for Silverlight.  It was around RESX files and the modifier setting (Internal, Public, etc.).  More on that later.  Sergey was using RESX files for localization.  While investigating the bug for him, I realized how many people might not...

Silverlight misconceptions, bad reviews, bad comparisons

UPDATE: Michael has posted a comment here and offered himself up to the gauntlet and apologized for his article.  He writes below: Tim did me a favor with this article, and his comments on Connected Internet. I have left the article up on Connected, because frankly, I deserve the lumps I get over it. Anyone who has spent more than 5 minutes talking with me, reading this blog, or listening to me on podcasts (Herding Code, Thirsty Developer, Misfit Geek) will know that I LOVE Microsoft.  I’m not ashamed to admit it and I’m not ashamed about my passion for the company...

More Silverlight application themes and fixes

When Silverlight 3 launched, we also published several additional application themes for the navigation and business application (for .NET RIA Services) templates.  I just uploaded two more themes from one of our designers, Corrina, to the Expression Gallery.  There are versions for both navigation application template as well as the .NET RIA Services business application template. Mediterranean Sun (RIA Services): Seeing Sound (RIA Services): Additionally, several fixes were made to the existing templates that some users reported.  I also added .NET RIA Services templates for those that were missing based on requests (Retro,...

Upcoming Silverlight events

I have the pleasure of being invited to participate in two Silverlight events coming up soon (one very soon).  These are a part of a “firestarter” event that is intended to get you familiar with certain technologies, in this case Silverlight, rather quickly and gain a better understanding for the overall platform offerings.  I’m excited to have been invited to participate in both the Atlanta and Seattle events. Silverlight Firestarter Atlanta The first one will be in Atlanta, Georgia on 22-August!  It’s been quite some time since I’ve been to Atlanta and I’m very happy to be going...

An out-of-browser install pattern for Silverlight

One of the features that a lot of developers seem to enjoy is the out-of-browser feature in Silverlight.  This is the feature that allows you to take your Silverlight application and run it like a desktop application (without some of the trust levels right now).  If you aren’t familiar with the feature, take a moment and familiarize yourself with it…here’s some info: Silverlight 3 Out of Browser developer APIs Sample Application Feature overview (from the PM that owns the feature) Now that you have some...

Silverlight 3 “toast” notifications

I was messing around with a new internal application the other day and made a wise crack about some of the features out in the open.  And by wise-crack, I mean ‘feedback in the nicest way possible’ of course.  On one of my suggestions someone pointed out a RTFM moment that the feature was actually in there but had a dependency.  The feature I was requesting was “toast” notifications. What is “toast”?  Aside from a delicious breakfast treat, it’s a term that most people refer to those little notification windows that popup from applications in the Windows system tray. ...

Silverlight DataForm and confirming deleting an item

I was talking with a good friend the other day about some feedback about DataForm.  It’s great to get raw and honest feedback…that’s where you improve more than ‘it sucks’ type feedback.  One of the use cases he felt would be common with the Silverlight DataForm control (available in the Silverlight Toolkit) was the concept of confirming the delete action.  I agreed as well that confirming permanent delete actions is a common line-of-business application pattern.  It got me thinking about some things… The Problem DataForm is a great control.  I love it.  It will benefit many developers in...

Silverlight at Microsoft PDC09 – we will be there!

It’s getting to be that time of year again…PDC!!!  For those who may not know, “PDC” is the beloved TLA for Microsoft’s Professional Developer Conference.  This is it.  The geeks conference.  If you are a bit twiddler, this is for you.  PDC is where most of the forward-looking stuff is revealed.  It is also where certain executives come out for their semi-annual keynote ;-). PDC is in their 14th year!  Amazing.  The conference, held at the Los Angeles Convention Center from 17-19 NOV (with pre-cons happening on 16-NOV), will be awesome.  Learn about new stuff, see things...

TabStudio add-in for Visual Studio

I came across this add-in for Visual Studio the other day that is subtle but added some productivity features to Visual Studio for me.  It’s called Tabs Studio. NOTE: I’m not getting a complimentary license for this add-in and have already purchased my own license with my own money.  This is an unsolicited opinion. For me Tabs Studio does two things: organize my open content better and enables me to more quickly close/manage the open tabs.  Take a look at the before after of the same content open in VS: In...

Silverlight 3 Multi-touch: The Basics

One of the new features to Silverlight 3 is the ability to add multi-touch capabilities to your application.  When I posed the question on Twitter, I got some responses of ideas people would use this for.  Honestly most of them could be accomplished with mouse events today and X/Y calculations.  These would be the touch applications that are pretty singular.  But I did get some multi-touch ideas that I think I’ll try to explore.  First though, let’s look at the basics of what Silverlight provides for multi-touch application development. Hardware Hopefully I’m stating the obvious here, but your...

FloatableWindow source on CodePlex

I got enough feedback and suggestions that I figured it would be better just to put the code up on CodePlex rather than package zips on my blog :-).  Here it is: FloatableWindow project.  The latest build I have is up there which incorporates some feedback that I’ve received. UPDATE: If you like this idea VOTE FOR IT in the Silverlight Toolkit! Basically the ShowDialog() API operates the same way that ChildWindow.Show() does today.  No changes there, popup is used.  But when you just want some simple MDI type windows, use Show() which will not use Popup but rather add the elements...

Silverlight 3 Bouncing plane gratuitous demo

I’ve received a few emails about updated code for the Scott Guthrie MIX09 keynote demo referred to as “bouncing plane” Silverlight demo.  A screenshot of this demo is seen here to refresh your memory: There really isn’t anything ‘new’ about this demo code for SL3, other than being recompiled.  Perhaps the only real change is to accommodate the new requirement that pixel shaders are resources of the project.  You’ll see the Effect1.cs code file where the constructor code for the shaders uses: 1: pixelShader = new PixelShader(); 2: pixelShader.UriSource = new Uri("/BouncingPlane;component/ShaderBytecode/Ripple.fx.ps", UriKind.Relative); If you are writing shaders,...

Building Silverlight 2 and 3 applications with Visual Studio 2008

As we’ve noted before, Visual Studio 2008 doesn’t have multi-targeting support for Silverlight development.  Generally speaking what this means is that if you install the Silverlight 3 tools, you have a Silverlight 3 development environment with VS2008.  True multi-targeting for Silverlight in the IDE will come in Visual Studio 2010 (you can see how that works in this post). NOTE: Visual Studio 2010 beta 1 (current version available at the time of this writing) does not fully support Silverlight 3 *release version* (also referred to ‘RTM’ or ‘RTW’) development.  There are a few things missing in VS10 beta 1 for full...

Silverlight 3: Cached Assemblies and you can to!

One of the new features I mentioned in my What’s new/changed post on Silverlight 3 is the fact that any application developer can take advantage of the cached assembly functionality provided by Silverlight.  Let me show you how and start with the current situation. Current Situation with Silverlight assembly references If you are building a Silverlight application, chances are you are referencing assemblies either from the SDK, Silverlight Toolkit or other great Silverlight third party controls/frameworks.  When you Add Reference to these controls/frameworks, their assembly is copied to your application and packaged up in your XAP.  For some situations this is fine...

Silverlight 3 Released! What is new/changed?

At last, Silverlight 3 is released!  It has been a long road…wait a minute, actually it’s only been 8 months since the last release!  Whoa, that’s some wicked supersonic Microsoft time there!  Anyhow, we are finally released.  A while back I wrote a post on What’s New in Silverlight 3 and it still all applies.  I’d encourage you to read that post as well.  There are, of course, some subtle changes in a few things from an implementation side of things, but those are all documented in the release. Here’s where you go to get the exhaustive goods.  First...

Silverlight 3: 7 additional application themes!

With the Silverlight 3 Tools for Visual Studio, developers get access to the Silverlight Navigation Application template.  By default the styles (which are located in the project’s Assets/Styles.xaml file) are really good and neutral for the application layout.  Now, keep in mind this is an overall application layout style and not control styles/templates. In addition to the default look provided by the tools out of the box with Silverlight 3, we’re providing 7 additional application template themes for you to enjoy, extend, whatever.  Corrina and team had developed these for the community to consume and we’ve put them up on the...

Silverlight FloatableWindow update: start position and resizable

UPDATE: FloatableWindow is now on CodePlex for easier community contributions and management of latest source and builds.  FloatableWindow CodePlex Project. If you like this idea VOTE FOR IT in the Silverlight Toolkit! A while back I wrote a post where I refactored the Silverlight ChildWindow to create a non-modal window and I called it FloatableWindow (you can see why I’m not a good marketer…hey I could have called it Microsoft Silverlight ChildWindow Refactored Edition Express).  A few folks found it useful, for which I’m appreciative of the comments. My buddy Karl Shifflett decided to use it in Glimpse as the diagnostic window –...

Silverlight Coding Competition – win USD $10,000!

I was honored to be asked by ComponentArt to participate in a judging panel for their just now released 2009 Summer Silverlight Coding Competition.  The grand prize is USD $10,000.  Yes, that’s right: USD $10,000! ComponentArt is even kicking in 2 runner-up prizes of licensing to their products, which is also a sweet deal!  The contest is simple, and you are not required to use ComponentArt controls…in their words: Applicants are not required to use ComponentArt's products to enter the competition (or as the legal jargon requires us to say: NO PURCHASE NECESSARY). We'll obviously let you use our products...

.NET RIA Services roadmap update

Today, we posted on the .NET RIA Services forum an updated roadmap for the timing and thoughts around the product offering.  What is .NET RIA Services? Microsoft .NET RIA Services simplifies the traditional n-tier application pattern by bringing together the ASP.NET and Silverlight platforms. The RIA Services provides a pattern to write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. It also provides end-to-end support for common tasks such as data validation, authentication and roles by integrating with Silverlight components on the...

Check your Silverlight 2 apps for compatibility with Silverlight 3

One of the goals of new versions of Silverlight is to be be backward compatible with previous versions.  We make this a priority goal so that people can keep their previous applications deployed while not worrying that people with newer Silverlight will have a broken experience. Silverlight 3 has been out in beta form since March 2009 and hopefully if you are a Silverlight developer you’ve had a chance to work with the new features and tools.  If you have existing Silverlight 2 applications that are deployed, I wanted to draw your attention to some action items if you...

Google Wave: the sky is falling and Flash/Silverlight are dead

At the Google I/O conference this past week, they announced Google Wave.  Almost immediately, I started seeing Twitter replies, blog posts and various articles talking about how Google Wave is going to kill Flash/Silverlight/JavaFX.  None of these made sense to me…and at that point I’d yet to see anything about Wave anyway.  I posed a few questions on Twitter as to why people felt Wave was an RIA platform killer (that’s what I was reading into a lot of the buzz against things like Silverlight).  I got more confused with all the replies :-).  So I had a moment this...

Silverlight DataForm helpers

If you looked at the updated RIA Services Business Application template which had the authentication built-in, you may have seen the login screen with a little icon next to the password field: When you hover over this some helpful information displays in tool tip form: So how did that get there?  The power of the data annotations.  If you look at your model definition, you can add a DisplayAttribute and provide some additional information.  Let’s take a look at a simple example.  Here’s the simple model: ...

Clearing some air in Silverlight, Blend and Visual Studio Beta land

In a previous post I wanted to call attention to the multi-targeting and design surface improvements for Silverlight developers with Visual Studio 2010 Beta 1.  There has been some comments on that post and a few emails and Twitter replies as well with some great follow-up questions.  I thought I’d post a sort of what works with what information to help you navigate Betaville as a Silverlight developer. NOTE: We’re talking about Beta technologies here.  That means things may not work, that you shouldn’t count on them for production releases at this time, etc.  In the ‘release...

Silverlight and Visual Studio 2010 Beta 1

Well today was the public release of Visual Studio 2010 Beta 1.  It is the first time developers will have the chance to take it for a spin and kick the tires.  I wanted to share some information specific for Silverlight developers with regard to Visual Studio 2010 Beta 1. Visual Studio 2010 is the first IDE that will support two key features for Silverlight developers: multi-targeted Silverlight development and editable design surface for Silverlight.  The second point also comes with things you might expect (like data binding wizards and dialogs as well – I’m lumping all of that...

Silverlight powers Netflix in Media Center

I’ve not hidden my love affair for Netflix both as a consumer and as a Silverlight developer and how they’ve implemented the technology.  Long before the instant watch came to the desktop and the XBOX, there were a lot of folks wanting the Netflix experience on their Windows Media Center boxes and extenders.  One such person was Anthony Park (who is now with Netflix as of this writing), who picked up a the MyNetflix media center plugin a while back. Well, today Netflix officially has a Media Center solution for their customers.  I just got done firing my media...

.NET RIA Services Update with new Silverlight project template

We’ve update the .NET RIA Services build for May 2009.  The updated May preview can be downloaded here: .NET RIA Services May 2009.  You may have to uninstall your previous version before installing this one.  What is .NET RIA Services? Microsoft .NET RIA Services simplifies the traditional n-tier application pattern by bringing together the ASP.NET and Silverlight platforms. The RIA Services provides a pattern to write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. It also provides end-to-end support...

Silverlight Best of MIX in Phoenix

I’ll be joining Dan Wahlin and Rob Bagby on 18 May in Phoenix for a Best of MIX event.  I’ll be presenting Silverlight 3 and building data-driven line-of-business applications.  All demo, all tech, all Visual Studio as my presentation tool :-). Come out and join us for the event! Best of MIX Agenda Monday, May 18, 2009 1:00 PM - 5:00 PM Wells Fargo Conference Center 100 West Washington Street, MAC S4101-017 Phoenix Arizona 85003 What’s New in Silverlight 3? ...

Silverlight Enterprise Deployment Guidance

We’ve just released an update to our Silverlight Enterprise Deployment guidance/whitepaper.  While a lot of the information from the first version of the guidance (targeted at Silverlight 1.0), we made some minor adjustments outlining the specifics for the updated Silverlight installer and documented some of the command-switches and their behaviors.  The guidance covers: Using Windows Software Update Services (WSUS) Group policy Microsoft System Center Configuration Manager (SCCM) Manual install options Maintaining and detecting version It’s a great guidance document to...

Refactoring Silverlight ChildWindow for a non-modal use

UPDATE: FloatableWindow is now on CodePlex for easier community contributions and management of latest source and builds.  FloatableWindow CodePlex Project.  If you like this idea VOTE FOR IT in the Silverlight Toolkit! I’ve seen a few comments/requests incoming lately that people like the ChildWindow control in the Silverlight 3 SDK.  This is a great control that creates a modal dialog for you.  When you use it, it disables your root layout application and shows the dialog you provide: This is great for those true modal needs.  It responds to normal windows DialogResult type responses if you have buttons, etc. – great...

Silverlight Contest app updated with new RadialPanel

Isn’t RSS great!?  Today I saw something wonderful pop in the feed from Jeff Prosise.  One of the problems with the ‘contest wheel’ app that Arturo and I did, was the CircularPanel we were using really at the time was only built for demo purposes.  There were issues in the spacing when different data items were bound to it. This morning, Jeff released some code for a RadialPanel (same concept).  It’s wonderful.  I just swapped it out for the contest app quickly and got it working.  I’ve updated the code: Replaced panel with Jeff’s code...

Expression for Art’s Sake – Silverlight and Blend in Wellington, New Zealand

What do you get when you invite 14 companies for 3 1/2 days and throw a bunch of new stuff in their face and ask them to use it?  Well, in Wellington, it was called Expression for Art’s Sake.  This was a bit of an ‘artist in residency’ program where Microsoft invited some companies to bring their developer and designer staff to this event to learn a little bit about Expression Blend and Silverlight.  Coming after WEB09 and ending our Auckland trip with a proper visit to a rugby game (here’s a scrum meeting for you agile developers),...

WEB09 – Silverlight and Blend in Auckland, New Zealand

I’ve just returned this past week from a trip to New Zealand with Arturo Toledo.  We were invited to come by Nigel Parker, who if you live in New Zealand and don’t know him…take a moment and subscribe to his site for information about what’s happening in that area. Our first stop in New Zealand was the WEB09 conference, which was organized by John Ballinger.  Prior to the actual conference, John managed to get all the speakers together for a reception and then a dinner afterwards.  Within those 4 or so hours of time, I’ve met more...

Paste your REST API definition as strong types

If your a developer that spends any time with web services, you’ll basically probably end up working in one of two camps: REST- or SOAP-based services.  Now with SOAP services you’re likely used to having a WSDL document describing the service, providing type definitions, etc. – something you can use developer tools like Visual Studio to Add Service Reference and get a strongly-typed object model to work with. If you’ve been doing Silverlight or ASP.NET (or any other technology really) development with mashup services, you probably have been working with REST-based services.  These are services that don’t self-describe themselves in...

Arizona: Silverlight, MVC, MEF, WPF

It’s that time of year my friends in Arizona.  No, I’m not talking about when the air conditioners start get turned on, nor how the golf green fee rates are reduced or the snowbirds fly away…although those are good things as well. I’m talking geek fest time.  Mark your calendars: 26 May 2009 – 8:00 AM The community leaders in the area have organized another big event for your benefit.  So who is coming?  Here’s the rundown: Glenn Block – come see why you should get addicted to MEF.  Don’t know what it is?  That’s...

Silverlight installation experience guidance posted

I’ve been promising this for a while and I’ve ranted about creating good installation experiences for Silverlight applications before as well here and here.  Well, our team rallied and created some new guidance and sample code to provide for you to implement the best possible experience.  The guidance whitepaper can be found on the Silverlight Community Site in the whitepapers section and includes: Documentation for defining a good user experience Sample code for media applications Sample code for non-media applications Sample code for implementing various states: not...

Grouping data in Silverlight DataGrid

UPDATED: If you found this post via a search, the below information was for Silverlight 3 beta and no longer works in Silverlight 3 release.  Click here for an updated tutorial on grouping in the Silverlight DataGrid for Silverlight 3. I got this question on how do you add grouping to the DataGrid in Silverlight without using the RIA Services ObjectDataSource.  Frankly I didn’t know off the top of my head either and I’ve since learned it isn’t obvious.  Allow me to explain the steps. In my simple app I have a static class that supplies some hard-coded data: 1:...

Startups welcome here – get a jumpstart with software you need

Are you a startup organization?  Perhaps your the next greatest Silverlight control vendor or have a great app?  I want to help.  If you’re a Silverlight startup (or any startup really for that matter), reach out to me.  If you haven’t heard of BizSpark yet, you’re potentially missing out. If you meet the following criteria: privately held company in business less than 3 years generate less than USD $1 million in revenue you may qualify to get access to production licenses for development tools,...

Managing Silverlight 3 navigation behavior

I’ve been playing around with the Silverlight 3 navigation framework some more (thanks for the comments/thoughts on the last post about sharing data).  I got a few emails about understanding how the navigation works and people coming up with interesting uses.  Let’s take a moment to explore two of these concepts: out-of-browser navigation and controlling your navigation in your app. Navigation Basics If you are using Visual Studio 2008 and the Silverlight 3 tools, you’ll notice that when you choose to create a new project (or perhaps you didn’t notice and this will be new to you) that...

Share DataContext among navigation pages in Silverlight 3

I got an email the other day about if there was a way to pass an object between the navigation pages in Silverlight 3.  The scenario was that the developer wanted to use the same data, but represent it visually in different ways. Silverlight 3 introduces a new navigation framework in the runtime making it easier to navigate to different areas of an application and assist in ‘deep linking’ concepts for applications.  More resources: Silverlight 3 Navigation Overview Silverlight 3 Navigation URI...

WEB09: Silverlight coming to Auckland!

In a few weeks I’ll be making the journey with Corrina and Arturo from ‘the states’ to Auckland, New Zealand for the WEB09 conference.  I’m honored to be joining some great folks like Ryan Stewart, Dan Rubin, Jarred Bishop and more.  I’m looking forward to learning a lot from this conference and having discussions about user experience and RIA development. The team at WEB09 released an introductory video for the conference and I must say, someone put a lot of effort into this video: WEB09 Intro Video I’m very much looking forward to my time at WEB09 and the time in New...

Silverlight for WordPress

I’ve made no hiding the fact that my blog is build on Subtext and that I’m very happy with it right now.  Lately though my wife has been blogging more (that’s another story) and she also started her own business.  Being curious about all the WordPress love, I decided to start checking it out. Thankfully, the Web Platform Installer helped me get started on WordPress without any troubles at all and I was up and running on my Windows server (I didn’t want to start another hosting account anywhere).  I have to say, I really like what WordPress has done, especially...

Silverlight 3 Beta install experience for users

If you are like any other developer, including me, you probably disregard most warnings and are usually the same type that keeps clicking next when installing things without paying attention to detail.  That’s okay I do it too. In the release of Silverlight 3 Beta, we noted that this is a developer release and that no “Go Live” licensing was going to be available for this release.  What this means is that we don’t recommend putting things in production as we’ve not exposed or wired up the end-user runtime for Silverlight 3.  The only way people can view Silverlight 3 content...

Silverlight 3: Navigation URI Routing

One of the new features in Silverlight 3 is providing an application navigation framework via the Frame and Page controls in the APIs.  If you saw my guide to Silverlight 3, you may have seen the section on navigation which describes the functionality and as well has a link to a video tutorial about it. I wanted to augment that tutorial with some additional information about URI routing, which I think is one of the great features of the framework.  You see typically your UriMapper might have a 1:1 mapping and look something like this (note in my sample here I’m...

Silverlight 3 Sample Application: Slidentity

One of the great things about the Silverlight team is that usually in the home stretch most of the feature samples of numerous ‘hello world’ type examples start shaping into creative ideas to demonstrate various features.  One such example is a full Silverlight 3 application that Mike Harsh created to actually demonstrate various features and it is what he used to present his session talk as well.  He currently calls it Slidentity and it demonstrates: Various skinned control usage Perspective 3D (when you view the slide show) Open/Save...

Silverlight 3 Out-of-browser Update Model

PLEASE READ UPDATE: While the API for checking for updates has changed, the update model *after* that method call to CheckAndDownloadUpdateAsync is the same as described below.  See this note for updates since this article to the Out-of-browser experiences. Wednesday at MIX09 was a great day.  I was exhausted, but after the keynote I was so high on excitement it was great.  Throughout the day Twitter was buzzing (or is it fizzing?) about all the news around Silverlight 3.  In one conversation around the out-of-browser experiences with Silverlight, I caught a conversation on Twitter about it with questions about the update...

A guide to Silverlight 3 new features

Well, by now the interwebs are getting busy with the news about Silverlight 3 details announced at MIX09.  The team has been hard at work (and still aren’t resting) pushing out this beta release.  Over the next week you’ll see lots of blog posts by team members and Silverlight MVPs who have been enthusiastically waiting to share what we’ve been working on and show you some sample applications they’ve been working on.  Quite frankly, so will I :-). But in the meantime, allow me to share my thoughts and perhaps some deeper details with you if you can’t discern them in...

Silverlight Smooth Streaming: UX Simulator

I’m sure you’ve heard of the IIS7 Smooth Streaming information and perhaps even experienced it if you watched some of the NBC Olympics streams last year or the Presidential Inauguration this past January.  It’s a great experience for online media being able to seamlessly deliver quality media online without constant buffering when latency occurs in networks you don’t control, such as your customers’ ISP accounts. You may have wanted to try out this experience yourself to see exactly what it does and how it works…as well as to simulate bad/good bandwidth.  Well, you can.  Here’s what you do: ...

Follow Silverlight updates on Twitter

I was just thinking the other day that I have some decent subscriber numbers here, but the same volume isn’t matched on my Twitter account.  For those who don’t know about Twitter, it’s a great short message service that kind of works like a global messaging system.  The best description I’ve heard has been: Twitter is like an ongoing conversation at a party.  Come in and listen/participate whenever you want with whomever you want.  Leave at your leisure.  Come back often if you’d like. I use Twitter to communicate along with friends, family and...

Silverlight Business Application Development faster with IdeaBlade

Okay, about a month ago I was shown this demonstration by my new favorite friend Ward Bell of IdeaBlade.  Why is he my new favorite friend?  Well besides being a great guy, wait till you see what he has to show you.  I briefly alluded to my excitement via Twitter as a teaser.  I previously mentioned that we saw some sneak peeks of Silverlight 3 added features for line-of-business application development with Brad Abrams.  Today, check out what Ward has to show you: I am...

Silverlight Sneak Peek: Building line-of-business with Silverlight

Want some sneak peeks at Silverlight enhancements for line-of-business applications?  Check out the video with Robert Hess and Brad Abrams where Brad shows some some sneak preview of some feature enhancements. If you want to download the episode above, visit the Channel 9 page here.  Be sure to stay tuned for MIX09 for more announcements and updates! tags: silverlight, lob, xaml, wpf, navigation, deep link, deep linkingThis work is licensed under a Creative Commons Attribution By license.

Silverlight Guidance: Whitepapers on SEO, Security, Media

Did you know that there are some whitepapers on Silverlight development?  Just recently released is one on security in Silverlight development and deployment.  You can view some others (some older, but there are still some gems): Security Guidance for Silverlight Applications Search Engine Optimization (SEO) for Silverlight Applications Silverlight and Web Analytics Content Protection Silverlight Migration Guide – Upgrading Online Media These can all be found on the Silverlight community site in the whitepapers section.  We’ll be...

Using Silverlight for workflow creation

The other day I was given a peek at a company who implemented a full-frame Silverlight application that when I saw it it was one of those “wow” moments.  A lot of the public-facing Silverlight examples are very different from one another and sometimes you see some that are full Silverlight applications that really give you a glimpse of how people are thinking about using the platform and how creative you can get.  Colaab is one such example that I saw at PDC last year (check it out if you haven’t). Another example is a recent one called SnapFlow. ...

New Silverlight media experience for WindowsClient.net

Our team is working on a new design for the Silverlight Community Site and one of those aspects includes a new media experience for the online media/video portions of the Silverlight, Windows Client, and ASP.NET sites.  Today we rolled out the new experience first on the Windows Client community site.  It’s a subtle update but hopefully a welcome one. The older experience was a basic playback experience and was a Silverlight 1.0 application.  This update brings a few new things, but primarily is a Silverlight 2 player with some fun features to engage the viewer.  We’ve added some new...

Get a free ticket to MIX09 for having fun with Silverlight

Did I mention I’m going to MIX?  Will I see you there?  I could imagine that some have tight travel budgets, training budgets shrunk, yada, yada.  I’m telling you…if you are a Microsoft developer in the web and WPF space, you need to be at MIX09.  In an effort to help there are a bunch of ways to reduce some costs…here’s some: Register before 27 Feb 2009 with RSVP code: MIXLastChance and get $300 off the registration fee Share a creative picture about Internet Explorer (details and post yours here) and get...

POLL: Silverlight developer patterns

My friend Joel Neubeck is doing a survey on his site about what patterns people prefer for Silverlight development.  I’m very interested in these results as well, so if you have 2 seconds, please post your vote: Link: Poll: What separation pattern do you prefer in Silverlight development? tags: silverlight, mvvm, mvc, mvp, xaml, wpf, patterns, m-v-vm, viewmodelThis work is licensed under a Creative Commons Attribution By license.

Integrating Silverlight and ASP.NET MVC

[previously named "Silverlight as the V in ASP.NET MVC" but changed per comments] One thing that I’m excited about is learning new technologies.  Moving to the Silverlight team, I’ve moved away from a breadth of technology knowledge to something a bit more narrow.  Now I feel like all other developers trying to keep up with the technologies we are releasing.  As such, I’m a beginner for most.  One such technology is ASP.NET MVC, which was just released to release candidate stability. I thought I’d play around with it in the context of Silverlight and use Silverlight as the “view” in the model-view-controller...

A comprehensive list to Silverlight Controls for developers

I’ve written a few times about some of the controls that have been provided by organizations like Telerik and ComponentOne.  I figured it would be a good idea to do a larger dump of those that I’m aware of (and hope you add comments to point me to others so I can amend this list) and help make you aware of them as well.  There are a ton of great resources out there for Silverlight developers and I’m always impressed how our developer partners are extending our platforms to make tools for developers (and most of the time better than...

Silverlight Docking and Ribbon controls

A company called divelements has had Windows Forms products for a while that produced, among other things, the “docking” effect that you see with some applications, including Visual Studio.  This is the ability to drag a window to another area and have it automatically dock to that particular position of the parent window: This product is also available for WPF and for Silverlight.  So if you need to add this type of dynamic window moving to your applications, you can check out the SandDock for Silverlight controls. What is great is that in looking at what else...

I’m going to MIX09, will I see you there?

I have to admit, when the first MIX was happening it confused me.  Yet another conference?  In my usual pessimistic self I tried to convince people that it was wrong, blah, blah.  But I was wrong.  MIX has become of of my favorite conferences to attend.  Not only for the announcements that likely happen, but for the networking with industry folks in an area I’m most passionate about. Enough gushing though.  I’m going to MIX09.  Will you be there?  If you register before 13 Feb 2009, you’ll be able to get $400 off the registration fees!  Register on the MIX09...

Updated SLS Plugin for Encoder Available

The Encoder team has updated their Silverlight Streaming (SLS) plugin for Expression Encoder 2.  On the surface pretty much nothing has changed, but it essentially updates the ability to use the plugin to publish Silverlight 2 templates to SLS automatically without getting the random error that you’ve probably seen if you tried. Since the new Silverlight 2 player templates are completely parameter-driven, which is awesome, it did present a small challenge for the plugin.  When you use the new plugin with a Silverlight 2 player template, you’ll notice that the resulting application uses a bootstrapping method to launch with...

Amazon S3 Publishing Plugin for Expression Encoder

One of the great things I like about some of our platform products is that they are building in extensibility more and more.  Take Windows Live Writer as an example.  It’s no secret on this blog that I’ve got a geek affair with that tool.  I use it daily and have customized it (via plugins) and my blogging platform (Subtext) to make it even more of a best experience for me for web authoring. Writing plugins for Writer has been a lot of fun and a great way to get the functionality I want/need into a workflow without having...

InitParams in Silverlight Live Streaming services

One of my favorite implementations is to leverage the initParams feature for the Silverlight plug-in.  This enables you to send parameters to your application prior to it starting up.  These parameters are in plain text and can be seen in the HTML source of your page, so obviously you wouldn’t want to include any sensitive information there like passwords, connection strings, etc., etc.  But it can be very helpful for re-using application logic while providing an configurable experience.  You can view a video demonstration of this and other methods of using initialization parameters on the Silverlight Community site here: Using...

Using Encoder 2 templates for existing media

In an email dialog today I saw someone asking how he could use an existing Encoder 2 template for existing media or streaming URIs when you don’t have something to encode.  After a few explanations, he replied that someone should blog this – and I agree :-). So what did he mean?  Well, when you use Expression Encoder, you are typically going to be encoding media to a format to consume.  Encoder also gives you an additional option in the output settings to generate a media player for that encoded content.  These are all based on templates that I’ve...

Source code for Silverlight controls published

The source code for the Silverlight 2 controls was just published!  This is the source for the controls as shipped in the runtime and the SDK.  When you download the project you’ll see the structure: The source, released under the Microsoft Public License (Ms-PL), includes the source for the following controls in the runtime: ButtonBase Button HyperlinkButton CheckBox RadioButton ToggleButton ...

Screencast of Silverlight installation on Linux

If you haven’t been aware, there has been a team at Novell working hard to make a version of Silverlight for Linux.  This version, called Moonlight, has been in development since WPF/e it was first shown at the MIX conference (which by the way is happening in March with some really exciting stuff, so be sure to register for MIX09!).  Moonlight hit beta this past December 2008 and the team has already been working on Moonlight 2 which is the Silverlight 2 compatible version. Right now, Moonlight 1.0 serves as a functional equivalent to the Silverlight 1.0 runtime, which...

SilverlightShow contest: Write and Win!

Got a great concept about Silverlight use, an application, utility, or just some knowledge you want to share but never had the place to put it?  The team at SilverlightShow have been having a contest they call Silverlight: Write and Win! and you can get some great Silverlight-related prizes such as Telerik and ComponentOne control licenses for Silverlight and WPF applications. You have to simply write an article about your concept (application, control, whatever) related to Silverlight 2 and provide the code (under an OSI approved license) and you’ll be entered – submit as many times as you want. ...

Hosting Silverlight content on a CDN

Over the holiday this past week I got a ping from Scott Cate about some Silverlight media questions, namely a player and Silverlight Streaming.  The gist of the conversation was that the Encoder 2 SP1 templates and the SLS Plugin don’t play nice together (yet).  I know that the team has been testing some updates to the plugin for uploading Silverlight 2 templates to SLS, but for now if you tried to do that you’ll get a random error message that won’t make sense to you (something along the lines of template not found). After talking with Scott and...

Deep Zoom style on iPhone – Seadragon for Mobile

Who, didn’t think I’d see “Microsoft Corporation” listed in the Apple AppStore for iPhone this quick.  Want to view gigapixel images on your iPhone?  The team at Live Labs just announced their approved iPhone App – Seadragon Mobile. So what is Seadragon?  it was the original Microsoft Research project that many products are now based on.  Most popular probably is the Deep Zoom technology brought first to Silverlight 2.  This is the process of taking gigapixel image and providing a smooth viewing experience viewing that image over even lower bandwidth speeds.  One of the most popular Deep...

Event (analytics) tracking in Silverlight

A few days ago Google announced “event tracking” for their Google Analytics platform.  My account was invited to participate in this initial wave so I decided to take a look.  The main reason of course is because of a keyword in their email they sent to me (emphasis mine): “Event Tracking allows you to track interactions with Web 2.0 style content such as Flash, AJAX, Silverlight, social networking apps, etc.” I have the script already running on my site for general analytics so I figured I’d whip up a quick sample to see how...

The Silverlight Application Corner

One of the things that we have heard in feedback is the need to surface more end-to-end samples.  While the atomic learning videos/samples are great as are more in-depth tutorials, there is still a desire to see how to package all these things up into a single application.  Seeing from start to finish helps absorb the learning process and see how these atomic things fit together and interoperate. Today we added the “application corner” to the Silverlight community site.  Yes, I know the name is less than exciting, but hey I’m not a super cool marketing person with unlimited...

Silverlight install experience best practices

First a word on the “continuum” I keep hearing about for applications.  I’d like to apply it to my digital lifestyle.  You know that vision where you only have one place to keep your music, but can access it anywhere, etc., etc.  I still haven’t hit nirvana like that yet, but for movie watching it’s getting close. I used to be a customer of Netflix when they first launched.  To be honest, at that time their pricing was singular and I just wasn’t watching enough movies at home to warrant the cost, so I ended my relationship.  Now I...

New Silverlight Showcases and Feeds

If you want some great Silverlight information, be sure to subscribe to at least two feeds: Microsoft Silverlight Bloggers and Silverlight community feeds.  I’ve recently just added a bunch of great feeds to both of these including all the members of the Silverlight Toolkit team and some Silverlight MVPs such as John Papa. There are also a bunch of resources being added to the Silverlight community site over the next month.  We also added 27 new showcase entries to the Silverlight Showcase on the site.  One in particular that I think is interesting is a project Gantt representation done...

Øredev 2008 Summary

Sharing Knowledge.  That was the theme of the Øredev conference held this past week in Malmö, Sweden.  I was invited this year to participate in this conference in the Scandanavian area to speak on Silverlight technologies.  I am very humbled to have been invited.  This was truly a great conference and let me tell you my impressions. I’ve attended Microsoft’s PDC, TechEd, VSLive, DevConnections, etc.  I’ve got most of them all under my belt (as an attendee).  They are all good in their own regard.  The ones that are most interesting, however, are those that have an intensity about...

WPF Toolkit and Silverlight compatibility

At PDC the WPF Tookit was made available which provides several new controls to WPF to help bring even more compatibility to the WPF and Silverlight story.  The new controls were the DatePicker, Calendar, DataGrid and the VisualStateManager concept to WPF.  Ribbon controls were also provided to the WPF Toolkit, but are not covered here. With the introduction of this toolkit, developers now have a way to get some even more common XAML code-base between projects. Let’s take a look at a very simple example of both UI and code sharing with WPF and Silverlight.  Here’s the simple...

Use Styles for an editable Silverlight ComboBox

Sometimes I think reading materials get overlooked in SDKs and we miss some hidden gems.  One such gem I’d like to bring to your attention is the ability to add some subtle styling to an AutoCompleteBox from the Silverlight Toolkit to provide you with a cheap version of an editable ComboBox. Sure Silverlight 2 has a ComboBox as part of the core controls now, but as I’ve previously noted, the ComboBox in current form exhibits only DropDownList behaviors.  I’m sure this will likely change with future versions, but if you have a need for an editable ComboBox feel, here’s...

Hey Startups – get some BizSpark

Remember DreamSpark, the program for students in higher education to get access to the developer tools and platforms from Microsoft at no charge?  How about some love for individuals in startup organizations trying to create the next great innovation in technology as a service, an application, some Silverlight love perhaps :-)? Done. A new program has just launched for startups.  From the site it is described as: Microsoft® BizSpark™ is a global program designed to help accelerate the success of early stage startups by providing key resources when they need it...

Silverlight 2 Launch Party in Portland

PDX baby.  That’s where I’m headed next week.  The Portland area user experience group (a SIG formed out of the Portland .NET user group) is hosting a Silverlight 2 launch party next week (11 NOV 2008).  They’ve invited me to attend and share some fun stuff about Silverlight 2.  I’m very excited to be going there because Portland is one of my favorite towns.  It has some of the best public transportation there and I think that makes for a great downtown experience and a lot of personality in the city. Aside from the city itself, there are some...

Using Encoder Templates in your Silverlight Application

I received a comment regarding the new Expression Encoder SP1 Silverlight player templates and how they can be used within your own application.  Right now the templates appear to stand on their own.  That’s only because the output of an Encoder action will be an encoded file, the template you chose (XAP) and an HTML page to host the Silverlight player application. But what if you already have an application and are trying to integrate media playback within it?  How can you take advantage of the Encoder templates, but just drop them in your existing application?  Let’s take a...

Using Silverlight AutoCompleteBox on custom types

The other day I wrote a simple little Silverlight application using a DataGrid to help navigate the TechEd DVD contents.  My code was admittedly quick and dirty.  I loaded up some data, and based on some events re-filtered and re-bound that data.  After thinking about it I am not sure why I didn’t just use some existing controls to help me do that work.  I found that AutoCompleteBox from the new Silverlight Toolkit would do this for me. One thing that the AutoCompleteBox does quickly is provide filtering for simple string data.  But what about custom types?  My data in the...

TechEd 2008 North America DVD Update

Thanks for all the feedback on the TechEd North America DVD issues with viewing the content once Silverlight 2 released.  In trying to do a good job providing a good user experience to viewing the content easily, the TechEd team created a Silverlight 2 Beta 2 player for the TechEd Online site as well as the offline DVD content. Obviously, when Silverlight 2 released and people installed the final version on their machines, the DVD Silverlight player stopped working and presented you with an “Install Silverlight” badge.  This was, of course, due to the use of Beta 2.  This doesn’t render...

Expression Encoder SP1 now available

Apparently “soon” means “the next day” to the Encoder team :-).  On 28 OCT James Clarke told us all about the goodness that is coming to Encoder SP1 and noted it would be available “real soon.” Little did we know he had already clicked the publish process to the download servers.  What are you waiting for, go start the download for Encoder SP1 and I’ll share my thoughts on some things here. What’s in it?  I’ll pick my favorites: New Silverlight output templates, H.264/AAC support and IIS7 smooth streaming support. H.264/AAC Device Encoding Support SP1...

Silverlight Tools RTW

UPDATED: See last paragraph about offline installation. Sorry for the short post, this is more of a public service announcement.  When the Silverlight 2 runtime shipped, we shipped the Visual Studio tools along with it.  The tools download was labeled “RC1” and caused some confusion.  There were some reasons for this, but regardless it still targeted the Silverlight 2 release runtime. Today we released the RTW (Releast To Web for those who are wondering what that means) of the tools.  There is no need to re-download the runtime or anything.  All you need to do is download the...

Silverlight Toolkit Released – More controls!

Today at Microsoft PDC, Scott Guthrie demonstrated some of the new controls that have been provided as a part of the Silverlight Toolkit.  The Silverlight Toolkit was what was previously named the Silverlight Control Pack in the press release when the runtime was released.  This toolkit provides a set of controls and themes for Silverlight 2.  In this initial release, they are: AutoCompleteBox Chart DockPanel ...

Silverlight 2 Watermarked TextBox Control

In the early days of Silverlight 2, one of the included controls was the WatermarkedTextBox.  In Beta 2 the control was removed from the runtime for among other things, WPF compatibility.  The control source code was made available for people to look at as it was referenced in a few projects, namely ScottGu’s Digg sample application.  There was hinting about future plans but nothing concrete.  Now that Silverlight 2 is released, the control is not there :-).  I’ve gotten enough requests about it that I wanted to provide some action for you.  First, let me say that there...

SilverlightContrib releases Silverlight 2 Controls

Last week I had the pleasure of talking with the crew from the Herding Code podcast.  Among the questions was one about the open source community and Silverlight.  There was mention about MVCContrib and how that community sprouted almost instantly with the ASP.NET MVC initial releases.  I let the Herding Code crew know that I believe there already is a vibrant open source community around Silverlight and pointed to things like DevExpress’ AgDataGrid control which is free and provides source.  I also mentioned a project that did start right away around Silverlight 2 initial releases: SilverlightContrib.  The project, started by...

Silverlight.net updated code samples

With the release of Silverlight 2 many people faced the task of ensuring their applications/code written targeting Beta 2 was upgraded to release.  The team at the Silverlight community site was no different.  We’ve updated almost all the content so far, but I wanted to draw your attention to a few things. Get Started – http://silverlight.net/GetStarted As noted on this page for those getting started, there are links to Scott Guthrie’s 8 part example of building a Digg client in Silverlight (and then using that code for a WPF desktop application).  Scott has updated his code, so that...

Honoring your user’s culture settings with Silverlight

One thing that I’m just as guilty as probably most of some of my peers is creating US-centric applications.  Forgetting to think globally for your users is something that I think happens too often.  We operate in our US-centric worlds and forget that sometimes even the simplest things can make a difference. Take for instance, honoring your user’s culture settings (region/locale/whatever you want to call it).  Even if you have a US-based application for a US-company, how do you know that a user might not be of French origin and still perhaps like to view their operating system information...

Silverlight and ADO.NET Data Service proxy generation

One of the nice little additions to the data client services in Silverlight 2 is the removal of the need to drop out of Visual Studio to do some proxy code generation.  Prior to Silverlight 2 release, if you wanted to consume an ADO.NET Data Service (the artist formerly known as Astoria), you had to drop into a command line and execute something like: 1: datasvcutil.exe /out:"MyDataService.cs" /uri:"http://foo.com/MyDataServiceEndpoint.svc" While that isn’t difficult, it just wasn’t convenient as a developer productivity workflow.  I mean who wants to have...

Calling secure (SSL) services from Silverlight 2

Now that Silverlight 2 has been released, one of the features (or should I say fixes) that is included is the ability for non-secure applications to call secure services.  Previously this was not allowed and we referred to it as “cross-scheme violation.”  That means that a particular protocol scheme (file, http, https) could not access another.  Prior to release this meant that a XAP hosted in an HTTP context could not call a secure service.  Now we no longer have that restriction with the release.  There are some things you have to do, so let me take a brief moment...

Silverlight 2 Released: New controls, tools, announcements!

Whew, we made it!  Silverlight 2 is now released (and available for download)!  (Official press release here.)  I know we’ve always said “by the end of the year” but the team has worked really hard to get Silverlight 2 released well before then so you can start building and deploying your applications.  A lot of people don’t realize that “Silverlight” is actually a team of many that make up the runtime, media, tools, controls, etc. teams.  Hats off to all those involved who pushed hard to get Silverlight 2 out the door (and are already working on the next version)!...

Hey, who took my Chiron?

If you’ve been playing around with Silverlight 2 for a bit now, you may have heard about/used the tool chiron.exe.  It was a tool in the SDK that shipped in Beta 2 that was responsible (for among other things) at that time for packaging the XAP.  Fast forward to release builds for Silverlight 2.  No Chiron.  Hey, what’s up? Chiron is still available for you if you want it.  It is a part of the Silverlight Dynamic Languages SDK which is available on Codeplex.  So if you need/want it, there you go.  Some people were using Chiron...

Silverlight in SharePoint web parts

Are you using SharePoint and want to know how to leverage Silverlight?  Have you seen the Blueprints project on Codeplex?  But what if those particular implementations don’t meet your needs and you want to create your own contained web part with your Silverlight 2 application? Kirk Evans writes about a method of doing this in a recent post: Hosting Silverlight in SharePoint.  Take a look at Kirk’s post with a step-by-step guide of getting started with his method.  In looking at the method he describes, it is conceivable that you actually could make a more generic web part that...

Update your Silverlight Gallery Samples!

Did you know that the Silverlight community site has over 150 Silverlight 2 Beta 2 samples submitted by the community?!  These range from short samples of specific functionality to full-fledged applications that people can use.  I recently spoke of 2 of the multi-file uploader controls that were features in the gallery.  There is a lot of good information being shared by our community. WE NEED YOUR HELP – UPDATE YOUR SAMPLES! Today I sent around a note to those who I could identify who had submissions in the gallery with some information pointing them to Silverlight RC0 information...

Silverlight 2 UI Templates

One of the things I hear a lot about it wanting well-designed control templates/styles for developers to use in Silverlight (and WPF).  As someone with that missing creativity gene, I agree.  While we wait for some of these galleries to emerge (and designers to contribute), there is some hope for the rest of us today. For WPF developers, there has been a commercial resource available (not free) in the templates provided by XAMLTemplates.net.  They provide various styles available for purchase for WPF templates and styles. There also have been some emerging in the Silverlight.net community gallery (look for...

Writing text on a Path in Silverlight

One of the things that I’ve wanted to do since Silverlight released was two things with text, enable a Stroke and layout text on a Path.  Both of which in Silverlight 2 aren’t readily available.  Luckily we have a great ecosystem of developers and MVPs who love to extend our frameworks and create new capabilities for developers. Bill Reiss has done just that.  You may recognize Bill from some XNA and Silverlight gaming fame.  His game of Dr. Popper still remains my daughter’s favorite computer game!  Bill has created a new Silverlight user control he calls PathTextBlock control.  Bill...

XAML Power Toys for Silverlight

If you live in the WPF world, you may know the name of Karl Shifflett.  If you’ve heard the name, but just not have met the man…next time you’re at a developer conference, look for the guy in the Hawaiin shirt, shorts, some ink on the arms and is probably passionately talking to some other geeks about the innards of data binding in XAML. Recently, Karl has joined Microsoft to work on the “Cider” team.  The Cider project is a key part of the developer story for WPF and Silveright.  It is the XAML designer/editor/etc for Visual Studio.  Some...

Silverlight and Web Service Errors

When working with data and Silverlight there has often been the questions of wondering why when a service call fails that Silverlight returns the HTTP 404 status code.  In fact I’ve written about troubleshooting those types of issues in the past and tools you can use to help investigate some problems. Still people mostly ask "if there is an exception, why is Silverlight telling me ‘not found’ instead of sending me the exception?'”  Eugene Osovetsky from the connected systems team aims to answer those questions in a recent post with a little more detail than has been provided in...

MediaStreamSource sample for Silverlight

You may be reading the title and wondering what is MediaStreamSource?  MediaStreamSource is a piece of the Silverlight runtime that removes a the influence of a media file's container, giving developers direct access to APIs for manipulating encoded elementary audio and video streams. Huh? Basically it can enable you as the developer to implement file parsers/etc. in managed code instead of Silverlight, enabling support beyond the native built-in formats for media.  There hasn’t been much information about these types of topics, and I’d agree that for the mainstream, they may be a bit more advanced media scenarios for when...

Installing Silverlight Offline

I’ve gotten a few questions (including a great comment) about needing to install Silverlight under offline or administrative-restricted environments.  There are two ways you can install this. First, you’ll still need the Silverlight Tools for Visual Studio installer.  Next, make sure you download the Silverlight Developer Runtime (Windows).  There is a Mac runtime for developers as well, but if you are wanting to install the developer tools for Visual Studio offline, I’m guessing you are on Windows :-). Okay, here’s the two options.  These really should only be done if you need an offline install experience.  If you don’t, let the installer...

Silverlight multi-file upload controls and patterns

One area where Silverlight can plat an interesting role for your web applications is wherever file uploading to your server needs to be done.  This may sound odd to think of it that way, but if you’ve ever done file upload in web apps (for larger sizes, chunking, etc.) sometimes it is no fun and involves a lot of Javascript.  There is a video demonstrating on how you can do file upload with Silverlight 2 and also helps demonstrate the OpenFileDialog API within the runtime. I remember seeing a multi-file uploader that Jose Farado had started back in Silverlight 1.1 days. ...

Silverlight 2 RC0 Released for Developers

Today we released Silverlight 2 RC0.  This release is for a very specific purpose and although the information will likely be repeated, I wanted to try to help answer a few questions. What is this release? RC0 is a developer release only!  The intent of providing these bits is to provide developers with ample time to have access to the release candidate runtime/controls for Silverlight with the primary goal of making sure that developers with Silverlight 2 Beta 2 applications that are live today prepare for the release of Silverlight 2. What should a developer do? ...

IsolatedStorage as a Silverlight object cache

Someone posed this question (“Can you use IsolatedStorage in Silverlight as a more reliable browser caching technique?”) to me and I answered with my usual optimistic “in theory, yes” answer.  Of course I had never tried it which is horrible to answer that to someone without trying it.  In working on creating some Silverlight business application samples, I figured I should probably look at this scenario to see if a) it would work and b) it makes sense.  I’ll at least try to answer “a” here. The Setup Let’s look at the setup.  The goal here is to...

Expression Encoder 2 SP1 Announced

The Expression Encoder team has announced the plans for SP1 of their product (announced, not released).  You can read all the details on their team blog for more information, but two things caught my attention that are probably of most interest: H.264 encoding and a Silverlight 2 template in the box. The H.264/AAC encoding support is a result of customer feedback (as well as preparing for future Silverlight support).  While the profiles in this service pack will be limited and may not meet the needs of everyone immediately, it is a great step and will probably meet the needs...

Add mouse wheel support to ScrollViewer

As you may know, most wheel support is detected at the browser level.  In Silverlight, this makes adding mouse wheel support an interop action with the HTML host.  While people have implemented it, it has mostly been for the use of DeepZoom applications.  In fact, the latest DeepZoom Composer tool actually adds this support now if you choose to have a Silverlight project as a part of the output of the collection. But what about other controls, namely ScrollViewer?  Having content in ScrollViewer enables ScrollBar functionality but doesn’t automatically respond to mouse wheel actions.  Adam Cooper has solved this...

Silverlight Casual Game Series

Silverlight MVP and friend, Joel Neubeck, has started a series in the Expression Newsletter.  The first article is available now and is part of a 6-part series in building a casual game in Silverlight: Getting Started – Architecture / framework Movement and collision detection Design – Sprites, boards and dialogs Animations and sound Initialization and Deployment Advanced concepts (Physics, Multiplayer, Optimization)...

Apple’s AppStore Restricts User Choice

Ok, this is getting ridiculous.  First the removal of the ‘I Am Rich’ application (which whatever your thoughts on the app itself, it didn’t violate any rules, just that the powers that be at Apple didn’t like the pricing scheme), and now others are being prevented from joining the AppStore.  Here’s the latest two I’m aware of: Podcaster Podcaster is a native iPhone app developed by someone in the Apple developer program and not using anything that isn’t permitted in the terms and conditions of the SDK.  It provides the ability to search/add/download podcasts from your iPhone without...

Some Silverlight effects libraries

While you can do a lot within Silverlight with effects, as demonstrated by techniques used like seen in Shine Draw, you may also want some helping hands to implement these.  It’s not always fun to write some code for when you just want to be able to drop in an effect on your application.  You want to concentrate on your application logic and get assistance in creating some of the visual effects. If you didn’t know, there are some libraries out there that can help.  I’ll highlight two of them here (if you know of more, please post in...

Some cool Surface examples

Saw some posts today over at Don’s site about Surface.  The Surface SDK is starting to get more visible whereas before it seemed a little black-boxish to me.  Turns out (as we all knew) it really is just WPF with some unique Surface-like behaviors in the SDK.  Take this quick demonstration from a program manager on the SDK.  With using the same concepts that we use in WPF and Silverlight for data binding, etc. you can come up with a quick application using the inherent gesture support from a Surface device: Pretty cool huh?  Same XAML concepts...

H.264 and AAC support coming to Silverlight

So you want H.264 support in Silverlight?  So do we.  In fact we will be showing a preview of H.264 and AAC support in Silverlight at the International Broadcasting Conference (IBC) this week in Amsterdam.  Scott Guthrie comments on this saying: “At IBC 2008 we will be demonstrating a technology preview of H.264 video and Advanced Audio Coding (AAC) audio playback support in Silverlight, and H.264 authoring using Microsoft Expression Encoder and Windows Server 2008 for delivery. Until now, Silverlight has supported the SMPTE VC-1 and Windows Media formats, as well as MP3 for audio, enabling customers to take advantage of...

Silverlight install experience too hard?

Man, I feel like I’m constantly on this soapbox about creating a good non-installed experience.  I’m recently sparked again by reading a recent post from Pascal Leloup entitled “Silverlight – It’s too damn complicated to setup.”  These are the times that I wish I could sit next to every developer at the moment they experience this frustration. Part of the time it can be dealing with beta software (as is the case in one of Pascal’s scenarios here), and others I think just take some time to understand the why behind certain things.  Let me take a stab at...

Silverlight in the Big Apple

In NYC this weekend and want to hang out and learn some Silverlight?  Some community leaders and Microsoft folk are putting on a Silverlight 2 Firestarter event this weekend on 13-SEP.  Shawn Wildermuth of the Silverlight Tour will be there for the keynote and giving some sessions as well.  It looks like some folks from Infragistics will be there as well…I’d imagine they might have some cool things to talk about! The event is free for anyone to attend and should be a good time hanging out with fellow geeks in NYC and learning what others are doing with...

Silverlight Slider and Absolute values

If you use the Slider object in Silverlight (or WPF for that matter) you may have experienced some similar frustration that I have recently.  Let’s take a look at what the Slider is first. The Slider is a simple control on the surface providing a track and a “thumb” (if you aren’t familiar with that term) that enables value changing.  Some of the key properties are: Minimum – the number that represents the lowest (left or bottom) value Maximum – the number...

Some Silverlight events coming up

I’m pretty excited about the upcoming Fall travels I have.  Fresh on the heels of a 3-day session with the entire Silverlight team this past week, I’m rejuvenated and ready to rock.  I’ve also got some travels coming up and hope to see some of you at them as well… Troubleshooting Data Services in Silverlight (09 SEP) Tomorrow I’ll be presenting a webcast with the goal of trying to help surface some of the more common ‘gotchas’ in dealing with accessing data in Silverlight.  Some of it may not be new to some, but there has been enough...

Silverlight resources for Flash developers

Two new resources came to my attention recently that could be helpful resources for Flash developers wanting to learn Silverlight.  The first has been out there for a bit actually, but the other is new.  Let’s start with the new one, Project Rosetta (video).  As Adam Kinney said this week while in meetings in Redmond, “because we need another web site.” Project Rosetta describes itself as: Project Rosetta is a site dedicated to helping designers and developers build applications in Silverlight while taking advantage of skills they already know. There are two articles...

IE8 Beta 2 release – my TinyURL Accelerator

I first saw the accelerators (the artists formerly known as activities) during The Code Trip, when Woody created an IE8 activity for Wikipedia.  It was a convenient tool to have in your right-click toolbox on IE and I loved it (and still do). Well, now that IE8 Beta 2 is out, I decided (well, my selfishness decided) that I should create an activity accelerator for something that I use often so I introduce you to: IE8 Accelerator for TinyURL.  So with a little XML, it was done.  Seriously, like < 5 minutes.  I ran into one problem...

Startup Weekend – A great idea

A new (and great) idea has been making its way across the country.  It’s called Startup Weekend.  What is it?  From their site: Have you ever wondered what a group of highly talented and motivated people could accomplish in a weekend? Could they start a company from concept to completion? Startup Weekend answers that question and more. A unique three-day experience, Startup Weekend brings the best and brightest people together in a local office space to select the concept, break into teams, and develop the product, marketing and revenue model.  ...

Silverlight and MS CRM Services

Had enough media players, games, and animated shapes with Silverlight?  How about integrating into some line of business applications?  Microsoft produces an application called Microsoft CRM, now in it’s 4th release (those closer to the CRM information can correct me if I’m wrong…I’m actually not too familiar with the roadmap/releases of CRM).  What is CRM?  What you’d expect, a customer relationship management system…define your use of those systems as you wish.  There are many CRM systems out there, but what struck me as interesting about MS CRM is based on a demonstration I saw about a year ago when v4...

Troubleshooting data/service access in Silverlight

A while back I pondered doing a “live” debug session with people who were/are working with Silverlight 2 and data access via services, etc.  I really like a live concept because it allows people to ask real questions and feels more conversational than a one-way presentation.  After some consideration, I’m not sure I could quite guarantee the environment I was looking for to accomplish this type of style. So as a second best, I’ve set up a webcast: Troubleshooting Silverlight Data Access.  I hope to keep the question channel open during the webcast though and answer as many questions as possible. ...

4 new Silverlight hands-on labs

We just put up 4 new hands-on labs for Silverlight 2.  These labs are based around some of the training that partners and early adopters had received over the past few months.  A guided lab document and source code (before/after) is provided. The 4 labs include building a web application based around a travel site. Building the UI: using different layout with Grids, StackPanels, etc. Styling the UI: use styles, templates and VisualStateManager…work with default templates in Expression Blend Binding...

Photosynth Gone Wild

Remember Photosynth?  Remember when you first saw it and your initial smile came across you in that ‘this is cool’ kind of feeling? Multiply that. A team at the University of Washington in conjunction with Microsoft Research presented “Finding Paths Through the World’s Photos” at SIGGRAPH2008.  I haven’t read the paper yet, but the video speaks for itself in the advancements of photo recognition and path interpolation to me: There is some really similar Photosynth and DeepZoom stuff happening here, but a lot more as well.  You can visit their site to read more and also download some code from some of the...

Behind the Scenes of NBCOlympics.com

How does 2000+ machines sound?  Transforming a Saturday Night Live recording area into a live commentator section full of workstations and bloggers?  Scoble had a chance to sit down with Eric Schmidt from Microsoft to talk about some of the behind-the-scenes information about the NBCOlympics.com Silverlight experience.  Despite the video quality not being great, the information is very good.  I recently saw a few other partners involved in the NBCOlympics.com project talk about things and kept feeling like they were really missing a great opportunity to talk about one of the key aspects in the implementation.  Eric covers the basics...

Visual Studio SP1 and Silverlight tools

Today Visual Studio 2008 has released SP1 which not only brings some fixes, but also is an added value service pack, bringing some new functionality to WPF as well as enabling a “client” deployment pack of the .NET framework so that those deploying .NET framework with your client applications can have a much smaller footprint (by about 80+%). With the release of SP1 for Visual Studio 2008 today, the Silverlight team has also updated their tools for Silverlight 2 Beta 2.  Read again: a tools update for Silverlight 2 Beta 2 is needed and available for you.  If you install Visual...

ReMIX UK – 18 SEPT

Well, I wish I was going to this event: ReMIX UK!  For one, it would be starting the day of my birthday and would be a great birthday treat!  Secondly, I would be able to meet up with my fellow escamoles chaps and maybe take in some local cuisine instead. If you are in the UK, or for some reason really wanted to see the current value of the US dollar, make sure you head to ReMIX UK!  The lineup is pretty incredible when you look at it…here’s some Microsoft favorites: ...

Some Silverlight ecosystem updates

I’ve had a couple things sitting in my inbox for a week or so and rather than call them out individually and take up your precious aggregation space, I’ll summarize them here. 3rd Party Silverlight Controls Got a note from Valentin about the roadmap for the Telerik Silverlight controls.  As they’ve previously noted, they are planning a set of controls: Window, Menu, TreeView, TabControl, PanelBar, Cube, ComboBox, Upload, Calendar, DatePicker, NumericUpDown, MediaPlayer, Range Slider, ProgressBar, WrapPanel, DockPanel, UniformGridPanel.  Right now it looks like they are incorporating the feedback provided and doing some polish work like adding Blend tool support for skinning, etc. ...

Play Olympic Games in Silverlight

With the Olympic ceremony only days away and being able to enjoy the Olympic experience online via Silverlight, why not get a little excited and play some casual games, Olympic style.  All of these were build using Silverlight and the Popfly game creator: Torch Lighting Soccer Track and Field Archery Long Jump ...

Compare on Kelley Blue Book with Silverlight and DeepZoom

Have you seen those television commercials about used car markets and someone standing in a white background and as they vocalize their automobile preferences the selections fly in and around them.  That’s what I was reminded of when I came upon the new feature on Kelley Blue Book’s comparison feature on their site.  I had previously written about some innovative uses of DeepZoom with Jose’s samples and I like what KBB has done here as well. They’ve leveraged Silverlight with DeepZoom in a way that provides some good user functionality but at the same time provides a line-of-business application...

IronNails = Silverlight + IronRuby + Patterns

If you already pay attention to the IronRuby dev group and are on the distribution list, apologies for the dupe.  I’ve just got back from a camping trip and rifling through all my emails now.  I checked in on the IronRuby group and noticed a new project emerging from someone. It’s from Ivan Porto Carrero and he calls it IronNails.  It was previously called something else (quite frankly I liked the other name better myself) but there was already a project named after his chosen name.  So alas, IronNails it is!  Ivan describes this as: ...

Silverlight tip: shortcut simple properties

I’ve seen the rumbling a few times now about property setting in Silverlight.  The rumblings are along the lines of “why do I have to use SetValue for setting simple properties like the x/y positioning?”  To those points, I agree from a fundamental standpoint.  From a technical standpoint SetValue is there and serves a great purpose for providing a common way of setting properties on XAML elements regardless of the element.  As a developer, I like it actually.  I do, however, see the point about wanting to set simple properties and it just looks a little verbose.  Take for instance...

Silverlight data binding and value converters

If you are working with Silverlight and data you most likely are going to leverage data binding at some point and run into some needs to format the data in the XAML.  Luckily this can be done using value converters, which have been available for WPF since it’s inception as well.  Let’s explore what I’m talking about using a common formatting need: dates. Consider this list box output binding: 1: <ListBox x:Name="FeedList"> 2: <ListBox.ItemTemplate> ...

Silverlight at Gamefest

This week I had the privilege of attending and helping with some Silverlight in casual games presentations at the XNA Gamefest conference happening in Seattle.  I say helping because the real game experts were there. Two Silverlight presentations were given.  One by Bill Reiss/Joel Neubeck and the other by Mike Snow.  Between the two sessions we covered concepts in Silverlight game development as well as a walk-through of starting out to create a simple game.  I consider these guys to be the foremost experts on the topic given their experience in creating games like Dr. Popper, Stack Attack, Zero...

Providing startup parameters for Silverlight

One of the things that makes Silverlight 2 great is the ability to create a very flexible framework application that others can use and can be embeddable with some dynamic properties.  This is the method used in the SL2 Video Player to provide a completely dynamic player that is portable. How?  Using the initParams property of the plugin.  There are a few ways you can do this.  I’ve just uploaded a video demonstrating three of them: Creating App Resources Passing into the root visual constructor...

Making SL2 Video Player an Encoder Template

Now that the Silverlight 2 Video Player is available from Codeplex, I wanted to make it a template for Expression Encoder.  I’ll attempt to articulate the steps below.  It’s actually pretty trivial.  In fact in the current incarnation, you have to throw some extra stuff in there you may not need :-). Step 1 – Creating the template folder While I’ve covered this in previous posts and this is also well documented in the Encoder SDK documentation. First you’ll navigate to C:\Program Files\Microsoft Expression\Encoder 2\Templates\en and you’ll see the existing template folders.  The folders do not represent...

Updates to Amazon S3 and Silverlight

After posting my sample implementation of accessing Amazon Simple Storage Solution (S3) via Silverlight, I reflected quickly and also chatted with some AWS engineers. Cross-domain Policy One thing that you should never do is just deploy a global clientaccesspolicy.xml file blindly.  Often times in samples, we (I) do this.  I need to be better about this guidance to be honest, so I’ll start here.  As an example, for the S3 cross domain policy file, we really should add some additional attributes to it to make it more secure.  Since we know it is a SOAP service, we can...

Embedding Fonts and File Upload in Silverlight 2

Two new videos were just posted on the Silverlight learning section. Embedding Custom Fonts in Silverlight 2 This video demonstrates the supported method for embedding your custom font files into your Silverlight applications and how you might use them in your application as well as how to provide fallback fonts for your application. OpenFileDialog and File Upload in Silverlight 2 Two for one.  Check out the OpenFileDialog control and how you might even use it with UI-less Silverlight applications.  Also, look at OpenFileDialog in conjunction with uploading files via Silverlight 2 applications. Make sure to...

How about some LIVE Silverlight service debugging?

I’ve got a thought lately and curious if I’m thinking crazy.  You see, probably the most asked questions I get are around working with services within Silverlight.  Although I’ve got some helpful (at least I think they’re helpful) posts on the subject: Silverlight, 404 and some tool help Updates for Beta 2 Working with Syndicated Data Calling WCF/ASMX Services Calling REST Services Cross-domain policy files ...

Accessing Amazon S3 with Silverlight

I ran into an interesting situation last week…the desire to access some of my Amazon S3 services from within a Silverlight application. Amazon Simple Storage Solution (S3) is a pay service provided Amazon for object storage ‘in the cloud.’  Although there is no UI tool provided by Amazon to navigate your account in S3, a SOAP and REST API are available for developers to integrate S3 information into their applications or other uses.  You can view more information about Amazon S3 on their site. What is S3? Since S3 is a pretty flexible service, it can be used for many different things including...

Updating Silverlight.js and Firefox 3

I’m hoping this post will help explain a few things with regard to Silverlight detection scripts that some sites may be using.  This is related to the silverlight.js Javascript file that was deployed with a lot of Silverlight 1.0 applications/sites and is also available as a part of the Silverlight 2 SDK tools. What the heck is this Silverlight.js you speak of? Simply put, Silverlight.js is a helper file which enables Web sites to create advanced Silverlight installation and instantiation experiences.  It was a resource file that was initially shipped along side several templates and helper projects to aid in the detection...

Line Rider rides on Silverlight 2

One of probably the coolest casual ‘games’ I’ve ever seen is Line Rider.  It’s a fun game, but really gets exciting when you have an artist behind it.  Basically it’s a blank canvas for you to draw a route for the main character to hop on his sled and ride.  Sound lame?  Not when you see what some have come up with.  For example, here’s a very popular ‘ride’ on YouTube. Well, the Line Rider team has recently modified their beta version and implemented in Silverlight 2!  They’ve also added some social networking integration using Live Messenger and the ability to...

Silverlight community controls contest

I suspect we’ll be seeing more of these efforts for Silverlight and I love it.  In fact, INETA will be sponsoring the 2008 INETA Silverlight Challenge soon, so you should sign up for more information about that as well.  But until then… But until then, check out what some of the community MVPs and leaders are doing on their own!  They’ve started the Silverlight Control Builder Contest ‘08.  Two main organizers (Page Brooks and Dave Campbell) have put some time and thought into how they can get the community excited about developing solutions for the community and alas...

Some new Silverlight videos

Some new videos just got posted to the Silverlight community site.  Topics included: IsolatedStorage usage HTML DOM Integration Dynamic Assembly/XAP loading Working with Syndicated Data As always, feedback and ideas are welcome.  Ben’s been leaving some great comments here on suggested topics and I’d love to see more.  I’ll be starting a new ‘series’ soon…more to come on that in a week’s time. As a reminder, these videos are meant...

Silverlight Streaming upgraded to Beta 2

The Silverlight Streaming service has been upgraded to support Silverlight 2 beta 2 applications. As a note to customers who were previously hosting Beta 1 applications for test purposes, as beta 1 is no longer a supported test platform for SLS.  Authors should update/upload their applications using the latest Silverlight 2 bits.  These are available (with the tools) from the Silverlight community site. Silverlight 1 applications hosted on SLS are not affected by this upgrade and still supported of course. Remember that you can also now directly upload a XAP file to SLS using the Manage...

Silverlight 2 Media Player project now open source

Over the past few months Joel and I have been back-and-forthing modifications to his original great idea and goal “build a re-sizable video player using no custom user controls, but instead leveraging controls styles and templates.”  Joel started in Silverlight 2 Beta 1 and implemented using the style method (aka ‘the MIX model’) available at that time.  I took it and added some functionality of scaling and startup parameters.  After the VisualStateManager model for styling was released, this project made perfect sense to demonstrate those abilities and thus I transformed the great styling work that Joel did into the VSM...

ATMs, design and XAML

I’ve been a Wells Fargo customer for a long time.  As a financial institution it has served me well.  I’ve never really put much thought into the services I use and the interactions I have with their systems.  Actually I take that back – I make heavy use of the online banking system and have noticed some likes/dislikes, but overall pleased. Over the past year, the automated teller machines (ATM) have undergone some design changes that, while subtle, have been impressive and welcome additions to the ATM experience for me.  It really made me actually notice a change in...

Firefox 3 and Silverlight

Well today (17 JUN 2008) will be the release of Firefox 3, a seemingly much anticipated browser update.  I checked out an earlier build (I think beta 2) and it was a nice browser.  I’m not a browser zealot, I use what works for me and IE works for me, has some tools that I like, etc.  Firefox is a fine browser as well and I do use some plugins from time to time in my Firefox install. Today, I assume a lot of people will be downloading FF3 whether by explicit choice or by a prompt from their FF2 browser...

Free Silverlight 2 training CD

The team att AppDev is providing a free learning CD-ROM for Silverlight 2.  They are providing it as a CD-ROM or download and said it represents a $115 value for their training…but are providing it now for free! If you are familiar with MSDN Magazine, ASPNETPro, and other online/offline publications, the name Dino Esposito might sound familiar.  Dino is the one providing the training walkthroughs for you in this offering.  It includes roughly 3 hours of training on Silverlight 2 content.  Get it now!  Thanks AppDev! UPDATE (30 JUN 2008): The team at AppDev has heard some feedback and has altered their offer. ...

Updated Silverlight media player using VisualStateManager

I’ve just finished updating my modification of Joel’s original concept.  Joel had a really great base for me to build off of and used styling and templates to create simple controls for a standard Silverlight media player that could be embedded.  I took his sample and made some minor adjustments to accommodate automatic sizing as well as make it a bit more parameter-driven.  The end result was (what I think at least) a fairly nice player that could be flexible if needed: Joel made great use of styling primitive controls to be able to leverage core...

Telerik drops some Silverlight control goodies

One of the things I love about the Microsoft developer ecosystem is the partner channels that are enabled to create great add-ons to our platforms and frameworks.  Our partners in this space usually get to the better implementations before we do, taking on the task of filling some gaps in unique implementations while our teams can focus on providing the best framework for enabling that construction. In December of last year, Telerik showed their intentions of making a control suite for Silverlight (then v1.1).  Well now that beta 2 is released for Silverlight 2, they’ve updated their RadControls for...

Silverlight cross domain services and a helpful tool

I’ve been getting a few notes on issues relating to people trying Silverlight beta 2 and WCF or other services.  The most common issue I’m seeing reported is “my exception is showing a 404-not found error message, but the service is there and works!” Okay, there could be several things happening here, but let’s tackle the “make sure it is plugged in” type situations.  I don’t mean to make light of the error, because at first I, too, was banging my head against a wall.  Sometimes it helps to have a second set of eyes or a deeper understanding...

Getting started with Silverlight 2

Now that beta 2 is out and some of the features or more solid, and a majority of the breaking changes have been announced, there is no excuse to hold back anymore.  Oh yeah, and there is a commercial go-live license available now, so no more excuses :-). So where to get started?  Well you should first head over to the Silverlight community site and visit the Get Started section.  There you will find a rather simple formula to get started: Download/install the tools ...

Important change to Sockets in Silverlight 2

An important note for those using Sockets in Silverlight 2.  In beta 1, Sockets were limited to site-of-origin (meaning you could only connect back to the same host that served up the Silverlight application).  This has changed in beta 2 to allow your Silverlight application to connect to any server exposing some Socket connections. One important note, however, is that a policy implementation has been added.  This policy implementation affects not only cross-domain Socket calls, but site-of-origin ones as well.  So if you are using Sockets, you must have a policy implementation in place. The policy implementation is done via a similar file...

Silverlight 2 Beta 2 updates for web services

We were all jumping for joy when Silverlight 2 beta 1 was released and the ability to connect to services was more readily/easily available to us.  For discoverable services that provided a WSDL we were quickly able to implement them using the Add Service Reference capability in Visual Studio 2008.  Beta 2 brings a few changes to the world of services that you should know about.  I’ll do my best to recap some of them here. Generating a WCF Service In beta 1 when we created a WCF service for use in Silverlight, we used the “WCF Service” template...

Silverlight Streaming adds video upload fix

I previously wrote about a known issue with Silverlight Streaming services and videos encoded with Encoder 2.  The quick recap is that a video already encoded to VC-1 using Encoder 2 will not process when using the Manage Videos feature of Silverlight Streaming services.  I provided 3 work around options (#3 being the easiest of those 3) to get you past the issue and get the video uploaded. The SLS team recently just added another option into the actual process and enables you to use the Manage Videos feature rather than act like uploading an application or renaming files. ...

MIX Essentials Mexico and unique cuisine

Well, I have about 3 hours until I leave this little city called Mexico City.  Sarcasm of course, did you know there are roughly 25 million people in Mexico City.  I didn’t.  It is amazing.  Traffic, however, is something to be desired.  I’m told that a 3 mile trip at times could take 1hr, 30 minutes.  Maybe I should stop complaining about my commute when I do it?  No, it still sucks. Anyway, on to business.  Yesterday I attended and spoke at the MIX Essentials Mexico conference.  These events are happening worldwide and if there is one coming up...

Free Silverlight DataGrid with source code!

Um.  Whoa. Okay, DevExpress rocks.  I think this will be very well received by the community and you’ll have to watch their page for when it is available and to get your license. From their site: As the release of Silverlight draws near, DevExpress has invested the engineering resources needed to deliver a feature-rich grid control for Silverlight. Not just a "preview" of what is possible with Silverlight, the AgDataGrid Suite was developed to fully exploit the power and flexibility of the platform… It looks like it will support pretty much everything you’d expect in a DataGrid and more…wicked cool.  Congratulations and thank you...

A new Silverlight control - TabControl

Silverlight 2 brings a suite of controls for designers and developers to leverage within their applications.  With the Expression tools helping us to be able to skin these controls, also comes some new controls you may not have used yet as well as a new one introduced with the latest release of Silverlight 2. Introducing TabControl. UPDATE: Video walk-through is now live. The TabControl is implemented in the System.Windows.Controls.Extended class library and not in the Silverlight core.  To use it make a reference to the Extended assembly and it will be available to you.  In Expression Blend you’ll see TabControl in the Custom...

Silverlight and the VisualStateManager

If you’ve heard the news about Silverlight 2 Beta 2 and Expression Blend 2.5 (June 2008 preview), you will notice something else in addition to being able to skin your controls easier.  Remember how you may have had to create different states for your element using “MouseOver State" and then create storyboards to transition to states?  There’s now a better way. Enter VisualStateManager. Let’s take a look and see if we can simplify this down a bit a basic understanding.  Let’s use something that most everyone should be able to relate to with states: Button.  A button has...

Skinning Silverlight controls just got easier

This has been one of the features that I’ve been excited about for a while since I heard we were changing it.  With the release of Silverlight 2 Beta 2 and the updated preview of Expression Blend 2.5 (June 2008), skinning and styling controls within Silverlight gets a bunch easier. When Silverlight 2 Beta 1 was released there was the possibility of styling/skinning controls.  It wasn’t impossible, but perhaps a bit obfuscated to the eye for people with short attention spans like myself.  You can read more about those methods here and here.  WPF designers were...

Reading data and RSS with Silverlight and no cross-domain policy

So you want to read an RSS/Atom feed on the interwebs and saw the SyndicationFeed class you could use in Silverlight to give a nice RIA display of the syndicated data.  Great, no problem right, just wire up an WebClient, point it to the RSS feed on something like http://silverlight.net or something and boom, done.  Wait, what’s this 404 Not Found error?  In most cases this is going to be a result of a cross-domain issue.  If you haven’t started working with services yet, Silverlight requires a cross-domain policy file to be in place to access remote data not on...

Silverlight Streaming won’t upload my video!

I’ve seen this issue a few times with people using the Manage Videos portion of Silverlight Streaming to directly upload a video file to be hosted.  Now with direct endpoints to the WMV files I’m seeing it a bit more.  Let me see if I can shed some light on this situation. First, there is a distinction between uploading an application to Silverlight Streaming versus just a video.  What I’m going to discuss here is working with video only uploads.  If you didn’t know, you can directly upload just a video and Silverlight Streaming will...

MIX Essentials Mexico!

This week I’ll be traveling to Mexico City to meet developers and designers at the local MIX Essentials (English translation here – funny that RIA gets translated to LAUGHS) event.  I’ll be presenting two sessions there this week.  I was fortunate enough to be asked to kick-off the conference talking about building RIAs with Silverlight 2.  I’m particularly excited about this as I have some things to show that haven’t really been shown broadly yet.  I will also be speaking on working with data in Silverlight 2 later in the day.  This session will cover working with services, servers,...

RIApalooza wrap-up

I just finished up a day attending the Chicago RIApalooza event in, well, Chicago.  First, I must say that I love cities with great mass transit systems.  I’ve said this before and I keep threatening myself to move to one. For this event I paired up with a super designer Corrina Barber.  Corrina works as a user experience designer at Microsoft, is wicked smart and was a perfect compliment to this event.  Most of the attendees at RIApalooza I believed to be interactive developers, so most having a knack for design.  I figured rather than a developer...

Innovative use of Silverlight and DeepZoom

Take a few minutes and look at this video of Jose Fajardo re-demonstrating one of his ReMIX features shown using Silverlight and DeepZoom.  Are you kidding me?!  Seriously, Jose has a great imagination and an incredible sense for effectively demonstrating things. In this video he answers questions posed to himself like “what if all web images were DeepZoom-able?” and “what if all the documents on the web were DeepZoom-able?”  Then he gets crazy and suggests that people could collaborate with a DeepZoom image and demonstrates this using a Silverlight chat experience built using network sockets.  I love his context...

Silverlight Flickr Badge

Taking another cue from some great stuff Joel is doing, I liked his implementation of the ‘Leopard Screen Saver’ but wanted to make it more ‘real’ for me.  So I wired it up to my Flickr account.  Result here (using Silverlight Streaming): I only had to change a few things. First, in the Page_Loaded event, I removed the timer start function.  This was because with interacting with Flickr it was going to be async.  I didn’t want the timer to start until I knew the image collection was built. My BuildCollection function now looks like this: private void BuildCollection() { // get...

NY Times Reader on Mac with Silverlight

A while back the team at the New York Times newspaper produced a digital reader for their content, dubbed ‘Times Reader.’  The technology powering that reader experience (“the digital newspaper that reads like the real thing”) is Windows Presentation Foundation (WPF), part of the .NET Framework.  It is a remarkable experience for viewing digital news in a traditional format.  It provided online and offline reading capabilities mixed with some new and innovative ways of viewing related stories. Portions of the reader were even transformed into a starter kit framework: Syndicated Client Experiences Starter Kit.  This kit provides the initial...

RIApalooza – I’ll be there!

I’m very excited to have the opportunity to attend the RIApalooza event in Chicago in a few weeks (31 MAY).  What is RIApalooza? RIApalooza promises a platform agnostic and "PowerPoint-Free" zone, which means we are going to forgo the boring marketing pitches in favor of talking technology. RIApalooza is about creating Rich Internet Applications; how to go about building them and what is being built.  source: riapalooza.com I love the PPT-free zone aspect of it.  I loving having the maximum time to show some real working code, answer questions and see what...

Write Silverlight, win XBOX

Want a Silverlight-branded XBOX console?  Yeah, me too, that would be cool.  Well, there isn’t one of those, but there is a chance for you to show your Silverlight prowess and win some cool stuff. The RIA development portal at DevX is currently running a contest (which ends next week, yikes, hurry!) for creating games in Silverlight 2.  The contest seems relatively simple: Step 1: Create wicked cool game in Silverlight 2 Step 2: Host it on Silverlight Streaming How simple is that…oh yeah, except for the ‘creating game’ part.  There are a few...

New and great Silverlight examples

There are some really great application concepts emerging using Silverlight.  I cam across two that I feel are really demonstrating great use of the technology, both in the code as well as attention to detail in the user interface.  Both of these examples make great use of layouts, controls, etc. within Silverlight 2 to show what is possible with some imagination and the platform. The first is the “My Travel Management” site which leverages real travel information to represent the scenario of looking at flight arrangements.  It definitely is a twist on the Silverlight Airlines, providing a little more...

Streaming media in Windows Server for Silverlight

When using media with Silverlight there are a few things that you should be aware of.  First, ensure that the media you are planning on using conforms to the VC-1 specification.  Your media files just need to then be accessible via streaming or http-based access for progressive downloads. The media files for progressive downloads can be anywhere: any web server, Amazon S3 storage, some HttpHandler, whatever – as long as they can be served. Streaming media is supported via Windows Media Services.  If you haven’t set this up before, there are a few things to note with regard...

Making use of your JSON data in Silverlight

Wait! Don’t throw out your JSON services! The Situation You’ve made an investment in exposing some services for client script consumption.  Most likely if you did it in the past 2 years, that involved exposing your data as JSON formatted objects. What is JSON? It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects) Perhaps a search service returns a list of people formatted using your custom “Person” object and you’ve been using this in your AJAX applications for a while now.  Maybe your JSON data looks something like this: [{"City":"Queen Creek","FirstName":"Tim","LastName":"Heuer", "Website":"http:\/\/timheuer.com\/blog\/"}, {"City":"Portland","FirstName":"Scott","LastName":"Hanselman", "Website":"http:\/\/hanselman.com\/blog\/"}, {"City":"Redmond","FirstName":"Scott","LastName":"Guthrie", "Website":"http:\/\/weblogs.asp.net\/scottgu"}, {"City":"New Hampshire","FirstName":"Joe","LastName":"Stagner", "Website":"http:\/\/joestagner.net"}, {"City":"Boston","FirstName":"Jesse","LastName":"Liberty", "Website":"http:\/\/silverlight.net\/blogs\/jesseliberty"}] If you squint long enough you can...

Skinning an embeddable Silverlight 2 media player

While Silverlight 2 brings us great capabilities as .NET developers and opens many opportunities for creating rich clients in the browser, it still supports strong media features that have been available since the initial release of Silverlight.  The ability to deliver efficient, high quality media in the browser is an increasing need in a lot of sites producing content for their members.  Traditional ‘podcasts’ which were historically audio-only, are moving increasingly faster to richer media.  This is nothing new of course, but being able to quickly distribute the media on your sites efficiently and provide methods for your users to...

Silverlight and Media Encoding

While you may not personally work with a lot of media solutions in your Silverlight application, it is nice to know the quality is there when you need it.  Silverlight supports the VC-1 codec for media which provides a standards implementation for high quality media.  I would imagine that most developers probably don’t know/care what all that means.  But if you are deploying a high-touch media solution (i.e., online TV, etc.) you want that high quality. Our resident media expert, Ben Waggoner, just put up a great (and detailed) post about some ‘high-touch encoding’ techniques he uses and does some comparisons...

Rich Text Editor for Silverlight 2

For Silverlight 2, we finally have some native controls to leverage.  Most of them are to aid in input scenarios.  The text input, however, is currently scoped to be plain text input.  Some have desired a richer input control.  You knew it wouldn’t be long before someone in the community stepped up to the challenge.  Christopher Husse has done just that. Enter: Silverlight rich text editor. He posts a detailed description of all the capabilities on Michael Syncs blog.  The effort is also posted on Codeplex for you to peruse. Here is what he calls the ‘incomplete feature list’: ...

Silverlight gets Familiar

Another geek musician, Bob Familiar, has decided to start working with Silverlight to revamp how he displays some of his compositions on his web site.  Bob just posted a multi-part series where he sets out to demonstrate some features of: resolution (size) independent UI layout controls custom controls invoking WCF services ...

The Silverlight Song

From the recording studios who brought you No More DLL Hell, Dan Wahlin and Spike Xavier (seriously, you have to meet this guy…you’ll get a contact high from his energy just standing next to him), they’ve collaborated their geek music skillz again and bring you “Silverlight – The Song”: It’s a shorter one than their previous, but man if these guys are writing music for Silverlight, there must be some passion :-) tags: silverlight,wahlin,spike xavier,dwahlin,no more dll hell,silverlight song

New Silverlight videos posted

The first of my Silverlight videos have posted which cover some networking stuff that I’ve been blogging about already.  If you want to see a walk through of things you might have already read, please take a look at them: Cross domain policy files with Silverlight 2 Using WCF and ASP.NET Web Services with Silverlight 2 There are more coming and I’m interested in hearing your comments so please give them.  If you have suggestions for things that...

An awesome Silverlight Digg mashup

I know ScottGu already did a good sample showing integration with Digg and Silverlight, but check out what Jose did! Jose does a great job explaining each of the components here and what he is doing to develop this application.  A good experience demonstration with a lot going on there with Silverlight.  I really encourage you to check out this read and subscribe to Jose’s feed – he’s what I’d call ‘wicked good.’ tags: silverlight, jose fajardo, cynergy, digg, wpf, xaml, ria

My Silverlight application cannot access my service!

I’ve started a dialog with a few of you about getting Silverlight and service integration working, specifically with ASP.NET web services (and even WCF ones).  A few have downloaded some of my samples, but others have started from scratch.  A few have reported getting some interesting errors, ASYNC_blahblah and NotFound errors specifically.  While this was boggling my mind (as I wasn’t getting them), a reader’s comments pointed me along the lines of something…he mentioned “maybe it is because my web service is ASP.NET 2.0 and not 3.5” – of which that shouldn’t be the case, so I went to test...

Cross domain in Silverlight Streaming

In my previous post about cross-domain policy files I received some comments about whether or not cross-domain access is allowed on Silverlight Streaming.  I think really this is two questions that I'll try to clarify here. What is Silverlight Streaming? For those who don't know, Microsoft provides anyone with an account to "stream" Silverlight applications for free.  We'll give you 10GB of space to put your Silverlight applications.  There are some limitations, which you can read about in the service.  The "streaming" name has confused some.  It isn't only a "where can I put media files" location, but is a service to...

Ik kom naar België voor MIX Essentials!

Je viens en Belgique pour MIX! In one of my previous posts I made reference to the MIX Essentials event happening in Belgium later this month (24 APR).  Well, it turns out that I will be there!  I'll be speaking on Silverlight 2 and creating rich applications and am joining the company of Gil Cleeren and Catherine Heller...oh yeah and Ballmer (I tried to catch a ride with him, but couldn't cash in my frequent flyer miles).  My session will provide an overview of everything new in Silverlight 2 and how you can start building your applications using it...

Anaheim Silverlight presentation

Firs, thank you for all that came to the presentation in Anaheim.  The room was full, and hopefully you learned something while there (and hopefully it was along the lines that video in text boxes might not be good design, but is doable :-)). I got a bunch of really great questions and concerns and hopefully answered all of them that were asked.  I saw many more hands lifted than we could get to, so if you have more questions, feel free to send them to me, or join the forum discussions as well!  The Silverlight community site is a great...

Silverlight cross domain policy file helpers

If you are starting to get into integrating web services with Silverlight, you'll notice that you have to have a cross domain policy file in place on the target server, that is to say, the server hosting the service you want to implement.  There are some public web services (Flickr, YouTube, Digg, etc.) that already have these files in place for Flash, but implement in a slightly different way. When calling a cross-domain service, Silverlight will check for the existence of clientaccesspolicy.xml first.  This is the format defined by Silverlight and provides a pretty flexible way to define who can access...

My new role on the Silverlight team

I've been with Microsoft now for over 3 years and have loved every minute of my time here.  For the time leading up to being hired at Microsoft, it was a professional goal of mine to work for the company.  Fanboy?  Sure, call me whatever you want.  I prefer to just call it passion.  I joined as a developer evangelist for my community (an area we call desert mountain which spans Arizona, Nevada, New Mexico, Colorado, Utah, Wyoming, and Montana).  This was an easy thing to say yes to because everything I learned I learned from being a part of...

Foxit Preview Handler for XP

Ever since I released my version of the Foxit PDF Preview Handler, I've been flooded with comments about building a version that works for Windows XP.  You see XP doesn't have the preview host that Vista has built into the operating system. Well, I finally had some time to hunt down some code and get it working, thanks to the help of Ryan Gregg from the Outlook team.  I released the sample code I used as a base for this as a part of our Code Trip project.  You can view my short screencast explaining one of the core pieces here...

Providing a great Silverlight deployment experience

If you are doing Silverlight development, you are no doubt slapping in the <object> tag or using the <asp:silverlight> control (if in ASP.NET) to host your Silverlight content/application.  This is all great, but don't forget about deployment! When I talk about Silverlight I like to relay a story I heard from one of the Silverlight program managers (PM) a while back.  The PM was pretty excited about a feature just completed in Silverlight and one of the samples that had been created.  He went home to show his wife and told her to 'go to 'dub-dub-dub-dot-something-dot-com' (yelling from the other room...

Write code for a chance at an XBOX

One of The Code Trip sponsors, InnerWorkings, has teamed up to have a coding challenge for developers.  This is open to everyone to participate.  The winner gets an annual subscription to InnerWorkings as well as an XBOX 360 game console. If you aren't familiar with InnerWorkings, consider this a shameless plug.  I really do believe in their product as it is a unique learning experience from what we traditionally have (i.e., lab manuals with step-by-step instructions).  They have a wide catalog of topics including ASP.NET, WCF, WPF, Silverlight, CSS, etc. for organizations to choose from.  You really need to check them...

Calling services from Silverlight 2 part 2

In a previous post, I wrote about some samples of calling various types of services from Silverlight 2.  In the code, I was using constructors in my ASMX and WCF services with specifying a binding type and endpoint address. It was called out to me that in other demonstrations, people did not use this construct.  While the method I demonstrated works (explicitly specifying the binding and endpoint), in some cases it may not be necessary.  One such case would be if you only have one endpoint and it is basicHttpBinding. The error in my code/instructions was about changing the binding information in...

Shared project templates and ASP.NET Empty Web Site

If you are like me, you probably create a lot of projects in Visual Studio that end up getting thrown away and are intended just to test out a theory you have, double-check yourself when you are going mad because you can't find a bug, testing out something you read on a blog post, whatever. Most of the projects I create are web projects.  I've started to adopt the "_Delete" mechanism to help me identify what I can truly delete in my folders later.  But is not the point here.  One thing that I do when creating web projects is...

IM UPPIN YR RUBY

The MountainWest RubyConf 2008 is upon us just 2 weeks away in Salt Lake City, Utah.  Unfortunately I'm not going to be able to be there given my travel with The Code Trip.  IronRuby, however, was able to be a sponsor of this year's conference as a Gold Sponsor.  This sponsorship is one part that enables video production of the conference for afterwards as well as a few other things.  The organizers have done a great job getting great sponsors to make this happen, and IronRuby is grateful to be a part of that. One thing that was recently released was...

Get a slice of MIX with Quark and me.dium in Boulder, Colorado

Our current route on The Code Trip takes us to Boulder, Colorado on March 18 to the Boulder .NET User Group!  I'm really excited about this stop in Boulder, CO as we've managed to get some help from great partners to demonstrate some very cool developer stuff they are working on. Specifically, Quark and me.dium will be there to talk to the group.  Quark will be showing us some stuff they've been working on for WPF and Silverlight.  me.dium is a company that I met at MIX08 last week that were showing off some great stuff they've done with Internet Explorer...

Calling web services with Silverlight 2

UPDATE: Source code posted here. Now that Silverlight 2 is out to the masses (even in beta form), there are likely a lot of developers looking to wire-up web services with their applications in .NET rather than the Silverlight 1.0 method of Javascript.  I thought I'd give you some quick examples of how to do this using some different methods: ASP.NET Web Services (ASMX), Windows Communication Foundation (WCF), REST service, and talk about cross-domain calls.  These are meant to be examples using very much 'hello world' style services, but demonstrating at least how to execute the call. If you are an ASP.NET...

Awesome Silverlight Samples

I just saw two links that I simply have to promote as they are very helpful to people doing Silverlight development and one specifically with ASP.NET. The first is a site on silverlight.net (you should bookmark this site as a resource and subscribe to all the feeds), there is now a Silverlight 2 Beta 1 control sample page, which hosts all the new Silverlight controls on the site.  It shows some different usage of all the controls: Very cool to see all the controls implemented in one section, play around with them and see different styles in some as well. The second link...

Embedding fonts in Silverlight 2

UPDATE: The supported method for Silverlight 2 release is shown here: http://silverlight.net/learn/learnvideo.aspx?video=69800.  You basically have to make it an assembly resource. Since the beginning of Silverlight you've been able to embed fonts within a Silverlight application.  The challenge in version 1.0 was that you essentially had to use a downloader and some SetFontSource methods on a TextBlock (for example) to do it.  I wrote about this a while back when using my own handwriting as a font within Silverlight.  It looked something like this: this.downloader = control.createObject("downloader"); this.downloader.addEventListener("completed", Silverlight.createDelegate(this, this.handleFontDownloaded)); this.downloader.open("GET", "timheuer.ttf"); this.downloader.send();handleFontDownloaded: function(sender,...

Amazon S3 Browser for Live Writer

For about a year now I've been using Amazon S3 services.  Mostly I'm using it for image storage for my blog and web site.  I decided to stop using Flickr for screenshot stuff and keep it to 'photographs' when I can.  I signed up for an S3 account and have been using it for screenshot type stuff since then.  If you don't know, S3 is a service that basically enables 'object' storage in the cloud.  An object can be anything really, but I'm treating it like a remote host for images. The one thing Amazon doesn't provide themselves is a tool...

Calling Javascript functions from Silverlight 2

When working with Silverlight 2, most will be working with managed code (c#, vb, etc.).  But likely people are working with Silverlight as an additive value to their web application, providing some enhanced user experience to an application.  there may be times where you will still need to call back into the hosting html context.  For then, you'll want to be familiar with two objects HtmlDocument and HtmlPage.  Both of these objects provide access to the page context hosting your silverlight control.  If you need to seek things in the HTML DOM, you could use the HtmlDocument class.  For example,...

The Code Trip has left the building...

We're off!  Just minutes ago The Code Trip left the Venetian hotel in Las Vegas en route to our first stop in Salt Lake City.  It's going to be a late night of coding and editing of some video.  Now that we've officially left, I'll share the actual pictures of our bus so you can be on the lookout for us: Tomorrow (late tonight) we roll in to Salt Lake for the combined .NET community user group meeting at the Franklin Covey building.  We're going to spend 2 hours talking about what we saw at MIX08.  We've got a...

Terralever featured in Silverlight case study

The group that brought you one of the first Silverlight end-to-end games (Zero Gravity) is now featured for some of the work they've done with Silverlight 1.0 and Silverlight 2 for Miniclip.com, the largest online gaming site in the world. You can view the Terralever case study online here.  The Terralever crew is interviewed in four different segments talking about the project from a designer, developer, business and technical perspective. The team built two casual games for Miniclip.com on both versions of Silverlight.  The first, a Silverlight 1.0 game called 'Zombomatic 3000' has been on Miniclip's site for a few weeks now. ...

The Code Trip begins...Silverlight Tour redux

Wow, it's been a few months now since I thought about doing a road trip talking about the next wave of technologies.  I originally thought it would be the "Silvertour" but we've now actually made it happen.  I can tell you that the behind the scenes of this has been a long process.  It seems so simple and I can hear the people now saying 'why was it so hard, c'mon you are Microsoft and have zillions of dollars.'  Sure, maybe that is true about a big company, but that's also the point.  We are a company of companies and...

Silverlight for Sharepoint

I've gotten a few requests from internal local sales teams, Sharepoint professionals and developers about how to implement Silverlight in Sharepoint.  I usually try to explain that since Sharepoint is essentially an ASP.NET application it is relatively simple to implement.  Of course, that usually doesn't help :-).  What helps is some documentation and samples that show how you would use Silverlight to enhance a Sharepoint experience. As a part of the Software+Services Blueprints series, a new bundle has been made available to download to provide guidance and source code to help provide some information.  In the blueprint you'll get: ...

Open Spaces @ MIX08

Along with some of my compadres, Josh Holmes and Peter Laudati, we're helping our MIX team member Drew Robbins organize the Open Space @ MIX area.  What is it?  Well, sort of whatever you want it to be.  If you've never been to an Open Space event format before there are some things you should know... Four principles of Open Space: Whoever comes are the right people to be there Whatever happens is the only thing that could have happened ...

Silverlight 2 with Expression Blend

From the 'does the guy ever sleep' category, ScottGu enlightens us all again with a very great tutorial on using Expression Blend 2.5 (March preview coming soon) to work with Silverlight 2 content. Scott walks through a tutorial on using the design-time features of Expression Blend 2.5 and some tips along the way to produce a chat-like application using Silverlight: Definitely worth a look to study before MIX.  Someone might want to pull Scott aside about the font choice though... tags: silverlight, mix, mix08, scottgu, expression, expression blend, silverlight 2, comic sans

Silverlight 2 kimono opened

Very cool think popped in my RSS reader this morning.  Scott Guthrie (now a corp VP, congrats Scott) put up a first look post at Silverlight 2.  Not just a 'here's what is coming' but an 8-part tutorial as well as he built a sample application trying to leverage and demonstrate various parts of Silverlight 2. These tutorials should be extremely helpful for those wanting to understand some of the newer concepts brought to Silverlight.  If you haven't done a lot (or any) WPF coding before, some of this should jumpstart your knowledge a bit. take a look at 'First Look at...

students can get developer and designer tools for free

bill gates announces on channel8 a program called 'DreamSpark' which is enabling students of higher education to obtain microsoft developer and designer tools for no charge! over at the channel8 downloads page you'll see what is available: visual studio professional, expression studio, windows server 2003 standard, and xna game studio.  wow.  for now this is available in United States, the United Kingdom, Canada, China, Germany, France, Finland, Spain, Sweden, Switzerland and Belgium.  the program looks to bring more countries on in the future so check back. there is a student verification process that you have to go through and some of the...

phoenix silverlight user group

i was able to make it to the phoenix silverlight user group last night (2 separate trips downtown, yikes) and had a good time chatting with everyone there.  i understand that there will NOT be a separate march meeting because it essentially falls very close to when scott guthrie and others will be coming to town.  the group is recommending that people attend that to learn the latest and greatest about silverlight 2 right out of MIX!  we had a good discussion about various things.  mike palermo showed a couple of things he'd been working on including a simple game...

free silverlight workshop in dallas

looks like the silverlight tour is giving a free ride for a half-day session on silverlight in dallas.  i've sat in on one of the early silverlight tour stops before silverlight even was officially released.  i can only imagine that it has gotten more exciting as time goes by. the dallas event is limited to 32 attendees, so register asap if you can make it.  this free session looks to discuss: Why should I care about Silverlight What is Silverlight? ...

silverlight 1.0 game on miniclip.com

miniclip.com now has a silverlight 1.0 puzzle game to their catalog.  this is pretty good to see among the massive catalog of casual games they offer.  this game is built using silverlight 1.0 and is a good use of a lot of the capabilities (and in some cases maxing them out) for the 1.0 platform. Zombomatic ...

denver big event follow-up

thanks to all who came out to the denver devdays big event this week.  this was the first time i've traveled in a while since various family ailments and situations.  i had a good few days in denver with some good peeps.  thanks to beth massi for joining our developer crowd in denver.  she was awesome and had a crowd wherever she was. i attempted to do justice to office development in one of the sessions.  one of the challenges on that topic is that 'office' now encompasses a lot of things...here's my known short list: ...

add free online web chat to your asp.net site

i've spoken a few times about axosoft.  they are a local ISV that does some great work.  their ceo, hamid, does a great thing every year for his employees (maybe more often) in encouraging and icubating new projects.  they have a core product, but also have incubated some great ideas.  some haven't lasted, but some live strong!  either way it is great to see what kind of ideas their group comes up with. PureChat is one of those new ideas.  this is an idea that was just released.  it is for asp.net sites and is built using c# and asp.net ajax...

automating an encoding pipeline

while preparing for the code trip, we have several 'on-board' needs.  one of which is a quick method to get our content encoded for consumption by devices and frameworks (i.e., silverlight).  we want a smooth method so that we aren't boggled down with multiple tools opening and changing settings, cutting and pasting, etc. so, inspired by my colleagues post about using workflow to automate, i set about the task.  we're going to be making several assumptions along our production, one of which is we know we'll have multiple video/audio sources and that there *will* be some post-edit being done.  but once...

calling services with ajax

recently i've been getting a few notes/questions about working with web services and asp.net ajax.  my colleague, rob bagby completed a series of great web casts last year covering the topic of the ajax libraries in detail, one of which deals with web services.  there are also two webcasts that deal with calling WCF services using the ajax libraries.  i highly recommend checking them out! tags: ajax, asp.net, asp.net ajax, atlas, aspnet, wcf, services, web services, bagby, silverlight

intersoft now has beta of silverlight controls

intersoft just sent me an email that the beta versions of their WebUIStudio.NET 2008 R1 is available, which includes a few new silverlight controls: WebAqua and WebCoverFlow. i'm curious how soon the apple attorneys might prepare a cease-and-desist on the naming of both of these controls, but that's for them to figure our.  I'm more interested in getting my hands on them and playing around.  you can read their press release here on where to get them.  it's very exciting to see so many controls popping up.  i hope that when silverlight 2.0 releases that these will all be ready for...

redesign the mix web site and win

got mad design and css skillz?  take a stab at redesigning the mix web site for a contest.  i saw through twitter that adam kinney noted only one person entered yet.  and there are three prizes!!! should make winning pretty simple right now ;-). of course i'm ineligible (that's my way of getting off, because i have no mad design skillz), but might i suggest a few themes to try out: halo 3 rockband/guitar hero - have you seen this and this...

silverlight 2.0 for games, arrrr!!!

got an email today about something i hadn't seen yet, another silverlight 2.0 game, Pirates!  cameron emailed me about a cool prototype he's working on with the farseer engine.  here's a shot: as cameron puts it: "The goal of the game will be to attain the buried fortune of a long dead pirate named Rough Hand James. He created a map to his treasure and scattered the pieces all across the globe. It will be your adventure to find those map pieces and locate the treasure. You will start out on your ship with the first clue to the treasure and...

blackjack 1 gets windows mobile 6 update...finally

gizmodo reports (and i confirm the link...although everyone is downloading it now so it is sloooowww) that the samsung sgh-i607 aka blackjack now has a windows mobile 6 update available. one disappointment (for me at least) is that the updater doesn't work on vista.  argh.  gotta find me an XP box now. tags: windows mobile, winmobile, blackjack, blackjack ii, blackjack 2, samsung, sgh-i607, i607, att, wm6

scott guthrie to visit phoenix

the leaders of the arizona .net user group have convinced scott guthrie that phoenix is nice in march (and it is...spring training baby!) and he should visit.  they've organized a super user group meeting and you can find information on when/where here.  it will be hosted at scottsdale center for the arts, which is a pretty killer facility.  i'd recommend carpooling and not messing with the no parking signs (those scottsdale folks like to watch those meters). having ScottGu come to phoenix immediately after MIX08 is a great thing for the community.  if you couldn't make it to MIX, you'll be...

jumbling the encoder silverlight template files

i recently got an email from a rails developer who was using silverlight on a site to display high-quality media.  what?! you though silverlight was a windows-only technology? blasphemy!  you see, silverlight is a client-technology, which means as long as it can be served up to the browser (and the user has the plugin), the server can be your own custom version of l337hax0r web edition or whatever.  now, there are advantages of using internet information services on windows and some integration with asp.net, but that's not what this post is about.  on to the issue at hand will you... so...

silverlight streaming news - please read

there is an important announcement from the silverlight streaming team.  looks like they are moving to some newer/better hardware infrastructure.  please see the full announcement. here's the gist as well: Tonight (Tuesday, Jan. 8th) we’ll move the Microsoft Silverlight Streaming by Windows Live service from its current hardware in Sandbox to a more permanent home on new hardware in the Production environment. Note that this doesn’t change anything to the fact that it is still provided as an Alpha version with no associated SLA. At 9:00 pm PST the admin site front door (Silverlight.live.com) will be set to read-only. This means that...

silverlight firestarter (seattle) online

at the end of november i had a chance to visit seattle to attend the silverlight firestarter event.  the entire day was captured on video.  those videos are now available at the visitmix.com site.  you can stream them directly on the site or download them for offline viewing.  the sessions include content from jesse liberty, arturo toledo, laurence moroney, adam kinney, ernie booth and adam nathan. all good stuff.  enjoy. tags: silverlight,firestarter,silverlight firestarter,visitmix,mix08

more silverlight controls emerge

this time from telerik.  telerik has just announced their RAD Controls for Silverlight 1.1(2.0).  they have a site up with some demonstrations, etc. (obviously requiring silverlight 1.1 to render).  they have controls like: upload button combobox listbox menus progress bar tab...

create silverlight 1.0 project in vs 2008

i've got a few messages about 'hey, where did the silverlight project template go in visual studio 2008?  what the heck, doesn't microsoft want us to create projects?' trouble is that it is there, but different...you know same, but different. if you have visual studio 2008 installed, make sure you install the silverlight tools for visual studio 2008.  yeah, i know it says 'tools for alpha' -- just install it would ya.  after you install it, you'll have the project templates for silverlight 1.1 2.0 as well as for 1.0.  but where is it? File...New Web Site... then you should see this: that's what...

silverlight search app goes shared source

remember the tafiti site?  want to know how they did that tree visualization in silverlight?  now you can. the tafiti search site is now a windows live quick app -- and uploaded to codeplex.  you can download, view source, mess around and learn.  from the lie team: Today we are releasing the Tafiti Search Visualization source code to CodePlex, which means any developer can download, modify, and resell the code (see MS-PL License for all the details). very, very cool.  go to the codeplex site and check it out and check out the overview on LiveSide! tags: silverlight,tafiti,windows live,life platform services,open source,oss,codeplex

creating silverlight player templates part 2

i had previously written about creating custom expression encoder templates and integrating them into the encoder workflow (if you haven't read that, check it out, very simple process).  my process was simple and followed the "CASE" methodology*. Copy Always Steal Everything basically i would encode a video file to get the output of the encoder template, then blast away all the xaml in player.xaml, and create your own silverlight media player skin.  really the only thing you need to know is the 'well known names' for certain controls (the most common of which i outline in my blog post.  i've received comments...

write a plugin for expression encoder

remember that feature i was mentioning that is a plugin for expression encoder?  you know the one that enables you to publish the output immediately and directly to the silverlight streaming service? well, how would you like to write your own encoder publishing plugin.  perhaps you have a process with a content delivery network?  or have some custom process you want to implement in your own workflow (save as an encoder job file, etc.) for ongoing media encodings?  james clarke just announced a quickstart guide on developing publisher plug-ins for encoder. the code looks relatively simple to implement: [EncoderPlugin("Zip Plugin from scratch","Enables output...

silverlight firestarter heads to philly

looks like the flame is making its way to the other side of the coast...the east coast.  looks like in a week (15 DEC) the silverlight firestarter will be happening in the philly area (malvern to be specific).  you can find the agenda here at dani's blog. it looks like a great line-up of speakers as well.  although i've not met pete brown in person, i've 'conversed' with him via e-mail and he's a sharp dude.  peter laudati -- well, if you are in the northeast, a microsoft developer, and don't know peter...what's wrong with you? ;-).  and then there is...

flash releases update, changes prices, and the update process

"Competition is dropping prices, increasing quality and making everyone’s internet a better place." (ryan stewart) flash just did an update to the flash player.  i believe (according to their site) this takes it to v9.0.115.0 (at least for IE on windows).  what's included in this update?  primarily H.264 encoding support in the player.  this has been in beta for a while, but now 'official' from adobe.  the second announcement involves their (adobe) pricing/licensing changes around flash media server products, something that has been somewhat criticized for a while as cost-prohibitive.  the new pricing looks like a real aggressive price drop based...

silverlight webcast series launched

brad abrams kicked off some webcasts regarding silverlight over on msdn.  you should check out the on-demand as well as the upcoming webcast series... Kickoff Webcast: MSDN Webcast: An Introduction to Silverlight (Level 100) designers: MSDN Webcast: Designer Series (Part 1 of 5): Getting Started with Silverlight for Designers MSDN Webcast: Designer Series (Part 2 of 5): Working with Expression Design to Create Visual Assets ...

headed to the city of angels

"Go back to Jersey, Sonny. This is the City of the Angels and you haven't got any wings." (from LA Confidential) i'm headed to los angeles, ca tomorrow for a week of the phizzpop design challenge.  while last week already yielded some training in some of the expression tools and silverlight, i'm headed out to do my best to mentor those that are taking advantage of the microsoft working areas. what is the phizzpop design challenge? The PhizzPop Design Challenge pits top interactive, Web, and design agencies against one another to push the limits of technology and creativity in a battle royale. Think...

this one time at...er..um...firestarter

i hopped on a plane at 4am this morning to head back to phoenix from seattle.  oddly enough i landed in rain.  what gives phoenix?  actually it is a welcome refresh for me. i was in seattle for the silverlight fire starter event with my comrade mithun.  this was basically a one-day silverlight lovefest.  and the lineup of people was awesome: jesse liberty adam kinney laurence moroney ...

microsoft download preview site built on silveright

check out the beta of the microsoft download site.  it is built on silverlight...some media streaming happening as well as some of the subtle interactions done in silverlight. if you click on the browse downloads link you can see some of it as well as other new navigation areas... good to see microsoft starting to implement it in broader sites. tags: silverlight , microsoft , microsoft downloads , beta

twittering silverlight firestarter

i'm twittering some of my thoughts on the silverlight firestarter event.  also as people are answering questions i'm trying to provide direct pointers...so if you are interested, follow me on twitter. also the event is being filmed so subscribe to my blog for updates on when that information is available. tags: silverlight , twitter , firestarter

.net web platform roadmap for asp.net and silverlight

this morning, scottgu posted details on the roadmap for the .net web platform.  it is an exciting roadmap to me, so let me hit some of the highlights: ASP.NET 3.5 Extensions - this will include the MVC framework, AJAX improvements, dynamic data support, asp.net and silverlight support, and ado.net data services (entity framework).  this release is expected to be available for download on the web next week in the first preview mode. silverlight: because of the significant effort being made and...

busy month -- upcoming stuff

i'm surprised how much is going on in the month of december...usually it is pretty idle...but this is my largest travel month. after just visiting the tucson .net user group and the denver visual studio user group (thanks to both for hosting), i'm off tomorrow to redmond for the silverlight firestarter event.  i come home just in time for our annual festivus party which i'm super excited for.  i've been storing some prizes that i've gotten throughout the year and am stoked for this weekend.  i'm pissed at myself for not getting t-shirts made this year...argh...oh well, i hope everyone enjoys...

get visual studio 2008 pro for free

[UPDATE: I added other US cities I am aware of, any not listed here, I'm not aware of them.  Reminder that these are being hosted by user group communities in partnership with Microsoft.  If you don't attend the user groups sponsoring these events, you have them to thank and you should start attending and getting involved!!!! These events are made possible by the commitment of user groups.  You should absolutely participate in them, show your support, be an active member and get to know your local developer contact at Microsoft :-).] want the latest IDE toolset and start developing solutions in .net...

silverlight tools for vs2008 (orcas) rtm

sure enough as i told the denver visual studio user group last night that the only reason i was still running visual studio 2008 beta 2 was because the silverlight tools had not been updated yet.  check my email later...they are updated :-). the silverlight tools for alpha have been updated to work with visual studio 2008 release version (now available).  you can download the updated bits here.  i'm headed up to redmond for the silverlight firestarter event on thursday and maybe to heckle jesse a bit :-).  if you are going to be in town, drop me a line (my...

introducing: the code trip

this week at devconnections a few of my comrades were there and started to spread the word about our planning on something we are doing in the western united states.  we're calling it 'the code trip' and the plan is simple, get us (the developer evangelists who interact with our community groups) out hitting the streets and talking code.  we're in planning stages right now for sure, and brewing up some things for our stops.  we want our communities to participate in that planning.  have a good idea?  let us know.  want to ride on the RV for a leg? ...

coming soon: no more click to activate in ie

you may remember the result of EOLAS litigation a while back.  yes, the one resulting in what some feel is the annoying 'click to activate' functionality/feature/whatever that resulted when web authors chose to directly use <embed> or <object> tags in content, usually flash. this, of course, is mitigated when script creates the content, such as what silverlight does by default as well as the SWFObject script that many flash developers use (and if not, they should be).  well, while i still think a good practice in some instances, we may be looking at a solution. pete lepage of the internet explorer teams...

blogging hiatus

i'm headed out on holiday for about a week.  i haven't taken one in a long while and this will be good for me (hopefully).  i'm also headed to europe where i've never been, so i'm pretty excited.  i'm leaving the cell phone behind, so no twitter, etc.  i am equipped with a windows mobile gps-enabled handset and skype.  i'm looking forward to that experience and being able to use my custom application that i wrote to plot my points so my family can track us on virtual earth. anyhow, likely no posts for a week (not that you care).  when...

expression design sp1 improves xaml export

yo, check it.  expression design has released a service pack.  what!?  i know how can that be?  a service pack < 8 months after its release?  i say awesome.  i've been wanting microsoft teams to continue to become more and more agile especially with regards to very helpful features or great improvements of existing features based on user feedback. one such point of feedback that is implemented in expression design is that of xaml generation of the layers and/or complete surface.  you didn't know design can generate xaml?  shame on you.  i did a podcast (you should really subscribe to the...

componentone releases alpha of silverlight controls

codenamed 'sapphire,' componentone was one of the first to the market with their plans of silverlight user controls.  initially they put a bunch out there on their lab site to play with, but now you can sign up for their alpha version.  that's right, get your hands on some silverlight controls from componentone! now named Studio Enterprise Silverlight Toolset, they are taking alpha sign-ups.  to me, this is definitely a product you want to look early at.  they've got: buttons containers ...

petzold visits graceland

well, kinda.  i just found out that if you live anywhere near memphis, tn that you might want to head over to the memphis day of .net.  charles petzold, the master, will be delivering the keynote.  he aims to "explore the continuing love/hate relationship that both users and programmers have with graphics, and how WPF and Silverlight may change that relationship..." aside from the keynote, petzold has indicated that he'll be hanging out for the rest of the day to chat about WPF 3D, animation, or whatever.  if you are in the area, this sounds like a must-be-at event.  it is...

silverlight streaming for media apps made simpler

use expression encoder for creating silverlight media applications?  want to put them on silveright streaming?  frustrated perhaps that you have to create a zip file with manifests and such?  look no further! james clarke writes about a feature just added to expression encoder (via a download) where you can now add 'publish to silverlight streaming' after your encoding job is completed.  w00t! you'll need to get the encoder plugin (assuming you have encoder first) and just install that.  the post on james' site walks you through the steps, but it is a no brainer.  i'd previously written about customizing your own encoder...

mixing silverlight and aol truveo content

my colleague kirk has been writing some articles for the AOL developer network.  his first articles are up and he talks about integrating with the truveo, aol's developer api for video.  kirk does some integration with truveo's ajax api and displays information back in silverlight. the first two parts are up, and the third is underway, planning on using wcf and managed code with REST services. go check it out on kirk's site. tags: aol , truveo , silverlight , kirk evans , ajax , wcf , rest , api

silverlight installer guidance posted

one of the things interactive developers sometimes (especially with new technologies like silverlight, flex, etc.) have to worry about is 'what if the end user doesn't have XYZ installed?' -- something that is likely going to be a question when implementing something so new like silverlight. in silverlight, if the user doesn't have the plugin installed, they are presented with a 'get silverlight' badge.  it really doesn't explain much about *what* silverlight is, or what they'd be missing (i.e., interactive, rich content) if they don't install it.  to me, the default badge doesn't pass the mother-in-law factor test.  i first wrote...

silverlight and right-to-left (rtl) languages

okay, if you don't know justin-josef angel, that is a shame, the dude is smart.  he's an mvp for microsoft and has been active in the silverlight community now, trying to really start the community thinking different on extending silverlight.  lately he's done just that. anyone who has ever had to develop a global application knows the challenges of ensuring localization.  it is perhaps one of my weakest spots as a developer and i'm sure a lot of others as well.  since justin-josef speaks arabic and hebrew he wanted to tackle this problem...rtl language display in silverlight.  thus enter the Silverlight...

integrating data with silverlight and media

a video screencast that jesse and i collaborated on was just posted.  in the screencast jesse demonstrates the code we did to demonstrate a concept he calls "hypervideo" which is basically leveraging media metadata, and simulating retrieving related data information to display in the experience. this concept is very similar to the experience at HSN.tv of showing "related products" using the metadata being streamed in their experience.  i hope you find it useful and if you have any questions, please let me know! again, my goal is to try to help provide you with relevant information about microsoft web platform technologies like...

some more silverlight 3d

saw this on the 'sphere...using ulead, swf2xaml jeff and michael created 'silverlightvr 360,' showing an image of a jeep in virtual 3d.  the user is able to move the image on along both axis points to look at the object (jeep) in a virtual 3d view. tools and directions are listed on their write-up here. tags: silverlight , 3d , xaml , swf2xaml

want my job?

well, not mine specifically, but similar, just in a different location.  my team (developer and platform evangelism) is hiring in northern california (bay area) for a developer evangelist.  i think we have a really fun team and working in the bay area would be exciting (if i think my family would move, i'd consider moving). what is a developer evangelist?  great question.  i truly believe it is what you make of it.  geographical areas are different, developer needs are different...but essentially our goal is the same.  i believe that goal to be a liaison for the development communities to microsoft.  there's...

arizona silverlight user group

mike palermo has decided to start a special interest user group around silverlight!  the first meeting in the arizona area will be at interface technical training on 07-NOV at 6:00 PM.  attendance and participation are both free! please feel free to invite your friends, colleagues, etc and spread the word.  for the first meeting it will be a bit ad-hoc, but i know i'll be there and have volunteered to talk about creating controls, etc.  what do you want to hear about? you can view the other user group schedules as well as get the address for this meeting by visiting the...

integrating html and silverlight

in part 1 of my baseball example concept, i discussed how i was able to re-use some SVG vector art in XAML.  in that screencast i used an SVG file and a PDF file.  it set the stage for the remaining part of my samples here.  to recap, my goal is to show: using vector files for XAML (done), integrating that XAML and html functionality (here) and then to show a "game play" view of the vector art, extracting just the field information. in this part 2 of that goal, i set out to recreate a different user experience for the...

physics game engine for silverlight

UPDATE/correction: jeff weber authored the farseer engine, bill ported for silverlight...both did good work!  thanks for the clarification! bill reiss of dr. popper fame (my daughter loves the "bubble game" she calls it), just released the farseer physics engine, which has support for silverlight (1.1) as well. the engine is an easy to use 2D physics engine for XNA and silverlight platforms.  it contains logic for collision, joints, controllers, etc...everything you would need to start a base casual game at least. bill put it out on codeplex as an open source project as well released under the Ms-Pl.  check out some of the...

sIFR and silverlight = sistr

i saw over in the township of adam kinney that someone came up with a silverlight version of the sIFR concept. for those who don't know, sIFR (scalable inman flash replacement) in simplest forms is a method for using css to annotate elements of text that you might want replaced with higher-quality/different/pick-your-word-of-choice typography.  it provided a method on sites to essentially say "hey if javascript is enabled and flash is installed, replace this plain text header with some whiz-bang custom font to make the user say ooooooooohhhh yea" or something like that. filipe fortes, who apparently used to work on the wpf...

using expression for manipulating paths and points

while perusing the silverlight.net forums i found a question of "creating half circle in blend" and posted my answer (actually posted the xaml of my answer). rather than try to articulate it in text, which i started out doing and was failing in my own mind, i decided to do a quick screencast demonstrating what i did.  keep in mind i'm not a vector guy but did it the way i knew how.  i hope that someone can correct me with a super easier way of doing it, but until then i'm fine with my method :-).  essentially i used expression...

expression blend 2 september preview

the expression team has made another drop of their blend tool.  the september preview of 'blend 2' is available on the site.  i installed it yesterday and it has some nice improvements for both client and silverlight development.  some better control over keyspline animations if you need them, more properties exposed on things you would have liked not to edit xaml on :-), etc. have fun and get it!  you have to uninstall the august preview if you have it.  blend 1 (rtm) and blend 2 preview can run side-by-side (that's how i run them) fyi. tags: blend2 , expression , expression...

using silverlight, expression encoder and asp.net ajax

in my previous sample i talked about creating custom expression encoder templates.  good times.  also jesse alluded to a something him and i have been working on with regard to what he calls "hyper video" and what i've previously referred to as 'timed overlays' in an example. in going through both of these i found an issue that i forgot to write about (but a helpful commenter reminded me: thanks ernie!) with regard to using the expression encoder templates and asp.net ajax. the problem expression encoder uses a model of encapsulating silverlight and the media elements within an asp.net ajax control.  because they...

expression encoder and custom templates

i've been asked recently why i use the expression encoder template code in my samples for media playback in silverlight.  simple: free code :-).  the templates in expression encoder provide very interesting stub code handling the simple and advanced media playback capabilities already for you.  if all you need is a simple mediaelement in your silverlight application, then sure, it's a bit heavy.  but if you are developing a media playback integration with end-user controls, you may want to consider it.  it provides all the simple play/pause/etc functionality, but also the glitz of volume slider handlers, time thumb handlers, fullscreen...

more silverlight learning opportunities

in addition to the silverlight devcamps in san francisco and chicago that i mentioned before, my friends from overseas let me know of some other silverlight madness happening. martha rotter is going to be attending the "Silverlight sparks ignite RIA" conference in dublin on 27 SEP.  yes, dublin, ireland, not dublin, ohio, usa.  apparently this is going to happen at a large cineplex as well (i've never been to dublin, but would like to!) so it is silverlight on the silver screen! you can find out details by going to the event information site here. tags: silverlight , silverlightdevcamp , silverlightdevcampsf , silverlightdevcampchicago...

silverlight and handwriting recognition

wicked cool demonstration of silverlight, ajax and handwriting recognition by lorin over at incremental blogger.  he's a tablet pc wizard and demonstrates how he modified an older activex demonstration he had a while back to use silverlight instead. very cool! tags: silverlight , tablet , tablet pc , handwriting , handwriting recognition , inkwell

silverlight released, go to a devcamp!

now that silverlight is 'officially' released, maybe you've been waiting for that "RC" label to go away.  okay, no more excuses, time to start digging in.  what better way to do that then cuddle up with a few of your closest unknown friends and hack away, barcamp style! some fine folks have organized a SilverlightDevCamp in two areas and they are free to attend and get some SWAG, some learning, and make some connections.  designers, developers, people with macbooks, everyone is welcome. what is a silverlightdevcamp?  i'm glad you asked.   SilverlightDevCampSF is an upcoming gathering, inspired by BarCamp, to build Silverlight applications, It's...

silverlight runs on linux and other news

wow, what a day, i'm sure you're reading all about it but here's some recap: silverlight 1.0 release to web silverlight early adopters: Entertainment Tonight, Home Shopping Network, WWE expression media encoder 1.0 release (middle of press release) and holy cow here's the news for developers: microsoft officially partners with novell to deliver moonlight as the silverlight implementation for linux.  booyah.  you can read all the details about it here. ...

cheating at creating a silverlight media player

i just put up another podcast video of how to "cheat" at creating a media player for silverlight.  have you been looking at some of these media experiences with all their fancy buttons and dvd player-type overlays, etc. but didn't want to take the time to code your own?  well, you don't have to :-) (man that sounds like an infomercial) in this podcast i demonstrate using expression media encoder as a tool that will essentially generate stub code for you.  now keep in mind that expression media encoder itself generates some pretty kick arse templates that may perfectly suit you. ...

convert svg and vector to xaml with expression design for silverlight

i recently started to embark on a little 3 part series involving taking a pdf document of a baseball field and doing some silverlight and asp.net ajax love with it.  it led me along a path of creating some intense xaml design elements actually and i thought i'd share (in simpler form) the process i used. expression design is a graphic tool that enables creating vector art that can then be exported to xaml (either WPF or silverlight).  it is a great tool that i'm starting to be more and more familiar with.  design understands various import and export format but...

font embedding and rss data in silverlight

in my previous post i talked about converting rss data to json using the asp.net ajax javascriptserializer class.  i wanted to use this because i wanted an easier way of interacting with some simple data for a sample i was messing with.  i didn't really see the need to wrap it in a web service call, etc. and in the end i wanted json data.  period. so why did i want the json data?  to mess with it in silverlight of course! what i wanted to do was display my rss feed data in a different way, just out of curiosity. ...

silverlight on some free hosters

well, in my previous examples, i was using a free linux hoster.  i found another one that was much more reliable from a responsiveness standpoint, but found a snag and wanted to share. you see on some free hosters, in order to be free they'll add banner adds to your pages.  for my purposes, who cares.  i signed up with this particular one and none of my samples were working.  huh, weird i thought.  until you look at the error message of 'unknown namespace' from silverlight.  ahh... you see what the free host was doing was injecting their banner ad code into...

silverlight and php

i saw a post over in russell myers' land seemingly acknowledging the confusion that might be out there of hosting silverlight.  he noted my previous post about the topic.  in his note though, russell mentions: ...it seems entirely possible to take a Silverlight application and integrate it on an existing Apache server to create a Silverlight experience within PHP or any other language that can embed the XAML content. he's right on here, in fact, i'm not sure even samples will do it justice, but i tried anyway :-).  take for example another quick...

silverlight hosting and linux hosting

UPDATE: visit rob relyea's post on more mime types for all xaml supported apps including xaml browser apps as well. i've been seeing some discussion lately about hosting silverlight.  maybe i can take a moment here to help clarify some things and show some options. there are hosters out there that are promoting as silverlight hosters.  while i think that is great, i think some of the messaging has confused others.  for example, if you go to a hoster that doesn't list silverlight support, are they incapable of hosting silverlight?  no. in fact, a windows server isn't even required for straight-up silverlight hosting. ...

why tafiti is important

well, you've seen the flurry of tafiti no doubt (at least if you are a regular subscriber to things silverlight).  i'm not here to say "go check it out" and add another post to the flurry, but instead to perhaps look at why tafiti is important. you see, when i look at the site, i think it is cool, interesting, unique, <insert-favorite-word-here>.  but at the same time i'm a little opinionated about the ui design choice.  i should be clear that i'm no professional designer at all, and all of this is my opinion of course.  but i look at the...

implementing user controls in silverlight 1.1

following up in part 2, we build upon part 1 of our demonstration of using user controls in our silverlight applications.  in part 1, we created our user control in xaml using expression blend and then wired it up in our silverlight 1.0 application using javascript as the code. in part 2, we take the same xaml, but this time compile it into a managed assembly for consumption in a silverlight 1.1 application.  the result is that we now have a modular approach to reusable components in silverlight and the user control in managed code also affords us familiar implementation style...

implementing silverlight controls in 1.0

i just put up my latest screencast featuring a sample on how to create your own user control in silverlight version 1.0.  this is about a 24 minute screencast that walks through creating the XAML as a user control (not the primary focus) quickly, and then consuming this user control in a silverlight 1.0 application, creating the control dynamically using createFromXaml. i also realized that in the screencast i mentioned that i was using the 'open as web site' feature in visual studio 2008 instead of just right-clicking the project in blend and choosing 'edit in visual studio' -- but then...

updated blend 2 august preview

there were some issues with the blend 2 august preview tool when used with the silverlight 1.1 alpha refresh-refresh :-).  you could probably see some issues on the forum or if you launched blend 2 and didn't have the .net project types, you were probably frustrated to. in case you haven't heard, i thought it was valid to repeat the echo here on my blog.  the blend guys have refreshed their build to help alleviate this.  i guess it should be called blend 2 august preview refresh edition?  anyway, you can download the update here. tags: silverlight , blend , expression blend...

the silvertour

in my previous post about a road-trip television show i've been watching, i mentioned that i have been noddling on an idea that i've wanted to do for a while.  i've wanted to get out and meet as many developers as i can and it just seems that the same user group meetings aren't attracting new blood...why is that?  so i thought how can my peers get out there and really reach some people in a different way...and more importantly in different places.  i want to see first-hand the great things people are developing with microsoft. so my thought is road-trip. ...

feasting on food, asphalt and silverlight

i'm a food nut.  i pride myself on my ability to eat everything in sight.  seriously, i will.  i'll at least try something once.  there hasn't been anything presented in front of me that i haven't tried.  i'd probably draw the line at coagulated blood pizza or anything else presented on fear factor. one of the only reasons i have cable television is for the food network.  when i first got married my new wife (she's still my wife, btw so i'm not sure why i'm classifying here here as new) was annoyed at my infatuation by a (then unknown) chef...

silverlight controls start to emerge

as i've been traveling and talking about silverlight, there have been two main things people have been complaining discussing about silverlight, and one of them is the control set (or perhaps lack thereof).  i've had conversations with a lot of people trying to explain that you have the full HTML control set at your disposal, and that seems to work in most situations.  there may be, however, times when you want ultimate silverlight goodness.  i've been saying that i personally think that 3rd parties will beat us to the market with controls...and they are starting to emerge. take a look at...

updated silverlight tools release

there has been an updated release of the silverlight tools for visual studio beta 2.  it's being pushed to the download servers now, so propogation might take some time. this update resolves some issues people have been reporting about broken references and certain anomalies with visual studio 2008.  you should uninstall the old silverlight tools release before installing to ensure you get the updates.  there is no need to uninstall the silverlight alpha refresh runtime. get the update here: updated silverlight tools for visual studio. tags: silverlight , visual studio , silverlight tools

silverlight: return of the clean and my toolbox

you can tell when a new fiscal year has started (or at least the month after a new fiscal year).  people are back from vacations, meetings are more frequent, last-minute trips are planned, you get the picture.  all of this has been counterproductive to me being able to really sit down and do some fun things with silverlight.  not to feat though, some great things have been going on. after i had helped "bcl man" :-) upload some videos of ironruby, i decided it did not do him justice to use one of the vanilla templates and altered it a bit...

silverlight: eula's and expirations

ahh, eula's -- you know the thing you click 'next' on to get your software installed? :-)  well, for silverlight, one little note may bite some tomorrow (or today for some of you) -- well, whatever, 01 AUG 2007.  that is when silverlight beta expires (and thus the initial alpha as well).  so even if you have the plugin and working apps, it won't work. now is the time...update to the silverlight release candidate.  the release candidate also has an expiration, but now includes self-updating technology within the plugin.  check out this post to ensure you get the latest sdk's and...

silverlight: jelly overload

richardz found a place for his awesome silverlight 'jelly' samples...and added another one -- overload. check out the jelly overload! tags: silverlight , jelly graph , jelly overload , jelly pie , jelly bar , expression , xaml

silverlight: update your silverlight streaming apps

as you might suspect, if you are hosting silverlight applications via silverlight streaming, you may have to make some modifications there as well to support the release candidate.  when hosting the python cube for mark, i had to make a few updates and thought i'd give some quick pointers to information that already exists as well as walk through a simple example. if you have a streaming sample, you might be seeing it running and showing the "Get Silverlight" banner: this, of course, assumes that the user has the updated silverlight plugin installed (either 1.0 RC or 1.1 alpha...

silverlight tetris: please contact me

i'm trying to reach out to the author of silverlight tetris.  i don't speak spanish, but tried to post a note on the contact page, but got an error.  if anyone happens to know jose, please have him contact me (in english as i don't speak spanish). tags: silverlight, tetris

silverlight: preparing for rc demonstration and my contact info

after a few inquiries i thought i'd just put together a very simple, very quick demonstration of preparing an existing silverlight 1.0 application for release candidate.  i've posted previously about the preview sdk and breaking changes and this screencast walks through taking two simple samples from the silverlight.net site and prepping them for the release candidate.  you can view the screencast here. now, i know that every person's silverlight application may vary, but there will be common things you have to do.  this first screencast shows those very common things that likely everyone will have to change.  i'll post...

oscon: open source and microsoft

UPDATE: ironruby sourcecode released! this week i'm heading to one of my favorite cities, portland.  it is the week the open source geeks descend upon the oregon convention center for a week of open source-ness for OSCON. so why am i going?  i went last year and had a blast...and learned a lot.  this year i'm going to lurk a little bit more, try to get some candid thoughts of attendees and hopefully learn some more! microsoft will have a good showing this year, and i'm most excited about john lam's session on ironruby.  if you are headed to oscon,...

facebook and silverlight

after playing around with some facebook toolkits, i wanted to ensure that facebook could enable silverlight applications within their context.  you see facebook and silverlight already live in harmony in popfly where you can create oh, i don't know, whack-a-mole with your facebook friend profiles? (sidenote: popfly was just updated again...read more here.) i figured i'd whip up a quick and dirty proof using the python cube example (thus also testing to see if silverlight streaming in a facebook app would work). lo and behold, no problems: using my newfound friend jing, you can see a quick screencast of...

silverlight: breaking changes

i know i posted earlier with a pointer to the preview sdk over in sneathville, but i walked through the docs this morning and just wanted to re-iterate the need to look at the breaking changes document included in the preview sdk.  why? because when i look at the numerous samples i see that some are likely to be affected.  wouldn't you want your sample to run when the release candidate is put in the wild?  i would. breaking changes...ugh...they suck.  but bear in mind this is beta and we knew there could be some.  in looking through the docs,...

silverlight: prepare for the release candidate

in a few weeks microsoft will be releasing the release candidate for silverlight 1.0.  on joe stegman's blog, he posted about breaking changes, etc.  moving forward once the RC is released, the api will be stable and should have no further breaking changes between RC and final release.  however, there will be breaking changes in the RC from beta.  if you have a silverlight application, now is the time to start preparing for what you may have to change. microsoft has prepared a preview SDK release containing: new silverlight.js detection/installation file for both beta and RC breaking changes...

new swf to xaml converter

as seen on the silverlight.net forums (you should visit sometime)... over at theconverted.ca there is a new SWF to XAML converter in the market...according to the site: This program converts Flash animations to the Xaml format. It accepts files up to Flash version 8. It handles animation, sound and fonts. You drag files in, it generates the results. You can use the command line for automation. check out some of the demonstration conversions -- pretty impressive! tags: silverlight, xaml, swf, flash, swf converter, swf to xaml

MIX07 sessions updated

the sessions at sessions.visitmix.com for mix07 have been updated a bit.  some have included the slide decks for download, but a lot have also been updated so that you can choose the play option and get the video of the presenter side-by-side with the powerpoint.  it is an updated silverlight player, which also has chapter indexes (rollover the video) to fast-forward to points. anyhow, if you haven't seen any of them yet, or want to review, the player now really makes you feel like you are there! tags: mix07, visitmix.com, silverlight

silverlight: python cube

while reading the silverlight.net forums, i came across a post by mark easton where he posted some python code with a cube and photos.  he referenced an article regarding manipulating transform matrix concepts and although it is for flash, it equally applied to silverlight.  i thought it was interesting and got the code and ran it.  pretty cool to see python code driving silverlight applications! i offered to put the sample up somewhere for mark, so here it is below.  i actually used the silverlight streaming services to post it since it was a simple enough sample.  great work mark!  the...

silverlight: who needs inertia, introducing lt. bennett

UPDATE: for international users, the team is aware of this limited functionality...and the current build works with US English keyboard layout and US English regional settings.  sorry about that, but it's a lab project that will evolve. for the past few weeks i've had the pleasure of really seeing this whole designer-developer continuum really work.  the team over at Terralever have been working on a little lab project using silverlight.  first let me tell you about the Terralever team...they rock.  i figured there would be a ton of questions, etc., but from our first initial meeting, their team was already spouting...

silverlight: base class changes coming

over at the bcl team blog, the posted a great post everyone using silverlight 1.1 should read.  it's about the removal of some non-generic collection from silverlight.  take a moment and read it...they've been marked obsolete, but will be completely removed from Silverlight so make sure you are taking a look at these removals.  there is also a link to a post on details of how and why to convert your non-generic collections. tags: silverlight, bcl, base classes, collections

silverlight: get 40 controls for free

UPDATE: okay, so i dug a little deeper, it looks like these are implementing on a windows form host, so your mileage may vary.  getting interaction with other silverlight DOM/canvas objects might be tricky... well, i have to admit that i only spent about the last 2 minutes looking at these, so this might be an irresponsible post :-), but what i saw was impressive. netikatech just announced on their site that they are releasing 40 controls for silverlight for free!  the product, called "GOA Winforms" describes itself as an implementation of the standard System.Windows.Form class library for rich internet...

silverlight: creating video with timed overlays

just yesterday tim sneath posted a video on creating video with overlays.  as i saw that come in my reader, i was just finishing testing my code for a screencast i was recording on creating video with timed overlays.  i figured, what the heck, you can never have enough tutorials, and mine was demonstrating a different method for accomplishing the same thing. the scenario i was thinking of came to mind when i was lazy and watching television.  i saw a commercial where the person in the commercial said "if you call the number that is at the bottom of your...

silverlight: snack on some tutorials

the master of design, celso gomes, has done it again.  i got an email today about his new site, built completely in silverlight for silverlight tutorials.  check it out: http://www.nibblestutorials.net/.  it really was a good demonstration to me of something entirely built in silverlight.  well done, celso. tags: celso, celso gomes, silverlight, nibbles

silverlight and safari on windows

UPDATE: if it wasn't obvious i'll state it here...silverlight supports a specific matrix of browser and platforms (current released versions of Firefox/Safari on Mac; current released versions of Firefox/IE on Windows).  microsoft is continuing accepting feedback on platforms and take that feedback into consideration when adding new platforms/browser to that supported matrix.  the description below and others are workarounds that may result in other issues. since the immediate release of safari (beta) on windows, people are noticing (and asking) about silverlight support. well, you may notice that you'll see the default install image for silverlight when using safari for windows...

winning an xbox couldn't be easier

one of my homies just posted a note about winning an xbox through blogging.  what?! surely you couldn't be serious...ah but he is. now you might consider it shameless promotion of events, and you'd be right, but there is a purpose here.  often times when we (as those field geeks with funny position titles) organize events there is certain targets that we are trying to meet (read: the people who pay for the events want to make sure they can direct some things).  if it were up to us, we'd always make everything free and always invite everyone.  but utopia...

onramp: follow-up from silicon valley

first, thanks to all who came out to the microsoft silicon valley campus on thursday to listen to me babble about microsoft and web developer technologies.  as promised, i said i'd make a post with answers to unanswered questions and/or concerns... so here we go! logistics: expression web product: i learned some clarification on the fulfillment of the expression web product (note: if you didn't hear, those that registered and attended will receive a not-for-resale copy of expression web, one of the products we discussed and showed in the morning for developing/authoring standards-based web sites/pages/applications.  there was confusion (mostly on...

silverlight: breaking changes planned

felt this was necessary for a re-post (as i'm sure it will be all over the place).  joe stegman has announced some breaking changes and provides an updated silverlight.js file for us all to use. see his post: Some v1.0 breaking changes tags: silverlight

portland code camp wrap-up

i had a great time at the day i attended at the portland code camp!  i'm sorry for those who couldn't make it, you missed out!  we also had a great time at the kennedy school afterwards on saturday (an old elementary school transformed into a bar, restaurant, movie theater, hotel, etc. -- very cool, all the insides of the school left in tact). i delivered 3 presentations at the saturday session of code camp: virtual earth, sidebar gadgets and popfly.  first and foremost, thank you for those that attended my sessions (i apologize for the room changes again), i...

popfly is launched

check it out -- microsoft popfly is an online environment to easily (and in a fun way) create apps, mashups, gadgets, etc.  the "ide" is built on silverlight too! there is also a plugin for visual studio to look at the community submissions. view the overview and sign up for the waitlist. tags: popfly, springfield, express, coding4fun, gadget, mashup, silverlight

silverlight: layouts and control framework

one of the things that developers ask me about silverlight is regarding the control set...more specifically...where is it.  well, i don't have a timeline for you, but there are a bunch of other people working on some samples and frameworks for silverlight. dave relyea just posted a layout and control framework for the silverlight 1.1 alpha.  check it out. tags: silverlight plugin, silverlight, layout controls, wpfe, blend, relyea

silverlight: watch a ladybug poo

or at least that is what i think is happening ;-) check out silverlight from a flash developer perspective and some early findings...no IDE/tools used outside of a text editor and a very simple "game" is born... http://seeing-is-believing.blogspot.com/2007/05/sileverlight-demo-with-source-code.html tags: silverlight, flash, silverlight plugin

silverlight: in a dashboard widget

someone asked if silverlight would work in an osx dashboard widget...interesting thought i felt.  after all, the dashboard widget concept is similar to the sidebar gadget feature in vista in that it is essentially a packaged file with html, javascript, images, etc.  so i went to task and tried it out. i first started with a media player that i had been working on and it didn't go so well...more on that at a later time (startup javascripts, etc.).  after that i just dumbed it down to a simple sample that had some animation and stuff. packaged it up, deploy...

silverlight: app streaming versus media streaming

one of the most asked questions i've been getting lately has to do with the silverlight streaming service provided by the windows live services.  i think microsoft may have done ourselves a naming disservice with including "streaming" in the title.  i think to most in the tech world, the "streaming" term implies a media file streaming like .asx files or streaming audio files, etc. that are consumed by some type of player. well, silverlight streaming is a bit different in my opinion.  first, the services hosts silverlight applications.  the whole thing...xaml, media, etc.  so it isn't streaming your media directly,...

post mix expression training

okay, are you coming off of a high of MIX (or the information surrounding it)?  i know i am, heck i've seen a lot of the stuff and i was still amazed at things that i saw.  there are some great designers and developers building fantastic user experiences with windows presentation foundation (wpf) and silverlight...i was impressed. if you are like me and searching for the best way to get a leg up on this technology and the tools, you're probably hunting around for the opportunity to learn some more.  there is currently an expression blend tour that is coming...

silverlight: not working on ie7?

a few users have reported some issues with silverlight plugins not working correctly on ie7 on windows...but working fine within firefox on windows, etc. this is due to a previous ctp build of silverlight not being fully uninstalled (hey, it's ctp isn't it) and residual registry grout hanging around... the silverlight community is live and well though over at www.silverlight.net where there are forums and an answer was posted: http://silverlight.net/forums/t/437.aspx.  hope this helps! tags: silverlight, silverlight.net, silverlight forums, wpf/e, silverlight plugin

silverlight: center text on a rect

wooclan member and game-coder extraordinaire jason just posted about some hacking he did to provide some basic layout capabilities of textblocks, yeah, like basic as in centering. check it out yo. tags: silverlight, jason mauer, mauer, xaml, wpf

silverlight: what you need, when you need it...compressed

one really great feature about silverlight is the packaging aspect of it.  what do i mean by this?  well, you can essentially put a ton of assets into a compressed file and pull them out as needed.  this would provide you the ability to have a single asset package that is compressed, and thus saving on some download time.  of course there would be tradeoffs that you'd have to consider, but for sample sake, let's assume they are good. so how would you do that?  well let's say you have a bunch of images in a file name 'assets.zip' (here...

silverlight: embedding the plugin part 2

in a previous post i wrote about embedding the silverlight applications in your site using the silverlight streaming service.  i wrote about my troubles in getting output from more complex types working in the service.  here's the skinny.  i was using expression media encoder (eme for the cool kids) and the output templates for media players.  turns out the version of eme i was using was missing a few things.  the version on microsoft.com/expression is correct and is working fine. if you are using eme outputs and want to put them in silverlight streaming, do not use the <source> node...

silverlight: embedding the plugin

so what happens when you want to embed silverlight in your page?  well if you have absolute control over your site, you may not need to worry as you'll post your silverlight applications as-is.  but what if you want to just output some smaller silverlight applications in specific areas in your site, blog, etc? enter silverlight streaming.  this was announced at mix07 where you get 4gb storage for free.  now, there are some caveats that you should read about -- the 4gb is total storage, but the per-app upload has some limits...so be sure to read...it may not meet...

mix07: dynamic language superfreaks

sitting in a session watching john lam/jim hugunin: getting input from an html input element... write a ruby block... responding to a c# event... calling a visual basic function to get JSON serialized information... then doing some other stuff in python... executing animation with javascript... ...all in a single app, powered by the dynamic language runtime in Silverlight. i think i just peed my pants. tags: dlr, dynamic language runtime, john lam, jim huginin, silverlight, wpf/e, ruby, vbx, json, mix, mix07

mix07: ruby for .net and an interview with john lam

scottgu just announced microsoft is providing a ruby implementation for .net...nice. before mix i had a chance to sit down with john lam, a program manager at microsoft working on the dynamic language runtime that was announced at mix07.  i went to seattle and carved off a moment to talk with him as they prepared for mix07.  i've put the recording up on my *cast site for you to view/listen to.  some interesting things he talks about and how happy he is to finally break his silence.  in the middle, the small edit you'll see is when his office-mate, tomas...

mix07: key announcements today

well, some pretty good news coming out of mix07 today...here's a quick recap... release of Silverlight 1.0 beta supporting ajax/javascript release of Silverlight 1.1 alpha supporting .net programming model announcing cross-platform (windows/mac) .net as a part of Silverlight 1.1 alpha announcing support for dynamic languages (ruby, python out of the gate) as a part of Silverlight 1.1 alpha rtm of expression studio preview of expression blend v2 (supporting richer Silverlight development) expression media encoder preview for Silverlight Silverlight streaming by Windows Live whew, that is a lot to swallow.  i'm most excited...


DISCLAIMER:

The opinions/content expressed on this blog are provided "ASIS" with no warranties and are my own personal opinions/content (unless otherwise noted) and do not represent my employer's view in any way.