Are you one of those people who hate when people post to their blogs about how it has been so long since they’ve blogged and they apologize for the delay and cite all sorts of excuses?  Yeah, me too ;-)

I’ve been doing a lot of thinking lately about my move to the mothership this past year.  I’ve been journaling things all along the way about my feelings, frustrations, personal tribulations and great experiences I’ve had this past year.  I thought I’d share some of that with you all to provide some behind-the-scenes aspects of how some, not all, teams operate at Microsoft…the good, bad and ugly.  These are pretty random thoughts and in no particular order.  This is a bit of a random stream of thought so feel free to move along.

Background

Although this may sound like I’m writing about my first year at Microsoft, it isn’t.  I’ve actually been with Microsoft for just over 6 years now.  I started very local, becoming the developer evangelist for a geographic region (southwestern US).  In doing that I had so many great opportunities to work on a national level with developers and product teams that I was able to move into a “Community PM” role with a product team, Silverlight.  About 18 months ago I had an opportunity to get closer to the engineering process of shipping software…something I had a strong desire to accomplish.  This resulted in me relocating to Redmond, WA to work directly on the product and own some level of features.  These are my thoughts of being a part of that process and general observations at Microsoft.

Benefits

I would be remiss if I didn’t point out how incredible the concept of being ‘on campus’ feels.  The benefits are great and the way the campus is run is quite amazing.  The company does a good job trying to accommodate employees in all areas.  Having worked with Microsoft in the field I know the benefits in general are awesome, but the aspect of working on the main campus are just even greater for an employee.  You can check out some videos of some of these aspects on Channel 9 series about the campus.  Particularly some of the statistics about the shuttle service (something I use daily) and the dining services are pretty astounding.  I also think it is great that Microsoft pays for public transportation for everyone and I’ve become a regular on the King County Metro bus system…it’s awesome people watching!  Companies vary in benefits to their employees but I do believe that Microsoft offers some world-class benefits to us, and I’m grateful for that (as is my family)!

The Office

I currently work in Building 40, home of CLR, HPC, all things XAML and some other random stuff of people I never talk to.  I pretty much keep to my team on the 4th/6th floors but hear murmuring from other product teams.  You can learn a lot by just walking around!

Prior to moving here I worked from home and/or mobile with customers and community.  To say that I looked forward to office live again would be lying.  It’s an office.  My commute went from going to my basement, to driving (or taking the bus) into work every day.  When “quitting time” was done I couldn’t just walk upstairs anymore and be home to my family…I had to drive.  It is surprising how much impact an hour has on your day really when you haven’t had that time lost in commuting for so long!

Office politics.  Yes, they exists.  It is a big company.  Yes it is annoying.  You learn to navigate what matters and what doesn’t.

Office Hours and the elusive work-life balance

Okay, this one bothers me.  I don’t think of myself as a curmudgeon but I was caught off guard when someone complained that I scheduled a 9am meeting.  Seriously?!  I’ve learned that acceptable work hours around here are truly about 10:30 AM – 7:00 PM.  The busiest part of my day is about 2PM until I leave.  For someone with a family, who has just moved and not have a lot of friends/family nearby, this has been hard to accept.  I’ve been trying my best to manage expectations here.  I’m not always successful…with co-workers or my wife :-).

Work-life balance….I’ve lost it in working on campus.  This is a sad truth that I’m being honest with you here.  It’s been tough to manage a fast-paced environment/product with desires and expectations of family life.  Sometimes it works, most of the time it hasn’t lately.  I’m thankful for a very supportive wife who hasn’t found a good divorce attorney yet ;-).  Seriously though this is something I’m very conscious of daily but not always successful in resolving.

Opportunity

I’ve always scoffed a lot about being ‘on campus’ as a requirement for growth and success in a product.  In fact, I challenged Scott Guthrie many times about why he didn’t invest in product team folks in the field.  Being here on the XAML team, I now realize that, at least for our team, that would be very challenging.  Our team is so agile that decisions and features can change from the beginning to the end of the same day.  Being in the hallways where you can grab your dev lead, argue and decide within the span of a day and in person is really critical.  The value of this is incredible as you could imagine.

Being in-person on a team also provides you personal opportunity.  My office was down the hall from ScottGu.  This gave me ample opportunity to engage with the VP of my division on things we were working on and how we are interacting with other teams.

