Contents tagged with Silverlight
-
A DirectoryCatalog class for Silverlight MEF (Managed Extensibility Framework)
In the MEF (Managed Extension Framework) for .NET, there are useful ComposablePartCatalog implementations in System.ComponentModel.Composition.dll, like:
- System.ComponentModel.Composition.Hosting.AggregateCatalog
- System.ComponentModel.Composition.Hosting.AssemblyCatalog
- System.ComponentModel.Composition.Hosting.DirectoryCatalog
- System.ComponentModel.Composition.Hosting.TypeCatalog
While in Silverlight, there is a extra System.ComponentModel.Composition.Hosting.DeploymentCatalog. As a wrapper of AssemblyCatalog, it can load all assemblies in a XAP file in the web server side. Unfortunately, in silverlight there is no DirectoryCatalog to load a folder.
-
The Humor of Silverlight
-
The protocol of AJAX
This is a true story. This morning I went to office by train of Beijing subway, and 4 developers were sitting next to me and talking about Web development and their Web product. After a while, someone asked an interesting question: What is the protocol of AJAX?
-
The Order Issue of XAML Attributes
When programming Silverlight, it is neccessary to pay attention to the order of the XAML element’s attributes. Here is a simple example.