×

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: xaml

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.



There are 268 entries for the tag xaml

Using AppBarButton in Windows 8.1

In a previous post I talked about removing the dependency on StandardStyles.xaml from your Windows 8.1 projects.  One of those tips noted that a popular use of the styles in that helper file was the AppBarButton styles and the roughly 200 different glyphs used for AppBarButtons.  I thought I’d dig a little deeper quickly on the use of AppBarButton since I received a few pieces of email about it. Typical Scenario – Symbol Icons The AppBarButton class is new in Windows 8.1 and primarily intended for use the CommandBar scenario, providing the UI, behavior and accessibility needs to...

Getting rid of StandardStyles.xaml in Windows 8.1

If you’ve created a Windows 8 app using XAML then you’ve likely seen a file in the project called StandardStyles.xaml in the Common folder and merged in with your application.  As I’ve seen apps developed I’ve seen people pretty much treat this as a system component and not change it at all.  Sometimes that’s good, but mostly it has been bad.  There are a lot of apps that I’ve seen that don’t use a lot of the styles in that dictionary, but don’t do anything to trim the file or even remove it if not needed. The file was...

Callisto Migration Tip: Menus

I’m continuing in my series of helping to provide Callisto migration tips to use new Windows 8.1 features. In a recent post I talked about the Flyout control and provided the path to the platform-provided features. In Callisto, the Menu control was provided as sort of a prescribed content for the Flyout control. In fact you really couldn’t use Menu without Flyout. This guide will help you change to the platform-provided MenuFlyout now available in Windows 8.1. API Differences On the public surface area, there aren’t actually many changes here. Windows 8.1 MenuFlyout provides more...

Callisto Migration Tip: Flyouts

This is another post in my series of providing migration tips from certain Callisto controls to using Windows 8.1 features. I previously demonstrated probably the most popular Callisto control, the SettingsFlyout. Coming in a very close second in popularity is the Flyout control. The Flyout is a concept of a non-modal small dialog for information and commands. The primary use case for a lot of Flyouts was something from Button areas, namely the AppBar. Getting the experience right was not intuitively easy using a Popup primitive as you had to handle the right...

Callisto Migration Tip: Use PlaceholderText in Windows 8.1

