Dec 7, 2010

Silverlight: Using Merged Dictionaries of Style Resources and Blend

Resource dictionaries are quite commonly used for theming and centralized styling of Silverlight apps. This post does a step-by-step walkthrough of using dictionaries and their real purpose with examples. Note, this post is for those who don't know what a resource dictionary is. Click the link below to read the article.

Silverlight Scratchpad: Merged Dictionaries of Style Resources and Blend

Dec 2, 2010

Silverlight 5 - Key new features(not coming till 2011 though).

Silverlight 5 sneak peek was held at the Silverlight Firestarter event! Few key features that caught my attention are given below.

1) Databinding debugging support - Debug databinding errors in realtime, showing the details.
2) Ability to resolve datacontext within templates.
3) Layout transitions far easier now with few lines of xaml.
4) OpenType font support - could be less legal hassles.
5) Pivot control now part of Silverlight - Allows large datasets to be visualized and browsed quickly. This the THE control for ecommerce and online retail stores/storefronts in particular. The customers are going to love this shopping tool.
6) Immediate mode graphics API - Ability to directly write to GPU for faster graphics rendering.
7) 3D support - There was cool demo of a Doctor's portal online. Google for it.
8) Enterprise group policy support for out-of-browser apps - for intranet based enterprise deployments.
9) Move individual controls in an Out-of-browser app into separate windows. Something similar to pulling out web browser tabs into separate windows. This one is really useful for UI with a ton of data.
10) Ability to call unmanaged code in out-of-browser mode. This would allow the app to connect to device libraries installed on the system. This may be OS limited feature though (Windows most probably). With this, for instance you can download an xls file from your app and launch in local MS Office.
12) UI automation testing tooling support. Easier way to record and run the UI automation test workflows. The recording is converted to test code which can be run later or integrated into your Continuous Integration setup. Impressive tooling support!
13) Faster startup (not sure how fast .. there will always be pre-requisites and limitations thought :)