How to properly move an ASP.NET website to a VS2013 website project or website application?

I am looking for how to properly move an ASP.NET website to a VS2013 website project or website application?

Who is Participating?
Miguel OzConnect With a Mentor Software EngineerCommented:
My suggestion is to move to VS 2013 website project, the pro/cons are explained here:

Regarding migrating to VS2013, it depends  how the security is setup and also how old is your site,(e.g. pre .NET 2.0??), For a realtive new site (VS 2008/2010) my suggestion will be:
1. Create a new VS 2013 website project with the correct security defaults.
2. Check that default libraries (versions) are compatible with your current code base. Not only .NET but also say Jquery.
3. Add any third party libraries (C#, JS, CSS that you use in your site
4. Move all your files to your new project. This is the tricky part when versioning becomes an issue and you need to evaluate whe
5. Compile and build.
6. Troubleshoot and update any issues found in 5.

Assumption: You must do a code audit to determine what versions of C#, JS, CSS etc. you are using and identify any dependencies. If you have not done it before a consultant will be needed as it is a big project. Some projects could be upgraded directly but VS upgrade is not that clever to update all dependencies and you may miss the new enhancements.
AhelblingAuthor Commented:
Thanks.  Do I move all files AND folders?  Web.config too?

Miguel OzSoftware EngineerCommented:
Only files and folders. Web config contents have to be merged, so you can benefit from the new references tools that comes with it, please check link below for more details:
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Dirk StraussSenior Full Stack DeveloperCommented:
In what version of Visual Studio was this ASP.NET Website created? The new Web project will also need the web.config file.
AhelblingAuthor Commented:
The website was built using vs2013 and I will be using vs2013 to create the project as well.
Miguel OzSoftware EngineerCommented:
In that case, the link I sent you in my previous comment is fully relevant. It is an step by step procedure on how to do it, but as always they do not take in account every possible scenario, thus the reason to to a third party/feature code audit before conversion starts
Dirk StraussSenior Full Stack DeveloperCommented:
Miguel's solution was very well researched.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.