.NET
Moles Isolation Framework – presentation from Ronua Sibiu meeting
Jul 23rd
[Romana]
Puteti descarca de la adresele de mai jos prezentarea Moles si proiectul demo:
Prezentarea – http://byteflux.me/wp-content/uploads/2010/07/Moles-Isolation-Framework.pptx
Proiect demo: http://byteflux.me/wp-content/uploads/2010/07/MolesSample.zip
Cerinte minime pentru proiectul demo:
- Visual Studio 2010 Professional
- Moles plug-in (http://research.microsoft.com/en-us/projects/moles/)
Astept comentariile voastre si feedback.
Disclaimer: Nu lucrez pentru Microsoft si nici nu sunt implicat in vreun fel in dezvoltarea acestui proiect. Notele si proiectul demo reprezinta punctul meu [...]
Easy creation of code generators in Visual Studio 2008 (part 3 of 4)
May 11th
This is the third part of a series covering code generators in Visual Studio 2008. Part I and part II of this series cover how to create the project and all the necessary steps for writing a code generator.
The series is divided into four parts:
Part I – creating a Visual Studio Package
Part II – creating [...]
Easy creation of code generators in Visual Studio 2008 (part 2 of 4)
May 10th
In the first part I’ve written about creating a code generator in VS2008 to eliminate repetitive coding.
The series is divided into four parts:
Part I – creating a Visual Studio Package
Part II (this one) – creating and registering a code generator
Part III – generating code & debugging
Part IV – creating the setup project and deploying the [...]
Easy creation of code generators in Visual Studio 2008
May 7th
I am a big fan of the DRY principle. This means that whenever I can do something that can be reused with minimal or no effort, I try to do it. Recently I’ve started developing a REST framework for our projects, which is not based on WCF (will blog about this too). One of the [...]
Executing actions on the UI thread
Nov 27th
When working with frameworks like Silverlight, WPF or Windows Forms you often encounter the need to ensure a piece of code runs on the UI thread. Below, I present a clean way to do this using the SynchronizationContext class.
Creating a type-safe implementation of the INotifyPropertyChanged interface
Aug 17th
When working with Silverlight two-way binding (and not only there) you need to implement the INotifyPropertyChanged interface in order to notify any observers that the property values of the object have changed.
Some useful extension methods
Aug 13th
The class at the end of this post contains some extension methods that I commonly use in my code:
IDictionary<TKey, TValue>.GetValueOrDefault
IEnumerable<T>.ToHashSet
IEnumerable<T>.ToJoinedString