Posts

//Build 2015

The Build 2015 is now over. To view the best announcements, you can visit the website: https://www.build15.com/ Microsoft is doing a tour of the Build event in most important cities. Don't hesitate to register!

Retryable pattern with C# 6

Thanks to the new "when" keyword in C# 6, we can easily implement a retryable pattern when an exception is thrown. http://geekswithblogs.net/BlackRabbitCoder/archive/2015/04/09/c.net-little-wonders-exception-filtering-in-c-6.aspx

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... ;)