How to add new instance in SQL Server

All program -> SQL Server Installation center In windows 8 -> Search -> SQL Server Installation Cepter From left menu select “Installation->New Sql server standalone installation or add features” Browse CD or Physical directory of SQL Server Auto run “Setup support rules” click ok Product update -> click next Install setup files -> click next

Read More

Decorator Design Pattern with C#

You who work on design pattern must familiar with Gang of Four (GoF). Design Patterns: Elements of Reusable Object-Oriented Software is a Software Engineering book. The authors of this book are Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides. The authors of this book are often refers to as Gang of Four (GoF). It’s

Read More

Install and uninstall windows service from command prompt

Suppose you have created a windows service name “YourServiceName.exe”. Now you want to install or uninstall it from command prompt. To Install Service run the commnad: C:\Windown\Microsoft.Net\framework\v2.0\installUtil.exe  C:\dirctory\YourServeceName.exe     (with location) To Uninstall Service run the command: C:\Windown\Microsoft.Net\v2.0\installUtil.exe /u C:\dirctory\YourServeceName.exe         (with location)