Retrieving Windows ProductKey

If you look for your product key on a Windows Server 2008 R2, you probably retrieve a key with “BBBBB-BBBBB-BBBBB-BBBB-BBBB” You can use the following function, save it to a powershell file and run it....

View from MSSQL in Entity Framework without primary key

Often we need to import to the Entity Framework an SQL View… and many times the SQL View could be the result of UNION commands, GROUP, etc. Entity Framework needs on every object a primary key (or similar) to use it. So you can use the following rules : To force...

Using XNA and Visual Studio 2012 RTM

First of all you will need to have Visual Studio 201o SP1. 1. Then, install XNA Game Studio 4.0. The easiest way is to install the Windows Phone SDK 7.1 which contains everything required. 2. Copy the XNA Game Extension from VS 10 to VS 11 using (may vary if not x64...