Quantcast
Channel: C# – Raffaeu's blog
Browsing all 20 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

State pattern using C#. Part 01

I have been busy for a while writing my two books about MVVM and WPF but I am almost done so be ready to get more posts in the next months. This one is the first of a series that I will write to solve...

View Article



Image may be NSFW.
Clik here to view.

State pattern using C#. Part 02.

In the previous post we saw how we can implement the state pattern (I know, I didn’t show you the purist way of using the State pattern …) and include in the state execution the flow logic. This...

View Article

Image may be NSFW.
Clik here to view.

My book for Model View ViewModel (MVVM) and n-tier applications is out

(a.k.a. Buy one copy!) Finally I am excited and glad to let you know that my first book: “Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern”...

View Article

Image may be NSFW.
Clik here to view.

Updates for my Microsoft Book

After one week that my book about LOB applications has been published I started to receive some additional questions that I am trying to address in this post. First of all I want to thank all the guys...

View Article

Image may be NSFW.
Clik here to view.

Applied WPF in context is out.

During the last two months I have been away from Bermuda and I didn’t have a lot of time to write or post any news on this blog. In the meantime, I didn’t realize that my new book from APRESS:...

View Article


Image may be NSFW.
Clik here to view.

Unity and injection with factories.

Last week in the office I just found a bug on how I was implementing a series of Inversion of Control chain using Microsoft Unity. To be precise, the bug has been found by one of the new guy in the...

View Article

Image may be NSFW.
Clik here to view.

New content for my Microsoft book

The Microsoft’s book I have published few months ago: “Building Enterprise Applications with WPF and MVVM” has been a success but I still got some negative feedbacks that me and my editor we want to...

View Article

Image may be NSFW.
Clik here to view.

TypeMock tutorial #01. Startup.

The best way to learn a tool is to try it, test it and then finally use it over your code. Of course if the tool provides also a great community support and a great documentation the task will be...

View Article


Image may be NSFW.
Clik here to view.

TypeMock tutorial #02. Object creation.

In this new  part of the TypeMock series I am going to show you how to deal with objects and classes in general, how you can create them and what are (honestly aren’t) the limit of TypeMock on dealing...

View Article


Image may be NSFW.
Clik here to view.

TypeMock tutorial #03. Control behaviors.

Note for purists: In this tutorial I am showing you a simplified example of a Unit of Work and a Repository, please do not care about the complexity or simplicity of these objects but look at the...

View Article

Image may be NSFW.
Clik here to view.

Speaking about WPF in Bermuda.

Last year in Bermuda we had a new born, a NET community. The community has been created by some locals companies to attract developers, architects and analyst; but also anybody passionate of...

View Article

Image may be NSFW.
Clik here to view.

Sharing assembly version in Visual Studio 2010.

Last week I came up with a fancy requirement that forced me to struggle a little bit in order to find an appropriate solution. Let’s say that we have a massive solution file, containing something like...

View Article

Image may be NSFW.
Clik here to view.

NHibernate cache system. Part 1

In this series of articles I will try to explain you how NHibernate cache system works and how it should be used in order to get the best performance/configuration from this product. Introduction...

View Article


Image may be NSFW.
Clik here to view.

NHibernate cache system. Part 2

In the previous post we saw how the cache system is structured in NHibernate and how it works. We saw that we have different methods to play with the cache (Evict, Clear, Flush …) and they are all...

View Article

Image may be NSFW.
Clik here to view.

NHibernate cache system. Part 3

In this series of articles we saw how the cache system is implemented in NHibernate and what can we do in order to use it. We also saw that we can choose a cache provider but we didn’t have a look yet...

View Article


Image may be NSFW.
Clik here to view.

Castle WCF Facility

In the previous post we saw how to provide Inversion of Control capabilities to a WCF service. That’s pretty cool but unfortunately it requires a big refactoring if you plan to apply the Dependency...

View Article

Image may be NSFW.
Clik here to view.

BDD frameworks for NET

When I work in a project that implies Business Logic and Behaviors I usually prefer to write my unit tests using a Behavioral approach, because in this way I can easily projects my acceptance criteria...

View Article


Image may be NSFW.
Clik here to view.

Domain Model in Brief

This series is getting quite interesting so I decided to post something about Domain Model. Just a little introduction to understand what is and what is not Domain Model. Honestly this pattern is...

View Article

Image may be NSFW.
Clik here to view.

NHibernate Fetch strategies

In this blog post I want to illustrate how we can eager load child and parent objects inside memory using NHibernate and how to avoid the nasty problem of creating Cartesian products. I will show you...

View Article

Image may be NSFW.
Clik here to view.

Entity Framework 6 and Collections With DDD

If you start to work with Entity Framework 6 and a real Domain modeled following the SOLID principles and most common known rules of DDD (Domain Driven Design) you will also start to clash with some...

View Article
Browsing all 20 articles
Browse latest View live




Latest Images