NOTE: Scott was really awesome to have that close in my opinion.  He would pop in to conference rooms when he saw folks iterating on designs and such and provide his thoughts.  Some like this (I do) and some don’t.  Some think that when a VP says something it must be done.  I’ve found this not to be accurate.  Provide a strong enough position and you can sway any VP…but yes, you should strongly consider their opinion!

I’ve also been afforded opportunities to provide briefings with Soma, BobMu and recently have had bi-weekly meetings with Jason Zander due to my work on XAML tools.  These opportunities certainly wouldn’t have been available being in Arizona.  Being in-person allows an individual to really prove themselves directly and show immediate impact. 

Corp versus Field

Having worked in the field and worked in corporate I feel I’m acutely qualified to comment on this.  Frankly, I don’t think the folks who build the products are given enough recognition.  I’ve been a part of a lot of big evangelism events (which are marketing funded) and I’ve now been involved in a lot of ship parties and/or morale events.  The company could do better showing more appreciation to those who are working tireless hours to get products out the door.

Field interaction could improve as well.  This is team-specific I feel.  Some teams feel free sharing information and others simply feel the field can’t be trusted.  This distrust usually isn’t blind though and a result of some field staff previously not honoring the confidentiality of the product teams’ wishes.  It is unfortunate but in this case one bad apple does indeed ruin it for all.

Cross-team Interaction

As you could imagine, no one team stands alone.  In the XAML team we interact with lots of folks across Visual Studio, CLR, C#, VB, C++, Microsoft Update, Microsoft.com, legal, licensing, internationalization, etc.  It’s amazing what it takes to ship a product here when you are Microsoft.  Most of the time these interactions are great.  However because each team has their own planning, timeframes and goals this isn’t always the case.  In fact colliding shipping schedules causes conflict as well at times.  These are all very difficult things to manage across team boundaries.  My chief complaint in this area is I think these boundaries show in our products and release cycles.  This is unfortunate for you, dear customer, and something I wish we as a company could focus on more.

This collaboration is essential though for success.  Teams (and products) are organized in a way that make this interesting at times.  I’ll give you an example I’m most familiar with.  As a Silverlight developer you likely use Visual Studio to write your application.  There are roughly 9 different teams involved in delivering that core experience…all dependent upon providing a unified product.  And that’s only the product and not the integration with community, content, etc.

Smart People

In this process of working with so many teams you get to work with some of the smartest people around.  You think you know something and how dumb a product feature is?  Yeah right.  You’ll be talked off the ledge pretty quickly about the scenarios you didn’t think of and how they impact the product.  You will be humbled.  I have had the chance to work with a really great set of people in all the engineering teams across the developer division. 

NOTE: Italian developers are awesome to listen to.  Ale is one person I’ve had a chance to work with and aside from learning a lot it is fun to listen to him say See-Sharp-eh. :-)

I’ve recently also been able to exchange thoughts with folks like Anders!  I can proudly say that I helped debug a situation with him…only to have the favor immediately returned when working with some of the async stuff that wasn’t working.  Opportunity + smart people == awesome.

Unfortunately smart people are attractive to other companies (or internal teams) as well.  We’ve lost some good people to other companies.  It is always hard to be happy for someone when you know you really liked working with them and wanted them to stay to make a difference.

Email Volume

Wow.  Email.  Lots of it.  Way too many “+1” wasted bytes in my inbox.  Please stop it.

I’m an information addict though and I subscribe to a TON of distribution lists at Microsoft.  I don’t just listen, I participate.  And sometimes I complain.  There is benefit to knowing the Home Server distribution list when your server crashes…or reaching out to the key tester in Windows who can tell you where your computer crashed based on your dump files.  That is awesome to have that access at your fingertips.

Best email resource?  We have an internal email called “I dunno” that you can send a note to and pretty much get an answer to who owns what product, how you solve some issue, whatever.  I feel like there is some weird robot that knows everything.  There isn’t a question I’ve thrown there that hasn’t been answered in less than an hour.

Internal Tools

Razzle, enlistment, depot, PS, TFS, CinCh, etc.  These are all acronyms or tools that are commonplace at a lot of teams.  All help streamline the internal engineering processes for our teams.  “Razzle” is basically the dev command shell environment (think custom bash).  Each team defines their own but most share common configurations and commands.  Most developers are super efficient at the command-line level to do pretty much anything.  Some other term definitions:

  • enlistment – this is basically your source-code subscription.  it’s a process of executing commands to map your local workspace to a source tree and get the razzle tools
  • depot – the source control environment.  this is a general term and can refer to TFS or some older systems
  • PS/TFS – our work item/bug tracking systems
  • CinCh – “checkin checker” – some custom continous integration tools

