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/

Microsoft Band SDK available

Image
Today, I would like to remember you that the Microsoft Band SDK is now available for developers ! You can also find the associated Xamarin component for iOS & Android platforms. Here are the links: Xamarin Microsoft Band component for iOS & Android Microsoft Band SDK download page With this SDK you can access the following band sensors: Accelerometer : Provides X, Y, and Z acceleration in meters per second squared (m/s2) units. Gyroscope Provides X, Y, and Z angular velocity in degrees per second (°/sec) units. Distance : Provides the total distance in centimeters, current speed in centimeters per second (cm/s), current pace in milliseconds per meter (ms/m), and the current pedometer mode (such as walking or running). Heart Rate  Provides the number of beats per minute, also indicates if the heart rate sensor is fully locked onto the wearer’s heart rate. Pedometer  Provides the total number of steps the wearer has taken. Skin Temperature Provides t