Archive for November, 2012

XAML: blend behavious and markup extensions

November 18, 2012

A book, an article, a blog post … but a good lesson is something you cannot miss!

Here is Miguel Castro sessions, last NDC 2012: Extending XAML To Overcome Pretty Much Any Limitation.

2nd part is about Blend behavious and Markup extensions,
to me the most interesting 😉

Just a helpfull example: ContentMargin attached property (thanks to Steven Hollidge). 😉

source: Extending XAML To Overcome Pretty Much Any Limitation

Technorati tags: XAML, Blend

dynamic, DLR and Roslyn: intro video from NDC 2012

November 16, 2012

Again, another video from NDC 2012 by Shay Friedman.
This time it’s an intro video about .NET Fw 4 regardind: dynamic (AND ExpandoObject, DynamicObject), Dynamic Language DLR and integration with Iron*, Roslyn.

All these things in 1hr video, plus QA section. 🙂

source: What?!? C# Could Do That?!?

Technorati tags: dynamic,DLR,Roslyn

Reactive Extensions (Rx): intro video from NDC 2012 by Paul Betts

November 14, 2012

From Rx web site:

The Reactive Extensions (Rx) is a library to compose asynchronous and event-based programs using observable collections and LINQ-style query operators.

Paull Betts introduce Rx (with Linq) as a new tool for developers, a library available via NuGet (here) and the power of IObservable<T>+ Linq. 🙂

source: Introduction to Rx
source: Paull Betts

Technorati tags: Rx,Linq,IObservable

C# 5.0 in a Nutshell: threading, asynchrony and parallell

November 11, 2012

C# 5.0 in a Nutshell by Joseph Albahari and Ben Albahari

Amazon:

When you have a question about C# 5.0 or the .NET CLR, this bestselling guide has precisely the answers you need. Uniquely organized around concepts and use cases, this updated fifth edition features a reorganized section on concurrency, threading, and parallel programming—including in-depth coverage of C# 5.0’s new asynchronous functions.

Shaped by more than 20 expert reviewers, including Microsoft’s Eric Lippert, Stephen Toub, Chris Burrows, and Jon Skeet, this book has all you need to stay on track with C# 5.0. It’s widely known as the definitive reference on the language.

  • Get up to speed on C# language basics, including syntax, types, and variables
  • Explore advanced topics such as unsafe code and type variance
  • Dig deep into LINQ via three chapters dedicated to the topic
  • Learn about code contracts, dynamic programming, and parallel programming
  • Work with .NET features, including reflection, assemblies, memory management, security, I/O, XML, collections, networking, and native interoperability

Thanks to AlessandroM for pointing my attention to this book.
I’ve read only few chapters (see post title) so far, it provided precious info regarding threading-asynchrony-parallell and helped clearing my mind.

I must read more from this book, definitely! 😉

Guess what I could tell you?  accattatevillo !!! 😉

Technorati tags: C#

Async: part2 video from NDC 2012 by Lucian Wischik

November 10, 2012

In this 2nd video, Lucian goes deeper with pattern and anti-pattern, fire-and-forget, IProgress, performance (async vs sync), introducting async in sync programming, and lot of other interesting stuff … helping in the next step with async programming.

A hint: first example is about IProgress, a helpfull and easy way to code decoupling, expecially in UI developments.

Better not miss it! 😉

source: Async Part 2 — deep dive into the new language feature of VB/C#
see also: Lucian Wischik’s blog and Norwegian Developers Conference

see also:

Technorati tags: C#,Async,Await