Monthly Archives: July 2013

AMD Accelerated Processors for Embedded Applications

The advance of APU processor design. The new GX-210JA operates at an average of approximately 3 watts, enabling a new generation of fanless designs for content-rich, multimedia and traditional workload processing. Resources: http://www.amd.com/us/products/embedded/apu/Pages/embedded-apu.aspx http://www.amd.com/us/products/embedded/processors/Pages/g-series.aspx

Posted in .Net | Tagged , | Leave a comment

MSBuild is now part of Visual Studio 2013

The feature is good but it is better to let people know how to use it in conjunction of TFS, if there is a TFS server. http://blogs.msdn.com/b/visualstudio/archive/2013/07/24/msbuild-is-now-part-of-visual-studio.aspx

Posted in .Net | Tagged , | Leave a comment

Find how many \ in your path using LINQ

The sample below let you find out how many char ‘\’ is in a given path. Realize I used ‘\\’ and not ‘\’. public static void GetPath(string strPath) {   char chr = ‘\\’;   var result = from r … Continue reading

Posted in .Net | Tagged , | Leave a comment

Using Web API with Entity Framework to delete data sample

This article is the extension of Using Web API with Entity Framework to create data sample (https://chanmingman.wordpress.com/2013/07/05/using-web-api-with-entity-framework-to-update-data-sample/) 1. Open ValuesController.cs file under the Controllers folder in Solution Explorer. 2. Replace the entire Delete(int id)method with the following code. // DELETE … Continue reading

Posted in .Net | Tagged , | 2 Comments

How to compress Virtual Box vdi image file

Do this in Guess Operating System that runs inside the VirtualBox. 1. Download the Sysinternals Suite from http://technet.microsoft.com/en-US/sysinternals. 2. Unzip the suite. 3. Open Command Prompt window (cmd.exe). 4. sdelete -z Do this in Host Operating System. 1. Open Command … Continue reading

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

Using Web API with Entity Framework to update data (sample)

This article is the extension of Using Web API with Entity Framework to create data sample (https://chanmingman.wordpress.com/2013/07/05/using-web-api-with-entity-framework-to-update-data-sample/) 1. Open ValuesController.cs file under the Controllers folder in Solution Explorer. 2. Replace the entire Put(int id, Book value) method with the following … Continue reading

Posted in .Net | Tagged , , , | 2 Comments

The required anti-forgery form field "__RequestVerificationToken" is not present. Ensure that cookies are enabled in your browser

If you the error when you are browsing TFS website.   Just use Chrome. It sounds sally but it is. This is IE 10 problem. Hope Microsoft can solve all these issues before even going for IE 11. See also … Continue reading

Posted in .Net | Tagged , | 2 Comments

Why VS 2013 targeted to launch in less than 18 months?

I guess many people out there are mad about this “fast and furious” VS 2013. The aftermath is that Windows 8.1 need to be released and .NET Framework 4.5.1 has to stick with it. Whether Microsoft should call it VS … Continue reading

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

Create ASP.NET 2013 Webform in Visual Studio 2013

1. From the pull down menu choose File -> New -> Projects… 2. Choose ASP.NET Web Application from Web template. Click OK. Notice that you no longer see the long list of the other templates like MVC2, MVC3, or MVC4. … Continue reading

Posted in .Net | Tagged , , , | 1 Comment

Test agent could not connect to the test controller

Thanks to my college Samantha for this email so I do not have to write the article on “Test agent could not connect to the test controller” but copy and paste instead [laughing]. Problem : Test agent could not connect … Continue reading

Posted in .Net | Tagged | Leave a comment