Probably my favorite dev tool is our code review tool.  It is really amazing.  It came out of a Garage concept (meaning people worked on it in their free time) and written by a team of eager devs (one of which is on my team).  It is an incredible tool that I hope sees integration into our developer tools one day.  Integration into our depots, annotation, and built on WPF :-).

In addition to developer tools there are some great PM tools as well.  Two in particular I like are internal sites that provide a Bing-like search for source code and bugs.  These are both wicked fast and I don’t have to have any tools installed to use them.  I can search all of DevDiv code in real-time and find the one piece of code that needs to change.

Of course there are annoying tools as well.  Our helpdesk site is unusable in my opinion.  It almost always provides me with no help and directs me to a phone number (FYI the phone first advises you to use the site to resolve your issue).

Visual Studio Engineering

I am calling this one out specifically because I think it is impressive.  A few years back I heard JasonZ say “we use Visual Studio to build Visual Studio” and I thought it was marketing fodder.  It isn’t.  The VS team has built an amazing environment around enabling DevDiv teams to be successful in building products…including the VS team themselves.  I have never realized the power of MSBuild until working on XAML tools and working in this environment.  Seriously.  I wish there was a deeper behind-the-scenes with the owners of these systems so you can appreciate what happens nightly for DevDiv products.  It’s impressive.  And yes, TFS is used and TeamBuild drives a lot of this.  Dan Moseley is an MSBuild ninja and I’ve learned a lot from him.

Localization

Want to challenge yourself?  Ensure your product is localized, geo-political safe in 42 languages.  I dare you.  This has been an immense learning area for me.  I have seen many people complain about how certain UI looks in certain products.  I’ve now realized that is a very US-centric thought.  When you run some products in Japanese, for example, you’ll realize why things are being accounted for how they are designed.  It isn’t always perfect, but products are build to accommodate all customers, not just US-English!

There are also PMs that serve as our internationalization PMs (IPM).  These folks run products (and usually Windows as well) in what we call PLOC mode, which is pseudo-localized versions.  PLOC is a process for simulating a localized product.  It’s not a real language, but basically takes the resources and turns them into foreign-looking strings.  You have not cried until you run a PLOC version of Windows with Visual Studio and tried to navigate.  These IPMs are ninjas of the keyboard shortcuts.

Specs

Nobody likes doing these.  Some teams are very strict and process heavy.  Some teams’ specs are phone pictures of whiteboard drawings.  When cross-team features happen this can get frustrating.  Managing expectations is key here. 

For the record, I hate doing specs as well.  Necessary evil.

Bugs, triage teams and hard decisions

Bugs are a reality.  There are those that you know about and those that you don’t.  For those that are reported, teams go through a triage process.  This usually involves the PM/dev/test leads of that feature area to look through the bugs, prioritize and decide what gets fixed and what doesn’t.  These are times of hard decisions.  I’ve sat in on man product triage meetings and have seen the agony in how some bugs just can’t get fixed to satisfaction.  I used to complain about lame things in products as well (or things that I thought were lame).  Now I’m on the other side.  I’m the one having to make tough calls about what to fix.  The reality is that time and resources aren’t always on your side.

Customer Interaction

This is an area where all teams at Microsoft can improve.  I think a lot of this stems from people in some engineering teams not having either spent time with real customers or they themselves never have been a customer.  This leads to some jaded opinions at times and uninformed decisions.  Some teams are way better at this than others.  Frankly I think the XAML team does a good job here informing customers, taking feedback in, and working exclusively with some top early-adopters to understand how we can improve products.  I’m a huge believer in openness and transparency.  Unfortunately not all teams share this belief.

The incoming communication channels can use some help.  You can see teams using UserVoice a bit more these days which I think is welcome.  The Connect team (the tool that customers use to log bugs against DevDiv products) is really trying to improve their experience.  I can tell you that they have reached out to community leaders within the company to understand how to streamline some process.

Team Disciplines

