Monthly Archives: January 2015

SOLID principle

There is a lot of debate on SOLID principle. The video Applying SOLID Principles in .NET   (http://channel9.msdn.com/events/TechEd/Europe/2014/DEV-B210) is worth to watch. I like the last slide Consideration As he mentioned. 1. Someone just over engineering using the term SOLID 2. … Continue reading

Posted in .Net | Tagged , | 1 Comment

Code Not hitting breakpoint in visual studio 2012 while doing Remote Debugging

This short article give you just a possible solution if your Code Not hitting breakpoint in visual studio 2012 when doing Remote Debugging. Make sure you copy the latest compile dll, exe, and pdb to the server you want to … Continue reading

Posted in .Net | Tagged , , | Leave a comment

Download picture from Internet using C#

This short article show you how to download pictures from Internet using C#. At first, I need to know the url for the picture. For this example I use Inspect Element from Chrome browser.   Then, I have a C# … Continue reading

Posted in .Net | Tagged | Leave a comment

File ‘Windows.props’ not found

If you receive the below error when you build your solution. Error    1          File ‘Windows.props’ not found. See http://go.microsoft.com/fwlink/?prd=12395&pver=1.0&plcid=0x409&ar=MSDN&sar=PlatformMultiTargeting&o1=&o2=WindowsPhoneApp for more information.     C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets     451       9            BingMoodJS.WindowsPhone There are 2 options I found: 1. Remove the Windows Phone project … Continue reading

Posted in .Net | Tagged | Leave a comment

How to mount iso file in Windows 8.1

This short article just show you how to mount iso file in Windows 8.1 You might right click the iso file and click mount in Windows 8. You can no longer do it in Windows 8.1. Right click the iso … Continue reading

Posted in Community, Computers and Internet, Operating System | Tagged , | 1 Comment

Visual Studio 2013 License Prerelease Software License has Expired

I seriously do not know how can the prerelease license for Visual Studio 2013 can be expired. The prerelease of Visual Studio only for MVPs and it should not need to expire it. I spent more than 1 hour to … Continue reading

Posted in .Net | Tagged , , | Leave a comment

How to create Template Class / Generic in C#

Many people confuse between Template Class and Generic. There are the same to me. There is a very good example in msdn https://msdn.microsoft.com/en-us/library/0x6a29h6.aspx but it is still lacking of some details. The article created a nice template GenericList<T>.     public … Continue reading

Posted in .Net | Tagged , , , | Leave a comment

Attach and detach VHD as a disk drive

To attach a VHD as a disk drive, you need to go to Control Panel -> Administrative Tools -> Computer Management -> Disk Management Right click Disk Management -> Attach VHD.   The tricky part is to detach the VHD. … Continue reading

Posted in Operating System | Tagged , , | Leave a comment

Failed to resolve include text for file:c:\xxxxxxxx\EF6.Utility.CS.ttinclude

This short article show you one of the possible solution for the error “Failed to resolve include text for file:c:\WhateverYourApplicationFolder\Entity\EF6.Utility.CS.ttinclude”. My partner is using Entity Framework (EF) for MySQL in VS 2012. When I open the solution and run in … Continue reading

Posted in .Net | Tagged , | 2 Comments

How to use HttpResponseMessage with Web Api

This short article showing you how to use HttpResponseMessage with Web Api. When you have a Post action with the follow code. public void Post([FromBody]string value) { }   This is the response like the picture below using Postman.   … Continue reading

Posted in .Net | Tagged , | Leave a comment