Silverlight Claim-Based-Security Part-2

In part 1 I talked about a simple approach to combine WCF Routing service and claims-based security and I got some questions about the sample code and routing service configuration. In this post, I’ll explain some additional scenarios and would provide link to the source code. In my original post I used following very simple…

0

Silverlight Claim-Based-Security

This would hopefully be a multi-part series showing some tricks to enable claims-based-security in Silverlight 4.0. Silverlight 5.0 would have a much better story around claim-based-security as mentioned here. In this first post, I’ll give you a high level overview of the solution. The main idea is to use the ‘WCF Routing Service’ in the…

1

Future of Silverlight

If you want to know more about the future of Silverlight, then the Silverlight Firestarter event today (2nd December 2010) is the event you want to attend. The event will be held at Microsoft Campus in Redmond but if you can’t be there, you can watch the live webcast. The registration for the event is now open (follow…

0

Bubbling PropertyChanged Events in Silverlight

I’ve been working with Silverlight (specifically for Windows Phone 7) recently and something I’ve found useful is the ability to “bubble” PropertyChanged event up. So for example; 1: public class MainPageViewModel : INotifyPropertyChanged 2: { 3: public ObservableCollection<Person> People 4: { 5: get 6: { 7: return _repository.Items; 8: } 9: } 10:   11:…

0

Offline Data Cache in Windows Phone 7

I’ve been building a Windows Phone 7 application that basically lets a user create records offline, and then pushes those up to a cloud service when network connectivity is available. These offline records are not as offline as I would like though – it’s never that simple is it? The records contain data fields for…

0

Silverlight Navigation With the MVVM Pattern

I recently had a query from a customer that was one of those ones that you think “Aha! That’s easy, you just do this”. Then you think a bit more about it and realise that if you want to do it properly it’s not quite as simple as you first thought. This particular query related…

4

Template/ View Selection with MEF in Silverlight

One of my favourite features in WPF is the ability to have it automagically wire up a databound object (often a ViewModel) to a particular DataTemplate. A lot of people really miss this feature when using Silverlight as it’s still missing from the latest version (Silverlight 4 at the time of writing). Folk have blogged…

0

Flexible Data Template Support in Silverlight

WPF has a great feature called data templates. These allow you to specify the visual appearance for a data object, you can either place them in a control or put them in a resources section to reuse them for multiple controls. The real benefit in my opinion of them is that you can tag them…

0

ADC Workshop: Silverlight Development Ramp Up (2)

The ADC team is pleased to announce a new workshop. For existing customers, if you would like take advantage of this service within your organisation, please contact your ADC. If you are not currently engaged with Application Development Consulting and are interested in this service, please contact ADCinfo@microsoft.com. ADC Workshop: Silverlight Development Ramp Up Date:…

0

How to download and crack a Xap in Silverlight

Sometimes it is useful to be able to download extra functionality into your application at runtime. It’s always been possible to make a server call from Silverlight to download an extra assembly and load it into memory. But what if you’d like to download a bunch of assemblies in neat zipped up package. As I’m…

0