MIX11: Boot Camps
Today was the preconference day at MIX11, which means boot camps for everyone that applied for them. There were options for the morning and afternoon boot camps and I chose the Silverlight and SharePoint & Silverlight boot camps. This is a brief summary of what I think were things of interest. Silverlight boot camp I didn’t came to this boot camp to improve my knowledge on Silverlight, but more because of the speakers: John Papa and Mike Taulty.
Advanced MVVM: Doing visual states properly
An important plus of rich internet applications is the potential user experience you can achieve by applying UX patterns. A part of this is the visual states and their transitions. A visual state determines what the user interface looks like at a certain point in time and the transitions describe how the application moves from one visual state to the other, many times using animations to enhance the experience.
Using the Sync Framework on Windows Phone 7
For a mobile platform, like Windows Phone 7, you may be required to allow an application to work even when there’s no data connection available. Doing so is not that easy. You need to manage state locally, synchronize changed data (one-way or duplex) and maybe even handle conflicts. Luckily Microsoft offers the Sync Framework which makes it easier for you to accomplish this by taking much of the required plumbing out of your hands completely.
Building a location aware Windows Phone 7 application
The Windows Phone 7 SDK contains a couple of APIs for interacting with different parts of the phone hardware, like accessing the camera or initiating a phone call. One of the cool APIs of Windows Phone 7 is the Location API. Just as in the desktop version of .NET Framework 4.0, the Location API enables you to get the approximate location of the user. To find the location of the user, the API uses GPS, WiFi or cell tower triangulation, where the first is the most and the latter least accurate.
WCF RIA Services OData endpoint does NOT support update or LINQ
After struggling with WCF RIA Services v1 (Silverlight 4 RTM) to enable insert/update for the OData endpoint for use with Windows Phone 7, I finally figured it out. The current version of WCF RIA Services does NOT support update or LINQ! I think I searched for a couple of hours until I found the single line of information on this in this following Silverlight TV post: NOTE: The ODATA endpoint has very limited support in V1.
MCE Guide Editor source code
I got a few requests for the source code of MCE Guide Editor. I once started working on a new release of it and during the process I discovered that the solution I chose wasn’t going to work. This meant I didn’t have the source of the working version of the tool. What I did was disassemble the executable. I’m currently working on a Windows 7 PC, so I wasn’t able to compile the disassembled code because I’m missing the ehome dll.
Honk twice if you see us!
Today I witnessed the arrival of eight Avanade branded Fiat 500 cars. They arrived in a single line in front of our main office, where they stand now. The orange / black color combination draws a lot of attention and enthousiasm. Together with the branding and racing stripes they form the perfect car for our core services team. Secretly, in our hearts, the customer facing employees, driving our big luxurous lease cars, would die to drive one of these babies ourselves.
Building Vista Media Center Add-ins (Dutch)
It’s been a while since I wrote an article on developing Vista Media Center Add-ins. A month ago the article was published in the Dutch .Net Magazine and today I found the digital version is available as well. In the article I demonstrate how to use the Viddler.com API to get a list of videos and display them in your add-in. The goal was to build a player for Viddler.com videos, but unfortunately the API method for getting the raw video is still not available.
Day 0: arrived in LA
Yesterday afternoon we (my collegues and I) arrived in LA. Purpose of visit: the Microsoft Professional Developer Conference 2008 (PDC’08). It promises to be a very interesting week with a lot of new stuff from Microsoft, including Windows 7, ‘Oslo’ and ‘Dublin’. After arrival we checked into our rooms, grabbed a slice of pizza, had a drink and went to bed. We tried to join the party by Jeffrey Pallermo, but the waiting time was about 40 minutes and we heard there was no more beer (no problem for me as non-alcohol drinking person, but some of my collegues seemed to mind :)).
Consume WCF service using Sharepoint Designer
By default the SharePoint Designer is unable to consume WCF services because it fails to recognize the structure of the request messages. There is a workaround if you still need to consume WCF services using the Designer. However, this does not work via the datasource wizard but instead requires some manual intervention. There are two methods to do accomplish this: Modify the datasource Modify the code in the page The first method is easier to implement and gives you more control over the output.
Better WSSF solution structure
I’ve done my share of work with the Web Service Software Factory modelling edition, but never have I liked the solution structure it generates for me. Or either the namespaces of the projects are wrong, or the paths became too long because of the fully qualified names I’d use. This time I reserved some time to tackle this once and for all. The result is an easy to apply patch for WSSF: Modelling Edition.
Viddler.Net on Codeplex
Things are moving fast. Yesterday I released an early first version of Viddler.Net, a wrapper for the Viddle API. Today I was able to post an updated version to Codeplex, which seems more suitable for managing this project than my own blog. The updated version uses HTTP POST instead of GET and includes one extra implemented method to upload videos. Find the Codeplex project at http://www.codeplex.com/ViddlerDotNet