Which versions of ASP.NET gets installed with Visual Studio 2010? - asp.net

Does Visual Studio 2010 install of ASP.NET 2.0, ASP.NET 3.5, and ASP.NET 4.0?
Thanks in advance.

VS2010 comes with asp.net 2.0,3.5 and 4.0.
So if you have an existing asp.net 2.0 site for example then you can open and run this in vs2010 (vs 2010 will prompt you when you click the original solution that in order to run in vs2010 you need to upgrade the solution,this is all very straight forward). Similarly if you have an existing asp.net 3.5 site.
Also if you wish to start creating a new asp.net site and wish to use the 2.0 framework or 3.5 etc rather than the 4.0 framework then you can just select the desired version.

Related

How to migrate websites from .NET 2 to .NET 4 using Visual Studio?

Hi I would like to know the correct steps and procedure required to convert existing .NET 2 websites to .NET4 using Visual Studio. Please let me know if there is any online resources (blog,tutorial,video,official doc) available that teaching you. Cheers. :)
If you use Visual Studio to open a Web project that was developed for the .NET Framework 2.0, the .NET Framework 3.0, or the .NET Framework 3.5, Visual Studio can automatically perform all the changes to Web.config files that are required to be able to run using .NET Framework version 4.
If the project is a local IIS project and you are using IIS 7.0, Visual Studio can also reassign the application to an application pool that is associated with the .NET Framework version 4.
For step by step instructions, see link http://msdn.microsoft.com/en-us/library/vstudio/dd483478(v=vs.100).aspx

How can I upgrade windows workflow templates from VS2010 to VS2012?

We have created workflow templates in VS2010 and want to upgrade the templates to VS2012. Using the same templates in VS2012 are ending up with errors. How to go on this? We are using side by side versions of VS 2010 and 2012.
This is related to the .net framework. I was using .net framework 3.5 and the required is 4.5 for VS2012. Link http://pragmaticpattern.wordpress.com/2013/04/04/opening-a-tfs-2010-build-process-template-in-visual-studio-2012/ helped.

Install AJAX.NET 2.0 Extension in .NET 3.5 environment

Do I need to install AJAX.NET 2.0 Extension, Futures, Samples, and Source Code even after I installed .NET Framework 3.5 SP1?
I'm using Server 2003, and installed dotnet2.0. Then I installed Visual Studio 2008 that brought .net 3.5 to my system.
I'm planning to publish an ASP.NET web app in my server :)
I believe the Ajax.Net functionality is built into the .net framework 3.5.
If your code is developed for a .Net 3.5 application then you will not need it.
If you code is developed for a .Net 2 application, then you will need to download the ajax extensions.

How to update sharepoint project from .net 3.5 to 4.0

I need to change the .NET Framework Version of my Sharepoint Project from 3.5 to 4.0.
The project is generated with VisualStudio2010, Sharepoint version is also 2010. I already found this blogpost regarding this topic, but it doesnt work.
.NET 4.0 is installed on the development machine but I'm not able to select the framework in the target-framework tab at the project settings:
SharePoint 2010 does not support .NET 4.0.
If you really have to connect a .NET 4.0 application to SharePoint, you can use a web service to communicate. But you won't be able to write a .NET 4.0 WebPart or a similar SharePoint artifact.

Targeting .NET3.5 with ASP.NET MVC2 Web Application in Visual Studio 2010?

Our current environment is .NET 3.5 SP1 but we're in the process of migrating to .NET4 and Visual Studio 2010.
I would like to stick to using .NET 3.5 for the deployment/production environment however use Visual Studio and TFS 2010 for development, until the production environment is cleared for upgrade to .NET4. Is this possible (I assume yes :B), and how?
What I have tried is changing the TargetFrameworkVersion in the project settings to "v3.5". However, I get a build failure due to the classes in System.Web.Security that moved to System.Web.ApplicationServices in .NET 4 (e.g. MembershipUser) not being found... so it appears that it is using .NET4 libraries and not .NET3.5? Do I add the System.Web.ApplicationServices library to my project, and if so, does this mean it will still run on .NET 3.5?
Also, I noticed that the ToolsVersion of the project is 4.0, would changing it from 4.0 to 3.5 be the correct thing to do? When I do this, re-opening the project causes Visual Studio to run the conversion process, changing the ToolsVersion back to 4.0 ...
Cheers,
James
You must have Visual Studio 2008 installed to be able to target .NET 3.5 in Visual Studio 2010.

Resources