The disciplines I refer to here are that of program management, development and test.  These are the 3 traditional roles in engineering teams.  There are smart people in all of these disciplines but unfortunately there are too many instances of lack of respect among them.  I’ve heard one too many “just a PM” comments.  I called out a dev lead in public once about this (probably not the best thing to do but he caught me on a bad day) to chastise him.  I don’t think many people have actually surfaced this concern because he seemed alarmed I thought it was a big deal.

I do think the PM discipline needs to be way more technical across the board.  It surprised me to know that in some teams people who were designing features relied on their dev/test teams solely to verify the features.  To me, that is unacceptable.  I expect my PMs to understand and use the features they are responsible for.  I consider each PM a tester as well for their own area.  I think this is critical to success of the products.  Technical skill varies from PM to PM and form team to team.  Some see this as okay as some teams feel the PM discipline is one of process management only.

Excitement/Passion

At least on my team, I feel there is no shortage of this going around.  When I first moved up here during the summer last year I felt things were a little slow for me.  My manager told me, just wait until we get closer to ship cycles.  He was right.  It is crazy busy around shipping milestones…and the energy is electrifying.

NOTE: We “ship” many times in product teams.  Sometimes they aren’t always public.  Each milestone is considered a shipping version even if no real customer sees it. 

I can attest that this is also a very stressful time.  Peoples’ passion shows during this time when they fight for their bugs/features/whatever.  Sometimes yelling happens.  Get used to it, you aren’t in the library.  In the end the right thing happens most of the time.

Summary

If this feels like a random rant, it is.  It’s been just over a year since I made the move to the deeper engineering process.  I have had a blast learning a lot and am really, really excited to start talking about what my team has been working on since I’ve been here. 

Working for Microsoft is something I truly enjoy.  It is not without issues and a lot of the things I hate are due to ‘big company’ issues that I continually try to change but realize I’m only one of 80K+ employees here.  It is a lot of hard work, a lot of stress and a lot of personal sacrifices that get things done by people here on our teams.  We don’t always get it right, but I’ll tell you that at least I’m fighting for us to try harder to get it right more often!  Apologies for the long rant, but wanted to just share some insider thoughts.

In case you haven’t paid attention today, Microsoft announced the upcoming developer conference in September:

BUILD with Windows 8 logo

Registration is now open so get registered…and save $500 now.  For a preview of what is coming in Windows, be sure to check out all the details at the company release “Previewing ‘Windows 8’” which includes a video walk through of some of the features.

Then go register for BUILD!

May is here!…time for an updated Windows 7 Smashing Magazine theme pack!

Zombie Picnic

The May themes seem to be pretty random to me…no clear theme from contributors…zombies at a picnic?  Ok, I guess.  Here is your May 2011 Windows 7 Theme Packs for wallpapers – unfiltered and uncensored – about 26 wallpapers in all.

Special thanks to TransferBigFiles.com for hosting these wallpaper themes through their great service! (Please note that these downloads are only good for about a year.)

For details on these and to see past ones, visit the Smashing Magazine Windows 7 Theme information for the specifications I used for the theme pack as well as previous themes.  Want to participate and submit yours?  Join in!

Silverlight LogoAt the MIX11 conference Scott Guthrie announced the availability of Silverlight 5 Beta.  I suppose this doesn’t come at a surprise to most as this is now a regular annual occurrence.  In fact it is almost exactly a year ago when Silverlight 4 was released.

The team has been working very hard to deliver on the features we discussed at the Silverlight Firestarter event last December 2010.  That was a flurry of revealing that happened in December showing the world what the Silverlight team has been working on.  There was no rest for them of course and they continued to complete this initial version of Silverlight 5 to release at MIX11. 

As always with Silverlight betas, this is a developer release.  This means that this is a preview for software developers to understand and appreciate (and give feedback) the new features provided.  There is no “end-user” runtime available for the release nor a “go-live” license for you to develop applications into production. 

So enough with the pleasantries…

Download Silverlight 5 and Tools

To get started with the Silverlight 5 beta you are going to need some tools.  Here’s the link dump (be patient as some link caches get updated):

These are the full set of tools to help you evaluate Silverlight 5.  At a bare minimum for a developer you’ll need/want the Visual Studio 2010 and the Silverlight 5 Tools for VS.

