Sebastian Negomireanu
This user hasn't shared any biographical information
Posts by Sebastian Negomireanu
Moles Isolation Framework – presentation from Ronua Sibiu meeting
July 23, 2010 - 12:13 pm
Tags: agile, mocks, TDD, unit testing, visualstudio
Posted in .NET, Code, TDD, Tools, Uncategorized, Visual Studio | 1 comment
[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 [...]
Evenimente pentru programatorii sibieni saptamana viitoare
July 11, 2010 - 12:24 pm
Posted in Events | 2 comments
UPDATE! – Datorita numarului mare de inscrieri locatia pentru turneul RONUA s-a mutat la Facultatea de Stiinte (str. Ion Ratiu) – cam. A26 (etajul 2).
Prima jumatate a lunii iulie incepe cu doua evenimente apropiate pentru programatorii .NET sibieni:
Turneu RONUA.RO de lansare Visual Studio 2010
(de la organizatori:)
Începem pe 12 iulie la Brasov, apoi megem
in Sibiu, Cluj, [...]
Easy creation of code generators in Visual Studio 2008 (part 3 of 4)
May 11, 2010 - 3:00 pm
Posted in .NET, Add-ins, C#, Code generators, Visual Studio | 1 comment
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 10, 2010 - 3:40 pm
Tags: .NET, addins, C#, Code, visual studio
Posted in .NET, Add-ins, C#, Code generators, Visual Studio | 2 comments
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 7, 2010 - 4:17 pm
Tags: .NET, addins, Code, dry, visual studio
Posted in .NET, Add-ins, C#, Code, Code generators, Tools, Visual Studio | 4 comments
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
November 27, 2009 - 3:22 pm
Tags: Extension Methods, Silverlight, Synchronization, Threading, Windows Forms, windows presentation foundation
Posted in .NET, C#, Code | 3 comments
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.
Getting rid of the annoying Visual Studio XAML editor bugs
October 16, 2009 - 12:24 pm
Tags: bug, fix, Silverlight, visual studio, WPF, XAML
Posted in Tools, Visual Studio | 1 comment
Everybody that is doing XAML editing has hit this issue one moment in time – the editor is buggy. First of all – the designer is really useless. Second, if you keep editors open side-by-side you will eventually get a Visual Studio crash. Also from time to time you won’t be able to open the [...]
Useful tools for your development experience
September 6, 2009 - 6:23 pm
Tags: addins, software, Tools, utility, visual studio
Posted in Add-ins, Tools | 4 comments
Recently, Scott Hanselman has released his notorious tools list for 2009 here at http://hanselman.com/tools. I want to amend his list and add some of the tools that I use for day-to-day work.
Creating a type-safe implementation of the INotifyPropertyChanged interface
August 17, 2009 - 1:38 pm
Tags: .NET, C#, Code, refactoring, Silverlight
Posted in .NET, C#, Code | No comments
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
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