Skip to main content

Posts

Writing and deploying Windows Service in C#

What a Windows Service is Enables you to create long-running executable applications that run in their own windows session. Can be automatically started when the computer boots, can be paused and restarted without any user interaction. Easily installable by running the command line utility InstallUtil.exe and passing the path to the service's executable file.

Unit Testing with Visual studio 2012 Fakes

With Visual studio 2012 Ultimate edition Microsoft has shipped new Faking framework which enable developer to isolate their unit tests from their environment. Now it’s time to understand them.

Unit Testing

What is Unit Testing? Unit testing means “Testing smallest logic that we can test isolating from other”. Bit technical definition, let’s try to make it simple.

svcutil.exe is not a valid win32 application

While trying to create a client to call a WCF service for this we need to run svcutil file and while executing this command we may recieve the error. For this When we go to the location of the file. It may show 0 bytes for this exe. So in such case we need to follow below steps to recover the file: 

Resolving 'Setup Account Privileges' error while installing SQL Server

A new installation of Microsoft SQL Server 2012 or Microsoft SQL Server 2008 R2 fails You see the following error message when you try to install a new instance of SQL Server 2012 or SQL Server 2008 R2: Rule "Setup account privileges" failed.