NOTE: In case you are like me and don’t like to read the finer details you may have missed the note that you don’t need to install the developer runtime/SDK separately if you are installing the Silverlight 5 Tools.  Again, it is not necessary to install the SDK and developer runtimes *again* if you have already installed the Silverlight 5 Tools for Visual Studio.  The links to the developer runtimes are provided for convenience as some use these to put on test machines without developer tools to test things out and debug.

Go ahead and start downloading the tools now…here’s some information on the release for you as you download!

Silverlight 5 Resources

There are a few places you can go to get more information and quick learning on Silverlight 5:

You should also subscribe/bookmark those links as they’ll likely to be continually updated with good nuggets of information!

What’s new in Silverlight 5 – feature review

Here’s more of the details on what is new in this release.  This shouldn’t come of any surprise if you watched the Silverlight Firestarter event and saw all the new stuff.  This is a little long in description here, but hopefully for your benefit.

Tooling

How could we have a release without improved tools?  Visual Studio 2010 has proved to me to be a great platform (have you seen the Extension Manager and how you can grab all the great things online?  VSCommands is my favorite) for productive development on the Microsoft platforms.

You would expect to have the Silverlight 5 support in the tools and it is in there, all what you want.  The cool thing is that adding the tools on your existing SP1 installation gives you ultimate Silverlight multi-targeting support:

Silverlight Multi-targeting

In addition to the basics and supporting the new features, we’ve added one of my favorite tooling features that folks have been asking for: XAML debugging.  Now right now it is for Binding expressions only, but let’s be honest, that’s what you care most about right!  So what does this feature mean?  Well you can set a breakpoint in your editor on XAML lines that have the {Binding} syntax in them:

XAML Breakpoint Editor

When that binding is evaluated you’ll get information about the binding evaluation:

XAML Breakpoint Watch Window

Pretty helpful huh?  We hope so.  For now it is supported for Binding only.

Video: Pete Brown demonstrates XAML debugging

Media

A few things improved on the media front based on some feedback from our customers.  First, when having the need for low-latency sound (for things like audio loops, etc.) the MediaElement wasn’t doing the trick.  There were a few hacks you could do, but overall not ideal.  So remember how we did some fun things on the phone that allowed you to use XNA?  Well, now we have SoundEffect for Silverlight 5 as well.  This should look familiar if you are a Windows Phone developer:

   1: using Microsoft.Xna.Framework.Audio;
   2:  
   3: // theStream is some audio stream you've retrieved
   4: // from a source
   5:  
   6: SoundEffect se = SoundEffect.FromStream(theStream.Stream);
   7: se.Play();

Hopefully this will be a welcome addition for those working with audio.  You can also control the volume, pitch, etc. in the SoundEffect class.

Video: Pete Brown demonstrates low-latency sound

We also introduced a new feature that some affectionately call the “training video” feature.  Technically it’s called TrickPlay or variable speed playback.  This allows you to set a playback speed/rate on your MediaElement from 0.5-2 (where 1 is the normal playback of your media).  The idea is that you’d get media playback at your chosen speed but also proper audio pitch correction.  The code couldn’t be simpler:

   1: protected void SpeedUpTrainingButtonClicked(object sender, RoutedEventArgs args)
   2: {
   3:     trainingVideoMediaElement.PlaybackRate = 1.8;
   4: }

For the beta, the audio pitch correction isn’t yet available so when setting the PlaybackRate you’ll only see the video effect right now.

We have also enabled hardware decode for H.264 playback in this release!

^ back to top

Text

We’ve made a few improvements to the Text stack.  We’re introducing a RichTextBoxOverflow element that will allow you to have linked text containers where the text flows to another element.  This will help with automatically laying out text in situations like mulit-column.  Here’s a snippet of what it might look like using element binding:

   1: <StackPanel Width="200">
   2:     <RichTextBox Width="50" Height="50"
   3:         OverflowContentTarget="{Binding ElementName=OverflowArea}">
   4:         <Paragraph>
   5:             This is some really long text that won't fit right into the main RTB control and should overflow into the area that I've defined in my XAML to be the other section.
   6:         </Paragraph>
   7:     </RichTextBox>
   8:     <RichTextBoxOverflow x:Name="OverflowArea" />
   9: </StackPanel>

This would render:

Linked Text Container

For the typography-philes in the Silverlight world, we’re adding tracking and leading support.  If those terms are foreign to you, you are not alone!  They basically provide more control over character spacing when text is rendered.  Example:

   1: <RichTextBox FontSize="12" CharacterSpacing="300" />

