Why is Azure deployment slower on Windows 2012 Server than on Windows 2008 Server

asp.net.NetPerformanceAzureWindows Server-2012

asp.net Problem Overview


I have an ASP.NET (Webforms) working with .Net Framework 4.0.

If I deploy that site with osFamily="1" (on a Windows 2008 server) the .NET CLR takes 120 ms average (according to NewRelic logs).

If I take the exact site and I deploy it with osFamily="3" (on a Windows 2012 server) the .NET CLR takes more than 500 ms.

I know I should move to MVC4 and perhaps .Net Framework 4.5, but I would like to know if anyone else has had the same problem and if you know what could be causing this?

enter image description here

Edit

Looks like osFamily=2 also has the same problem.

asp.net Solutions


Solution 1 - asp.net

From the forum discussion it seems that it's a known issue.

The issue is reported here.

> Upgrading from VS2010 to VS2012, we noticed that deploying is very slow, which can be worked around but then stepping in code is very slow as well. > >First, we thought it maybe the device but it is very slow even in the emulator. This machine we tested, is i7 processor with 12MB of RAM. This also seem the case for many who have reported on our forums. > >Read more.

A solution seems to be the changing the driver to winusb (C:\Program Files\GHI Electronics\GHI Premium NETMF v4.2 SDK\USB Drivers\GHI_NETMF_WinUsb) - according to one of the comments.

Solution 2 - asp.net

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJordiView Question on Stackoverflow
Solution 1 - asp.netIonică BizăuView Answer on Stackoverflow
Solution 2 - asp.netCilanView Answer on Stackoverflow