Continuing on my tips in migrating from Callisto for platform-supported Windows 8.1 APIs, I’ll cover another simple, but helpful text control in this post: WatermarkTextBox. When writing an app that provides input from customers, providing some “hint” when there is no text is a valuable thing to add. Here’s how to change to the platform-supported APIs. Change back to TextBox When using Callisto, you had to use a specific control that derived from TextBox. Simple enough: <callisto:WatermarkTextBox Watermark="Enter some text..." /> In Windows 8.1 the concept of watermark text was added to controls for text input, including PasswordBox (one...

Callisto Migration Tip: Use CharacterEllipsis

Frankly I’m going to be honest and say I’m not sure why it took us so long to add this capability to TextBlock, especially given that the support in Callisto provided via DynamicTextBlock was originally done in Silverlight 2. O_O. Well, Robby can rest well now knowing that we no longer have to depend on his contributions to Callisto. Example of use DynamicTextBlock on bottom Here’s the quick migration tip. Change back to TextBlock The DynamicTextBlock served one purpose, to provide trimming at the character level rather than the word level. The implementation of DynamicTextBlock was done...

Callisto Migration Tip: Use Windows 8.1 SettingsFlyout

As a part of my promise from my previous post talking about migrating to new Windows 8.1 controls instead of some Callisto ones, I’ll talk about how to leverage the new SettingsFlyout control provided by the framework. Without a doubt one of the two most popular Callisto controls is the SettingsFlyout. This is a marquee experience for Windows Store apps to provide the “charm” area for managing settings for your application. This control provides the animations, near pixel-perfect UI and behavior for handling the software keyboard movement. Like everything in Callisto, it is simple...

Callisto Update for Windows 8.1

As I spent time last week updating my Callisto library for Windows 8.1 I realized it was a long time between the last release.  Well, I’ve finally updated it for Windows 8.1 release which is now available.  This is a major, yet minor release…allow me to explain. Windows 8 Support As of the Callisto 1.4.0 release, Windows 8 support ends.  Support in the non-commercial Open Source world is a bit of a funny term as the support has always been provided by myself and Morten.  I wrestled for a few days trying to keep a source code base,...

Creating XAML Code Snippets for Visual Studio 2013

A few weeks ago I had the great pleasure of being in front of you, our developer customers (and friends) at the Microsoft BUILD conference. (I never know how to write “build” in a sentence and refuse to use the “//” in front of it.) These are things that I LOVE doing and wish I could do it more. I had the privilege of introducing an overview of what was new in the XAML UI framework for Windows 8.1. All the sessions are recorded so please go view mine and review it how you think so they...

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...

Remote Debugging your Windows Store app on your Surface

So you got that shiny new Surface device today?  I’m sure you spent the first few hours just opening it up, setting your personal experiences to your desire, re-installing and discovering new apps. But you are a developer and now you want to see how your app looks on this great device…Here are some tips to get you quickly started. Setting up the tools One thing to keep in mind is that Surface is NOT a full ‘desktop’ machine and runs on an ARM processor.  This means to that you cannot install Visual Studio directly on the...

Using Azure Web Sites to market your Windows App

In some of our internal discussion lists there was some questions about how to host certain content for their application.  Most of the discussion came up from apps needing a privacy policy (Rule 4.1 from the Windows Store App Certification Requirements).  Some folks had apps they just developed, but no “site” or service they were using.  But they needed to host a privacy policy.  Lots of thoughts were floated around and I suggested Azure Free Web Sites as an option.  I originally suggested it as a simple way you could just have a URL to a privacy policy, but…duh, you...

Using vector data for AppBar icons in XAML

I was helping a friend today doing some over-the-shoulder code review and suggestions for his Windows app he’s writing for the store.  In doing this I asked a question about how to perform a certain action.  He indicated that he put those functions in the AppBar and was it not obvious I was supposed to use them.  I looked at the AppBar again and found out why I wasn’t drawn to them.  First, the labels he used weren’t descriptive to me and relied too much on me looking at the actual icon.  Second, however, is that when I hovered over...

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...

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...

Develop your app for everyone–localize your UI

Being more involved in the engineering process of a product I had the chance to participate in the design of various features instead of just the ones that I’m responsible for delivering.  One of those areas was the way we would enable developers to produce localized applications.  Before this process I have to be honest and as an app developer never really paid much attention to providing localized versions of any app that I wrote.  I had absolutely no good reason for coming to that decision, just never bothered.  In helping to design and understand localization a bit more I...

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: ...

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 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...

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...

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 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...

Silverlight is dead. Long live Silverlight!

Well PDC10 is over (note: head on over to the PDC site to view all the sessions).  There was a lot of talk about Internet Explorer 9 (and another preview update) as well as general web development.  There had been some reports on the 2nd day of PDC commenting about the shift in strategy about Silverlight. You may have read the initial story from Mary Jo Foley which led to the tsunami of information about Silverlight being done, over and killed except for the Windows Phone 7 platform.  Other popular news outlets picked up on the story,...

Deploying Silverlight assemblies via NuPack

Yesterday there was quite a buzz around something Microsoft just released called “NuPack” which is described as: NuPack is a free open source package manager that makes it easy for you to find, install, and use .NET libraries in your projects. It works with all .NET project types (including, but not limited to, both ASP.NET Web Forms and ASP.NET MVC). NuPack enables developers who maintain open source projects (for example, projects like Moq, NHibernate, Ninject, StructureMap, NUnit, Windsor, RhinoMocks, Elmah, etc) to package up their libraries and register them with an online gallery/catalog...

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 –...

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...

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 ...

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\}}"...

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...

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)....

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...

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...

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 ...

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...

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...

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...

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...

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...

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...

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...

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...

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 ...

Getting Started with Silverlight development

Over time a few people have contacted me about the missing WatermarkedTextbox from Scott Guthrie’s Digg sample for Silverlight he created a while back.  I had posted the updated code and binaries for WatermarkedTextbox here for you to use if you wish.  NOTE: Incidentally this is the same code that is actually in the DateTimeTextBox that is included in the Silverlight Toolkit if you just want to use that :-). After thinking about it though, I decided to take a stab at updating this getting started guide for new developers to Silverlight to incorporate some new features.  This isn’t for you...