Would look like:

Text Tracking and Leading

A few things that we’re working on that aren’t in in the beta right now but we’re working on are improving text clarity using pixel-snapping and enhanced OpenType support.  Some of these were demonstrated at MIX so be sure to watch the keynote and session videos!

Video: Pete Brown demonstrates text in Silverlight 5

^ back to top

Data Binding

There are a few features that I categorize in this area of data binding.  They may all not directly be related, but I mentally put them in this category.  First we now support Implicit DataTemplates.  What this means is that you can specify a DataTemplate for a specific type in your binding.  Let’s use a simple example.  Let’s say I have an object Person which has FirstName, LastName, Title.  I now have another object called Manager, which inherits from Person and Employee which also inherits from Person.  If I was binding to a list box and wanted to list these people I could do something like this:

Class Code:

   1: void MainPage_Loaded(object sender, RoutedEventArgs e)
   2: {
   3:     List<Person> people = new List<Person>();
   4:  
   5:     people.Add(new Manager() { FirstName = "Scott", LastName = "Guthrie", Title = "VP" });
   6:     people.Add(new Employee() { FirstName = "Tim", LastName = "Heuer", Title = "Minion" });
   7:     people.Add(new Manager() { FirstName = "Steve", LastName = "Ballmer", Title = "CEO" });
   8:     people.Add(new Employee() { FirstName = "Scott", LastName = "Hanselman", Title = "Open Source Fanatic" });
   9:  
  10:     PeopleList.ItemsSource = people;
  11: }

XAML:

   1: <ListBox x:Name="PeopleList">
   2:     <ListBox.Resources>
   3:         <DataTemplate DataType="local:Manager">
   4:             <Border Background="LightBlue">
   5:                 <StackPanel Orientation="Horizontal">
   6:                     <TextBlock Text="{Binding FirstName}" />
   7:                     <TextBlock Text="{Binding LastName}" />
   8:                 </StackPanel>
   9:             </Border>
  10:         </DataTemplate>
  11:         <DataTemplate DataType="local:Employee">
  12:             <Border Background="Bisque">
  13:                 <StackPanel Orientation="Horizontal">
  14:                     <TextBlock Text="{Binding FirstName}" />
  15:                     <TextBlock Text="{Binding LastName}" />
  16:                 </StackPanel>
  17:             </Border>
  18:         </DataTemplate>
  19:     </ListBox.Resources>
  20: </ListBox>

which would render:

Implicit DataType Binding

This flexibility allows me to use binding on same shaped objects, but provide unique characteristics in my template where appropriate.

Video: Pete Brown demonstrates Implicit DataTemplates

Ancestor RelativeSource binding is also now supported which allows a DataTemplate to bind to a property of the element that contains it, like:

   1: <UserControl x:Class=”MyApplication1.UserControl1
   2:             xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation
   3:             xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml>
   4:     <ContentControl Tag=”SomeValue>
   5:         <HeaderdContentControl>
   6:             <HeaderedContentControl.Header>
   7:                 <TextBlock Text=”{Binding Tag, RelativeSource=
   8: {RelativeSource,AncestorType=ContentControl, AncestorLevel=2}}” />
   9:             </HeaderedContentControl.Header>
  10:             <Button>Click Me!</Button>
  11:         </HeaderdContentControl>
  12:     </ContentControl>
  13: </UserControl>

This has been a highly requested feature as well!

How about some custom MarkupExtensions?  Yes, that’s available now as well!  This will help with those who follow the MVVM pattern of development as well as those who have been yearning to be able to have their own expressions run on markup.  I’ve also thought people could use this to scaffold localization efforts as well around a MarkupExtension.  Maybe something like:

   1: <TextBlock Text="{local:ResourceLookup Path=MyResourceKey}" />

I think this will be a useful feature.  Of course you are required to actually write code for your extension!

Also in the beta is the ability to perform binding in Style setters.  These are some great improvements to our markup/binding story and features which you have been asking for so I can’t wait to see how they are used!

^ back to top

Controls

This is another general category I am including some features which are available in Silverlight 5.

First is what we call ClickCount.  This will help with basically doing the double-click tracking on elements in your application:

   1: private void CheckClick(object sender, MouseButtonEventArgs e)
   2: {
   3:     if (e.ClickCount == 2)
   4:     {
   5:         // double-click happened
   6:     }
   7: }

