Posts

Who is writing non stop on .net? Certainly not us!

Hi, Here is a funny post on who is blogging the most on .Net. As you can see, we are not part of the game :) Fair enough, we will be better next time! http://www.trelford.com/blog/post/prolific.aspx

[TIP] "Dispatcher.BeginInvoke()" in Xamarin.Forms

In traditional WP8 apps, when you want to update a visual element but you are not in the UI thread, you have to use the dispatcher like this: Deployment.Current.Dispatcher.BeginInvoke( /* my custom task */); In Xamarin.Forms, you have to use the Device 's object static method: Device.BeginInvokeOnMainThread(() => { // your code on UI thread here... });

Yet An Other IoC Container

Hi, We all know Unity, Autofac, Ninject... ( not all of us, really? ;) ) TypeC is a new one in the big family of IoC container: http://blogs.msdn.com/b/hanuk/archive/2015/03/28/typec-a-simple-net-injection-ioc-container.aspx

MvvmLight with Windows 10 Universal apps

Hi, Here is a How-to to get ready for Windows 10 universal apps using Mvvm Light incredible framework! http://blog.galasoft.ch/posts/2015/03/using-mvvmlight-with-windows-10-universal-applications/

Microsoft.IO.RecycableMemoryStream

A new MemoryStream is coming! This one is optimized and offers better performance than the actual MemoryStream. See http://www.philosophicalgeek.com/2015/02/06/announcing-microsoft-io-recycablememorystream .

Creating dynamic linq queries

Linq, introduced with .NET Framework 4.5 is one of the best .NET developer friend. But have you ever think about creating dynamic queries with linq ? It can be sometimes useful if you have to inject dynamic expressions to your queries, for example let's say you have to write a query but need to resolve the field names at runtime because it depends on some rules defined in some configuration places. Good news, there is a nuget package for this task ! Here is Linq.Dynamic , it allows to create linq queries such as : var query =     db.Customers .     Where( "City = @0 and Orders.Count >= @1" , "London" , 10).     OrderBy ( " CompanyName " ).     Select( "new( CompanyName as Name, Phone)" ); And many other features with this package... ;)

Library or Framework?

Do you use libraries, frameworks or both? But wait a minute... What is the difference between a library and a framework? Thanks to this article, you will find a couple of answers :) http://tomasp.net/blog/2015/library-frameworks/