Visual Studio 2010 Setup project is missing in Visual Studio 2012, So use NSIS

Sunday, December 30, 2012

So, yes it’s true. Microsoft decided that the “Setup project” no longer part of the Visual Studio patterns and all of us stuck with none working, none loading Setup project. More than that now we are missing installer for our product. So, this post is not for the big and compose product that already didn’t use this project type, but for the medium & small product that needed simple installer that had basic functionality as: File deployment Registry writing Service installation & Management   You can see that Microsoft suggest to move to “InstallShield Limited...

WCF Connections and Messages Tracer

Tuesday, September 11, 2012

This article came after detection BAD WCF client functionality. I created basic Windows Service using for communication the WCF platform. But I created 2 big mistakes: I set the parameters values  that defined the call Open and Receive timeout was unreasonable In case of the Register method, my first called method by the clients after they open channel to the server, throw exception but yet didn't closed the client session.  So, I understand that timeout parameters are more than nice to have and that I cannot relay...

Extract Images from Resx file

Friday, March 23, 2012

Hi, This article is not in the new development issues, but an old school issue. I started an year ago to migrate most of my application from  Windows Forms to WPF platform. it was good most of the images also transferred to anew and sexy look. BUT, than tow weeks ago I found old window that I needed to migrate and there was not problem with the images, but that in the past we used the ImageList structure and as you know the image stored the image data imbedded in the Control Resx...

Registry: Import & Export in C# (RegSaveKeyEx & RegRestoreKey )

Friday, February 10, 2012

Hi all, in the last week I found my self messing with the registry, exploring and and learning this repository structure. As known the ‘REGEDIT’ application that build-in the Windows O.S. gives the ability to Create / Delete /Update key and values, but this all also supported in the Framework. more than that since the framework 4.0 we have more flexibility when working the registry for 64bit machines.   But than also the ‘REGEDIT’ ’ expose the ‘Export’ functionally. The user can select Key / Value and Export it to a ‘ *.reg ’ file. This file contains the data that selected and by click...
one comment

WPF: Localization Guideline

Thursday, April 1, 2010

So, What is new? We all know that the WPF Application are pro – localization architecture and we can set it by BAML or Resx (I prefer to use the *.resx files). Till now I believe that I’m an old news, but this post is not about how can i do it, but I should I do it. In this post I will set the localization by *.resx files and use the MVVM design pattern...
no comments

WPF: CustomControl or UserControl?

Tuesday, March 23, 2010

While designing anew window, WPF architecture, I needed a NumericUpDown Control. Since the current SDK is missing this control I have found myself asking the question…   CustomControl or UserControl? So, what is the main difference and what should we use?! By MSDN: UserControl: Provides a simple way to create a control. CustomControl: Represents the base class for user interface (UI) elements that use a ControlTemplate to define their appearance. So, now we can see that the main difference between them is that the CustomControl basically build by using the ControlTemplate....
one comment

Binding ValidationRules Implementation

Thursday, April 24, 2008

Hi, While creating a WPF application I used the Binding element to bind between my Model and my GUI Viewer. As you know the Binding element gives us the ability to invoke a validation rule collection for the binding activity before actually update the Model element, the binded Property. I see basic two options to implement the Binding ValidationRules 1. In the scope of the ValidationRule implement class 2. On the Model For this...