Getting started with Silverlight: Part 1 - The tools and Hello World

This is a first part in a series of getting started posts for Silverlight developers.  In our series in getting started, we’ll eventually build out an application that searches Twitter for monitoring keywords and automatically refreshes at a specified interval.  Before we start getting too deep, let’s make sure you have the tools necessary to get started and understand the fundamentals of the developer experience for Silverlight. The Tools Of course, with any development all you need is a text editor and a compiler, but you’d be crazy these days not to use world-class tools.  That...

Getting started with Silverlight: Part 2 - Defining the UI layout and Navigation

This is part 2 in a series on getting started with Silverlight.  To view the index to the series click here.  You can download the completed project files for this sample application in C# or Visual Basic. Understanding layout management in XAML applications is an important aspect in being successful in Silverlight development.  For most coming from the web world, this will be one of the bigger challenges if you are not a CSS wizard. Understanding Layout Options Silverlight provides a flexible system for laying out UI elements on a surface.  There are layout models to support...

Getting started with Silverlight: Part 3 – Accessing Data

This is part 3 in a series on getting started with Silverlight.  To view the index to the series click here.  You can download the completed project files for this sample application in C# or Visual Basic. Now that we have our initial layout outlined and some controls to work with, let’s start getting the data.  Since we’re going to use Twitter search, we’ll be leveraging their web service API.  In our application we won’t be hosting our own database or anything but I did want to point out the various ways you can access data via Silverlight before we go...

Getting started with Silverlight: Part 4 – Binding the data and storing some for later

This is part 4 in a series on getting started with Silverlight.  To view the index to the series click here.  You can download the completed project files for this sample application in C# or Visual Basic. In the previous step 3 we did a lot of work to get back our data from a public web service and display it in a control.  The DataGrid control we used, however, isn’t really the UI we’re looking for so let’s define what we want.  To do this we’re going to use an ItemsControl and a DataTemplate.  This will introduce us to XAML...

Getting started with Silverlight: Part 6 – Polish the UI with Styles and Templates

This is part 6 in a series on getting started with Silverlight.  To view the index to the series click here. You can download the completed project files for this sample application in C# or Visual Basic. We now have a functioning application but could use some more polish.  Let’s make the data template for the search results look a little better.  We’re going to modify a few things in the data template in Search.xaml for the ItemsControl.  These modifications can be done in Blend just like we have been doing with the editing template features.  This...

Getting started with Silverlight: Part 7 – Out-of-browser experiences

This is part 7 in a series on getting started with Silverlight.  To view the index to the series click here.  You can download the completed project files for this sample application in C# or Visual Basic. In our final stage of this getting started series, we are going to make our application available for installation outside of the browser.  The steps are much simpler than you think. Create the manifest Using Visual Studio, right-click on the Silverlight application’s project and choose properties.  You’ll see a dialog box come up – notice the checkbox about Out-of-browser settings:...

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...

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...

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...

Silverlight Visual Studio helper files

For things that aren’t a part of the Visual Studio tools (yet) and things that help me move faster in my development, I like to take advantage of the power of Visual Studio’s templates and snippets capabilities.  I’ve created a few and modified a few of others that I use regularly.  I’ve shown them in a few presentations and thought I’d package them up in a single bundle for your convenience if you choose to use them.  I was going to package Robby’s snippets up as well, but didn’t think he’d appreciate that…you should get his Silverlight snippets as well...

.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...

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...

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...

Learning WPF at the WPF LOB tour and XAMLFest events

There seems to be a lot of buzz around Silverlight lately and I admit, I like it :-).  But I also think that there is a huge misconception about Silverlight “replacing” WPF.  I get emails a lot about people asking me questions about Silverlight and after a bit of prodding, I see that their target platform for their application is Windows.  I then begin my rant on why it should be WPF if that is the target platform.  I’m usually met with some weird looks being that I do a lot of Silverlight, but I state my case accordingly. The...

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:...

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...

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: ...

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. ...

Testing Silverlight Applications

