52
votes

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.

2
Em... What exactly takes longer?sharptooth
Im gonna run a profiler to see exactly what's going on. I think could be something related to azure sdk 2.0 and 1.7 (I am using 1.7). This comes from another issue: stackoverflow.com/questions/16813664/…Jordi
not yet :) still playing arround. I had a recent experience with another deployment. I think it's related to the use of classic aspx pages. Should not happen with a proper MVC, but I still didn't had the chance to prove itJordi
This link may help you : netmf.codeplex.com/workitem/2004Portekoi
@Portekoi your link is related to the Micro Framework, I don't think any of it will apply here.NothingsImpossible

2 Answers

2
votes

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.

0
votes