C# 3.0 Expression Trees
on February 16th, 2008
On category: Uncategorized

Technorati Tags: LINQ,Expression Tree One of the most impressing features of C# 3.0 are Lamba expression, because they are not only syntactic sugar. If you are not convinced try to run the following two pieces of codes in LINQ to SQL FirstTestDataContext context = new FirstTestDataContext(); context.Log = Console.Out; IEnumerable<Customer> custs = context.Customers .Where(C => [...]

Continue reading about C# 3.0 Expression Trees

Today a friend of mine tell me that in his new windows vista computer one nant scritp stopped working giving the error The specified solution configuration “Debug|MCD” is invalid during the msbuild part of the script. After a brief search it turns out that the msbuild command line is not correct because it miss the [...]

Continue reading about Nant and The specified solution configuration Debug:mcd is invalid.

Today I was facing a strange exception with a XmlSerializer, it gives to me FileNotFoundException NHibernate.XmlSerializers, it turns out that the debug settings are set to “break to all exceptions” and so the visual studio Ide warn me even for handled exception. After some search I found that the xxxx.XmlSerializers assembly is a pregenerated assembly [...]

Continue reading about sgen.exe and strongly named assemblies

Pay Attention to the viewState
on February 11th, 2008
On category: ASP.NET

In  a project of mine I have a page that permit the user to search into database for object that satisfies a series of criteria. I have a function that returns a list of SMResult object, each of them store the id of the object, and some other information, such as the percentage of match [...]

Continue reading about Pay Attention to the viewState

Test with windows live writer
on February 9th, 2008
On category: General

After some months, I decided that Microsoft Word maybe is not the best app to blog, so I come back to Window Live Writer, but now I had to choose the plugin to insert code. I have some old plugin for the beta version, this post is a try to understand if they works again [...]

Continue reading about Test with windows live writer