How to choose between IDisposable, IComponent, Component, MarshalByValueComponent and Control while implementing a Class

In this article I’ll discuss about the criteria behind choosing IDisposable, IComponent, Component, MarshalByValueComponent and base Control classes(System.Windows.Form.Control and System.Web.UI.Control) while implementing a Class. Prior to discussing further I’d like to share the reason behind this article. I ran code analysis in a project code and got a warning that Dispose was not called for…

3

How to host a service in Azure and expose using WCF and Visual Studio 2010 : Issues Faced and Fixes

This blog is regarding my first attempt to explore “Hosting a service in Azure using WCF and Visual Studio 2010”, the issue I faced and the quick fixes required to make it running. You can explore the Windows Azure Platform at http://www.microsoft.com/windowsazure/ I faced a few issues and so sharing the workarounds. I won’t get…

0

INotifyPropertyChanging and INotifyPropertyChanged in Real Life using Expression Trees

Functional Requirements: Requirements when we need to achieve any or all of the functionalities listed below Undo/Redo functionality in an Application Any of user interface patterns e.g. MVC, MVP, MVVM etc Other patterns State Pattern, Events, Event handlers etc. In this blog I’ll discuss the points mentioned below Sample Scenario High level Solution Solution using…

0

How to unit test SQL Server 2008 database using Visual Studio 2010

In this article I’ll discuss about unit testing SQL Server 2008 Database project using Visual Studio 2010. As Unit tests test the part of the program integration testing becomes easier, moreover unit tests help enhancing, maintaining or extending a solution provided they are well written. This is first part of this series “How to unit…

4