Design Patterns : Fascade Pattern

Fascade, name being an analogy to an architectural fascade, intends set the tone for the entire functionality by providing a simplified yet effective interface wrapping away the complex, pooly designed collection of APIs. Wrong Code Consider following set of Classes.   The Client Code could be As you can see, the Client class is invoking … Continue reading Design Patterns : Fascade Pattern


Caliburn Micro #003 : Events (Short Hand Syntax)

Previously, We looked at one approach of binding Events to Controls. However, the convention based approach is one of the least used approaches in Caliburn Micro. Think about it, if you need to bind more than one event to the control, say for example, the Click Event and MouseOver Event, this approach would fall short. … Continue reading Caliburn Micro #003 : Events (Short Hand Syntax)

Caliburn Micro #02 : BindableCollection & Events

In the previous part of this series, we looked into some of the basics of using Caliburn Micro. In this part, we will continue with few more examples, how to invoke a method on an event. But before we do that, let's expand our application a bit. Currently the application has two Text controls , … Continue reading Caliburn Micro #02 : BindableCollection & Events

Caliburn Micro #01 : Introduction

It has been long since i blogged, having caught up with the Product Release and Year End Vaccations. As the calender turns, it would be a good time to learn something new. If you are building an WPF application and is looking out for MVVM Frameworks, you would be surprised with the amount of choices … Continue reading Caliburn Micro #01 : Introduction

Back to Basics #002

Continuing with our series of subtle changes that make differences, let's look into Conditional Attributes over Directives. What would be the output of above code under a) Debug Mode b) Release Mode The Debug Mode should be easy and as expected Hello Method01 Hello Method02 One 2 All Done What about release mode ? 3 … Continue reading Back to Basics #002

Back to Basics #001

Welcome to first post on 'Back to basics'. Yeah, as you guessed right, this series attempt to check minor differences in our understanding of basic concepts. Predict the output of following. Ideally, One would expect the first attempt to fail, but would feel the second would succeed considering we have implemented implicit conversion. But unfortunately, … Continue reading Back to Basics #001

Collection of Custom Configuration

Adding application configuration in app.config, especially under the appSetting key is something which every developer is used to. What if we need to add our own customer collection. For example, That's when we need to write up code to define these customized segments. We will begin with the basic element first, which in this case … Continue reading Collection of Custom Configuration