Category Archives: 7677

French ALT .NET Demo

Last week, I spoke at an EF session for the french ALT .NET community. During its course, I made a WCF demo with EF POCO and a sort of LINQ provider in the client part. This provider is very simplistic (made in less … Continue reading

Posted in 10369, 7671, 7672, 7674, 7677 | Leave a comment

How to use LINQ extension methods on non generic IEnumerable?

LINQ extension methods are great but… it’s not so cool when we use non generic collections as it is often the case with Sharepoint or TFS APIs. Likely, we have two LINQ extension methods Cast and OfType which allow us … Continue reading

Posted in 7671, 7672, 7677 | 7 Comments

Bug with IQueryable and yield syntax: System.BadImageFormatException "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"

I find a bug if you mix IQueryable and yield syntax. After Diego has changed a little bit my sample to reproduce it, this is the code he sent to the C# team: class Program {     static void Main(string[] args) … Continue reading

Posted in 7671, 7672, 7674, 7676, 7677, 7806 | 6 Comments