Video: Pete Brown demonstrates ClickCount usage

Next is multiple-window support.  This is the same Window element that the MainWindow shares and you are able to create numerous Windows that your application can interact with and show as separate windows in the OS.  This is not a ChildWindow implementation where they are all within the main object.  This feature is available to out-of-browser applications.  Once the main application is closed, all the Windows created from that will close as well.

Video: Pete Brown demonstrates multiple Windows

^ back to top

3D Graphics API

One of the coolest demos at the Silverlight Firestarter was the 3D demonstrations.  I don’t even claim to be close to a novice on 3D graphics, but I can’t wait to see what people do with the 3D APIs.  I would keep a watch on Rene Schulte as I’m positive he’ll have some cool stuff come out!  It’s hard to show a short snippet of 3D but here’s some effects you’ll be able to do:

Silverlight 3D Example

Be sure to watch out for more examples here to understand the capabilities.

Check out Rene Schulte and Andy Beaulieu for some good examples.  Here are some teasers:

^ back to top

Trusted Applications in Browser

A new feature we are bringing is the ability to do some of the “trusted” features in Silverlight in the browser.  This brings the current functionality of trusted applications in current form to be used in the browser context without having to be installed.  This still requires the XAP to have the ElevatedPermissions security setting in the manifest as it would exist with out-of-browser applications as well as the XAP being signed (and the certificate in the user’s trusted publisher store).

Additionally the requirement would be that a registry key be set on the machine to enable this.  This could be deployed via Group Policy or other desktop-management techniques.  Once these are in place, the application can take advantage of the elevated permissions feature set introduced in Silverlight 4, including things like full keyboard access in full-screen mode.

^ back to top

Trusted Applications Out-of-browser Enhancements

In addition to the new multiple Window support, trusted out-of-browser applications can now access the broader file system outside of the user’s “My Documents” type areas on the disk.  We hope this provides greater flexibility in the most trusted application area.

^ back to top

General “stuff”

In addition to the features noted above, here’s some things that are also included that I chose not to put in one of these categories and are implemented in the Silverlight 5 beta:

  • Startup performance improvements on multi-core systems (multi-core JIT)
  • ComboBox with type-ahead searching
  • DefaultFileName in SaveFileDialog!!!
  • Improvements in the graphics stack brought over from the Windows Phone codebase
  • Hardware acceleration in Windowless mode in Internet Explorer 9

You may be realizing there was a lot more shown at MIX keynote and will be discussed.  You’d be right.  There are a number of things we are still refining that aren’t in the current beta such as:

  • Vector printing
  • Power awareness for things like full-screen apps (i.e., don’t put me to sleep if I’m watching an awesome movie)
  • Remote control support allowing users to control media playback
  • OpenType support as previously mentioned
  • Text clarity improvements with pixel snapping as previously mentioned
  • A new DataContextChanged event
  • WS-Trust support for services
  • 64-bit support for the plugin
  • COM interop for trusted in-browser applications
  • P/Invoke for trusted applications
  • PivotViewer control improvements and distributed in the SDK

As you can see we’re still going to be busy and hope that you like what you see so far!

^ back to top

Summary and Feedback

Now you have some new toys to play with.  If you’ve read all this post then your tools should have been done downloading now, so go install them, watch some of Pete’s videos linked here and learn about the new features.  If you find issues please be sure to report the feedback (it is better to report bugs/issues via the official channels than as a comment here).  Also be sure to read the changes document to get an idea of how any changes may affect your applications.

Congratulations to the Silverlight 5 team (be sure to say hello to them at MIX if you are there) and we hope you like what you see and the direction we’re going to enable features you’ve been asking for in the platform.

Hope this helps!

April showers bring May flowers as they say…time for an updated Windows 7 Smashing Magazine theme pack!

The April themes follow the theme what you'd expect with some flowers and such...ad a few fun ones sprinkled in there.  Here is your April 2011 Windows 7 Theme Packs for wallpapers – unfiltered and uncensored – about 35 wallpapers in all.

Special thanks to TransferBigFiles.com for hosting these wallpaper themes through their great service! (Please note that these downloads are only good for about a year.)

For details on these and to see past ones, visit the Smashing Magazine Windows 7 Theme information for the specifications I used for the theme pack as well as previous themes.  Want to participate and submit yours?  Join in!