sql performance, visual studio - sql

I'm using linq2sql and .net 3.5 with vs2010.
I'm experiencing bad sql performance when i run my program through vs2010, but not when i execute the same debug enabled exe outside vs.
Whats going on here? Any ideas?

If the program is running ok outside visual studio then maybe the sql or linqtosql isn't the problem. If you run it through visual studio with the debugger disabled is the performance better?

Related

Visual studio profiling problems

I tried using the build in profiler of visual studio, but since the update it wont work.
It just produces an empty screen:
I tired using the profiler in CS Console application, C++ and CS WPF, but nothing works. I also reinstalled VS.
Any ideas whats happening?

Modifying and running VB.net project in Visual Studio Code?

Is it possible to modify and run existing VB Visual Studio 2010 projects in Visual Studio Code? I have some VB.NET projects that I would like to open in visual studio code and I haven't found anything online that says whether or not this is possible. Drag and drop functionality isn't necessary for me, I only care about being able to run the source code.
I'm running Ubuntu 14.04 if that makes any difference.
Thanks in advance!
You can use Visual Studio Code to edit any text file you want.

How do I get the Linq to SQL Debug Visualizer working with Visual Studio 2010?

It can be found at:
http://weblogs.asp.net/scottgu/archive/2007/07/31/linq-to-sql-debug-visualizer.aspx
I tried opening the project and recompiling the dll using latest references and .NET4.0 but I can't get it running. There's not too much code in it so it can't be that difficult (for a real .NET pro!)

Free or commercial code analysis service for Visual Basic

Anyone know a good code analysis service or tool for vb.net? Like the one for c# with visual studio 2008 team edition or style cop for c#
Update:
My bad ,I am only using the visual studio pro in my new work place,so I could not use the code analysis for visual studio 2008 team edition
I believe that Code Analysis works on VB.NET code as well.
I just tested it, and it does work.
FxCop seems reasonable.
Besides, you can use
NDepend http://www.ndepend.com
Gendarme from Mono. http://www.mono-project.com/docs/tools+libraries/tools/gendarme/
ReSharper http://www.jetbrains.com/resharper/

Disabling the Visual Basic background compiler in Visual Studio 2008

How do I disable the background compiler for Visual Basic in Visual Studio 2008?
For my sins, I have to work on a large VB.NET project and it often locks up for 20 seconds at a time whilst doing the very helpful background compilation which is extremely frustrating.
I'd rather work blind between compiles and be able to do some work.
No there is no way to disable the background compiler.
Have you installed Visual Studio 2008 SP1. There were several bugs we fixed in the RTM version of VS 2008 which can cause the IDE to hang under certain circumstances.
We take issues with the background compiler very seriously. If you can give us a repro of the problem it will definitely be investigated. If you can produce such a repro or even send us a memory dump when the IDE is locked please file a bug on Connect: https://connect.microsoft.com/VisualStudio
A couple of other steps you can take. Do you have any Add-ins installed in VS? If so try uninstalling them 1 at a time. I've seen several cases where 3rd party add-ins caused lock ups in the IDE which were completely unrelated to the C#/VB framework.