Windows Media Center is so well integrated …

I bought a Windows Media Center from HP 2 months back and I’m enjoying a whole new level of media experiences. The tv guide, my tv, video and pix are all good. The online experience that comes with Windows Media Center 2004 is even better .. Napster, CinemaNow, MSN TV, MSNBC etc are so well integrated…

0

XAML using CLR object as property …

Just today I discovered a feature of XAML – ability to use custom CLR object as property to my Avalon control. All you need in the XAML is to map your assembly into a namespace in XAML. This is kinda like XML serialization in CLR. Here’s an example of the usage in standard XAML element[from http://longhorn.msdn.microsoft.com]…

3

Yukon PDC bits and XQuery …

If you have Yukon PDC beta bits and you are utilizing XQuery for your next project, you got to try this out. Maybe this is old news but it’s sure beneficial to me. 1. Create a new database with SQL Server Workbench.2. Create a table that allows Xml Document Create TABLE XMLDocument (id int identity,…

1

Create Assembly in-memory and run it…

This has to do with CodeDom and Microsoft.CSharp namespace. The following code will let you compile and run code in memory, IMHO – perfect for scripting engine needs: using System;using Specialized = System.Collections.Specialized;using Reflection = System.Reflection;using CSharp = Microsoft.CSharp;using CodeDom = System.CodeDom.Compiler; public sealed class TestCompile{ static string ScriptCodeToCompileInMem = “public class Script {public void ScriptExecute(){System.Console.WriteLine(123);}…

5

System.Collections.Generics

I have been starting to use CLR Generics. Absolutely useful for day to day software design and implementation. using Generics = System.Collections.Generics;…private Generics.IList<int> myList = new Generics.List<int>(capacity); myList.Add(100);myList.Add(201);myList.Add(303); The sample above might look very much like ArrayList and it’s being use all over the place. If you compare ArrayList to Generic List, generic list is much much…

1

Avalon webcast …

Excellent Avalon/WinFX information (slides, webcasts + source code) from PDC2003 available online right now at MSDN.

0