If you are a developer who likes various aspect of testing in your application (beyond the “does it work” testing), you may be interested in a few frameworks for Silverlight. Microsoft Silverlight Unit Test Framework This testing framework was developed by Jeff Wilcox of the Silverlight Toolkit fame among other things.  This test framework is used by the Silverlight Toolkit team themselves (as is what is shipped with the source code for the project).  This framework runs unit test inside the browser and includes the ability to test rich controls as well as the entire Silverlight platform. ...

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...

Silverlight 2 gets minor update

Yesterday a minor update to the Silverlight 2 runtime was released.  You may see terms of “GDR 1” floating around.  That’s pretty much an internal term at Microsoft referred to as “general distribution release” – yeah, I know we have a lot of random terms.  Think of it just as an incremental update.  If you are curious for Silverlight’s entire release history, you can view that here. So what’s in it?  Well, nothing earth shattering if you were expecting feature updates.  There were some needed fixes based on customer feedback that we included in this update (which is version...

Prism v2 – Guidance and Patterns for WPF and Silverlight

The big news in the Silverlight developer world today is the release of Prism v2 (also called the Composite Application Guidance).  So what is this? Prism guidance is a set of tools, samples, references and written guidance to help you more easily build modular applications.  Generally the “modular” application will feature several screens, flexible user interaction and role-based behavior.  Composite applications using these patterns are meant to be loosely coupled and contain independently evolving pieces that can work together.  So in the Prism 2 release you are provided: Composite Application Library Reference...

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...

Moonlight 1.0 Released, Silverlight script updated – and a Chrome hack

First a congratulations to the Moonlight team for reaching their official release of 1.0!  Miguel and team have done a great job providing parity with Silverlight 1.0 and should be proud of their accomplishments.  Miguel, when is Moonlight 2 coming out :-) -- no rest!! But seriously, this is a good accomplishment for the ecosystem.  Last month I wrote and recorded my experience of the Moonlight installer/rendering on an OpenSUSE environment.  What this demonstrated was that we’d integrated the Moonlight redirection/installer into the server-side installer detection from Microsoft.  Users on Linux visiting a Silverlight 1.0 application and not having...

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...

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...

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...

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...

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...

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...

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...

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)...

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...

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...

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...

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...

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...

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...

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...

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...

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 ...

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...

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...

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...

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...

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

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...

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,...

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...

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...

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: ...

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...

inkscape at socal linux expo - svg to xaml

i had previously done a screencast where i talked about the tools i use to convert vector graphics in SVG format to XAML assets to be consumed in either WPF or Silverlight applicaitons.  one of the tools mentioned in the screencast is Inkscape.  inkscape is an open source vector graphics editor, with capabilitis siilar to illustrator, freehand, etc and uses the SVG file format (mostly).  one of the cool things about inkscape is the extensibility already offered in the open source platform.  after having some colorful discussions with my local linux group on their discussion group, i met one of...

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...

pdc2008 announced

pdc for 2008 has been announced so you can save the date. the professional developer conference 2008 will be 27-30 OCTOBER at the Los Angeles Convention Center.  if you want the details (minimal now other than what i just said), you can visit the pdc2008 site. tags: pdc , pdc2008 , devdays , developer , professional developer conference , silverlight , visual studio , linq , asp.net , orcas , vb10 , vb , xml , xaml

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 ...

.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...

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...

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

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...

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...

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: 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: 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,...

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

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...

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: 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...

expression blend training coming to a city near you

i have to say, i'm really excited about this...for a while now i've been talking to customers and communities about wpf and expression blend.  i have to admit though, i'm not a designer, not even a good novice designer :-).  but i "get" expression blend -- the framework is much simpler for me to understand as a novice...and when i see experts open the tool i'm amazed at how quick they understand it and begin to create some compelling visuals/applications. anywhoo, there is a roadtrip happening...expression blend near you!  so check out the city list and register.  you'll learn some...

wpf/e: zune miniplayer

i've been trying to learn more and more about wpf/e and the current functionality in the february ctp, so i decided to jump on the create-a-video-player-skin bandwagon and mock something up. i thought it would be quite the incredible thing (read: couldn't think of a better idea) to show a zune player...so whoala: and when you click 'start player' (yes i know it would be cool to show the player as a playlist and use the normal zune buttons, but c'mon, v.0.0.3 here...work with me people) it rotates to show you the video (if you don't own a zune,...


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.