Thursday, March 30, 2017

Automapper in action

Automapper is an object to object mapper which helps to eliminate yak shaving. It can save you from the tedious task of creating custom code to convert data-store object models to your view model.

I put together a demo because I believe it when I see it in action.

Here's a working LinqPad version here: http://share.linqpad.net/neu8bm.linq

Or see the code online here...

Friday, March 03, 2017

FSharp XML Type provider in action

This is a working sample of an XML type provider. It's a simple scrip. Though Linqpad does crash when dealing with it. Saves a lot of time when writing a quick script to parse an xml document.


Download the linqpad file: http://share.linqpad.net/xlrrfl.linq