Archives
-
Understanding LINQ to SQL (11) Performance
LINQ to SQL has a lot of great features like
- strong typing
- query compilation
- deferred execution
- declarative paradigm
etc., which are very productive. Of course, these cannot be free, and one price is the performance.
-
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.
-
Microsoft Chinese Spring Festival Celebration (2)
-
Microsoft Chinese Spring Festival Celebration (1)
Last night there was a big party in Redmond: Microsoft Spring Festival Celebration. It is organized by Chime (an employee network group in Microsoft), and it is also the biggest Chinese new year celebration in Seattle area. Thousands of people attended the party, including Steve Ballmer. I also brought my Nikon D700 there.