Monthly Archives: October 2015

Snippet – Palindrome using C#

By | October 27, 2015

Old simple Palindrome using C# This is just a code snippet for creating a palindrome program. Please find code below. Project Structure This is a console application built using VS 2012. IDataType Interface Integer Palindrome Implements IDataType interface. String Palindrome Implements IDataType interface PalindromeFactory class Returns right type of object depending on data type.Example StringPalindrome… Read More »

Creating RESTful Web API

By | October 20, 2015

Introduction This post is about creating a RESTful web API using Microsoft technology stack. We will be using Visual Studio 2012 to build this REST service in C#. Entity Framework will be used for persistence in SQL Server database. REST Project Structure Open Visual Studio and click on File –> New –> Project (Shortcut : Ctrl… Read More »

SQL Server Password

By | October 9, 2015

Introduction How to reset SQL Server password. This post is all about helping users to unlock, or have a backdoor access to SQL Server database when they are locked out. The post will help in resetting SA password or adding a new user with SysAdmin privileges. You can always trim down user role later but this… Read More »