Performance improvement from VS 2005 to VS2012 - visual-studio-2012

Please let me know the performance improvement factors from VS 2005 to VS 2012.
Ex: List to HashSet
I want to know the points in the above angle.

It may be more relevant to consider the differences between .Net Framework 3 and .Net Framework 4.5...
For performance improvements in .Net 4.5;
http://msdn.microsoft.com/en-us/magazine/hh882452.aspx
In general, the following describes the differences between the .Net Versions.
For .Net 4.5:
http://msdn.microsoft.com/en-gb/library/ms171868(v=vs.110).aspx
For .Net 4:
http://msdn.microsoft.com/en-gb/library/ms171868(v=vs.100).aspx
For .Net 3.5 SP1:
http://msdn.microsoft.com/en-gb/library/cc713697(v=vs.90).aspx
For .Net 3.5:
http://msdn.microsoft.com/en-gb/library/bb332048(v=vs.90).aspx
Regarding your specific example, where there may not be a direct performance improvement for converting between List and HahSet, there may be better ways of dealing with both Types in your code, for instance, Linq was introduced at .Net Framework 3.5, which isn't available as part of VS 2005.

Related

Can WPF applications be run in Linux or Mac with .Net Core 3?

Microsoft announced .NET Core 3 comes with WPF and Windows Forms. So can I create a desktop application for Linux or Mac using .NET Core 3?
No, they have clearly stated that these are windows only. In one of the .NET Core 3.0 discussions, they have also clarified that they do not intend to make these features cross-platform in the future since the whole concept is derived from windows specific features. They talked about thinking of a whole new idea for cross-platform applications, which is not easy.
Source: https://youtu.be/HNLZQeu05BY
Update
The newly announced .NET 5 now aims in avoiding all this confusion by no longer calling it ".NET Core".
Update 2
With blazor client-side (releases on may, 2020), there is a new experimental project for cross-platform apps using webview that is in the works.
Source:
https://blog.stevensanderson.com/2019/11/01/exploring-lighter-alternatives-to-electron-for-hosting-a-blazor-desktop-app/
No with WPF or Winforms. But you still can develop desktop apps on Linux, with .NET Core, using other libs like GtkSharp or Avalonia
Well, the name itself says Windows Presentation Foundation. So it's primarily windows based.
But it is worth to be noted that the new UI framework, .NET MAUI that will be shipped with .NET 6 is cross-platform, with a single-codebase, single-project structure.
Currently in Preview at the time of writing, to be shipped in November 2021. Here's the roadmap.
Although it is not native dotnet core on linux, but it may be helpful - using wine.
I find a very useful comment in the discussion here, more details here
In other words, it is possible to use windows version of dotnet core under wine.
I didn't try it yet, but from the article I mentioned I can say it looks nice and might be an option.

Is SSDT integrated in VS 2013 Express better than the standalone version with VS 2012 shell?

I am using the standalone version of SSDT with VS 2012 shell and I was wondering if there is any point for me to upgrade to VS 2013 Express.
Are they practically the same thing and updated through different channels or the one integrated in VS 2013 has better capabilities?
They are exactly the same thing, updated through different channels. There's more information on supported versions in this blog post by Jill McClenahan, but right now SSDT has identical functionality in both. The benefit of upgrading is that the Express version has nicer integration with other tools and services such as cloud services, other programming languages etc. If you just care about database development that might not make much difference.

Do I need to upgrade to Entity Framework from 4.0 to 5.0 to improve SQL generation with a TPT schema?

I have an application using EF 4.0/.Net 4.0 and I'm using a TPT model, causing some performance issues when the size of data gets too large.
As far as I understand, .Net 4.5 is supposed to improve performance by adding support of automatically Compiled queries. In my case, what should I do to improve the performance of my application in the new SQL generator when using a TPT model.
My problem is that I can't find anything telling me if this is provided by .Net 4.5 or EF 5.0.
Just to let you know, I did migrate to .Net 4.5 and couldn't see any significant change in terms of performance. I checked the generated SQL for one of my slow request and it is exactly the same as with .Net 4.0.
I also tried to migrate to EF 5.0 but couldn't see any improvement. Actually, as I don't use any type defined in EntityFramework.dll (v5.0), the assembly is not referenced (checked with reflector) and even not loaded at runtime.
Should I go on with migrating to EF 5.0 or is it more related to .Net 4.5 ?
Regards,
Nicolas
Entity Framework CTP: TPT Inheritance Query Improvements
http://thedatafarm.com/blog/data-access/entity-framework-june-2011-ctp-tpt-inheritance-query-improvements/
Improve Performance with Entity Framework 5
EF5 features better query performance, support for enums and spatial data types, and much more
http://www.devproconnections.com/article/entity-framework/entity-framework-5-143875

.NET 4 Profiler?

Does anyone know of a profiler that works with .NET 4 (beta 2)? I normally use the EQATEC profiler but it doesn't seem to be working with .NET 4 executables.
EQATEC Profiler v3.0 has just been released today and it now supports .NET 4.0.
You can get it here: http://www.eqatec.com/tools/profiler
For what it's worth, I've found plenty of performance problems in our .NET app, using the non-profiler.
VS2010 Ultimate edition comes with a profiler. It is placed in the Analyze menu. I haven't used it for anything serious yet, but it appears to be an updated version of the one that comes with the TF editions of VS2008/2005.

Do VS2010's new "thread monitor/visualizer" features support CLR 2.0?

In .NET Rocks episode #525, they talk about monitors/visualizers new to VS2010 that help you understand what your multi-threaded software is actually doing at runtime (where it's locking, etc).
Does that (or related) feature give any new visibility to the behavior of multi-threaded apps running in version 2.0 of the .NET CLR?
EDIT: Show audio and transcript: Stephen Toub on .NET 4.0 Concurrency Features

Resources