davidpoll.com
Building systems, writing about engineering, and learning in public.
Posts
-
Quickly building a trial mode for a Windows Phone application
Wow – long time no blog! Over the last few months, I took a bit of a break from blogging, but fear not – I’ve been a busy bee. Since I last blogged, a lot has changed for me. In particular, I decided to return to my home state of California. While I’m still with Microsoft (in the Bay Area), I’m no longer with the Silverlight team. I’m not done with Silverlight yet, though! I’ve continued working on various additions to my SLaB library, expanding its scope from utilities for Silverlight on the desktop to Silverlight for Windows Phone. I did most of this work in the course of building a variety of apps for Windows Phone for fun, curiosity, and utility. If you’re interested, head over to the Applications section of my website. There, you’ll see what I’ve been working on: apps for singers, barbershoppers, and everyone else!
-
To XAML, with love (an experiment with XAML Serialization in Silverlight)
I’m a big fan of XAML. It provides a nice, declarative, toolable way of defining UI, encourages separation of UI logic and application logic, and is flexible enough to allow an impressive amount of expressiveness. In addition to being a way to describe a user interface, XAML can be used as a serialization format for arbitrary CLR objects. A little over a month ago, as I was building out a prototype of an idea I had for a blog post for another time, I found myself looking for a way to quickly and easily serialize some data out into Isolated Storage. I looked at a few options, such as the XML and JSON serializers in the Silverlight SDK. Both of these work well for serialization of data, but as I was looking at them, I noticed something that failed to meet my requirements for the task at hand: these libraries are both quite large and would need to be packaged into my XAPs. System.Xml.Serialization.dll is 314 kb, and System.Runtime.Serialization.Json.dll is 138 kb (uncompressed). Under many circumstances in large applications, taking such dependencies might be fine, but I was looking for something small that would be acceptable to package into a quick-to-load bootstrapping application.
-
Taking Microsoft Silverlight 4 Applications Beyond the Browser (TechEd WEB313)
It’s been quite a week here in New Orleans for TechEd North America. I’m especially glad to see Silverlight fans showing up in force, asking questions at our booth and attending breakout sessions. On Wednesday, I had the distinct pleasure of giving a talk at this great conference, and it was a real treat getting to share some great content with you. I’d like to thank all of you who attended for coming! My talk – Taking Microsoft Silverlight 4 Applications Beyond the Browser – took a look at the features we’ve added for out-of-browser Silverlight applications with Silverlight 4. I went over a fair amount of material, which I promised to make available on my blog, so I’ve provided the info below.
-
Common Navigation UI and Authorization-driven Sitemaps
Navigation-driven Silverlight applications tend to share some common pieces of UI. Traditionally, this has required sprinkling HyperlinkButtons throughout the application’s XAML. For ASP.NET a number of controls intended to drive navigation exist. These controls are driven by a sitemap, integrate well with authorization and roles (through sitemap trimming), and provide common user experiences around hierarchical application structures such as a TreeView-based list of hyperlinks and Breadcrumbs or navigation paths. These controls provide the user with context as to where in the application/site they currently are as well as where within the application they can go.
-
Samples updated and code in comments
Hi folks! Just a super-quick note: in the last week, I’ve updated most of my old samples (it should be everything except for the one from my PDC talk – that one is a fair amount more work due to breaking changes in RIA Services since the Silverlight 4 Beta) that were build on the Silverlight 4 Beta and RC.
subscribe via RSS