<p>I have upgraded a MS Visual Studio Application from VS 2003 to VS 2008 (Targeting .NET 2.0). As part of the conversion process the wizard said I needed to take the additional step of Converting my Project to a Website by Right-Clicking and blah blah blah...</p>

<p>I didn't follow directions and the web application seems to be working fine.</p>

<p>My question is, should I be concerned about pushing this to a production system? What exactly is going on here?</p>

[{'answer_id': 43032, 'author': 'Jon Limjap', 'author_id': 372, 'author_profile': 'https://Stackoverflow.com/users/372', 'pm_score': 4, 'selected': True, 'text': '<p>There are two types of web applications in ASP.NET: The Web Site and Web Application Project. The difference between the two are discussed here:</p>\n\n<p><a href="http://www.dotnetspider.com/resources/1520-Difference-between-web-site-web-application.aspx" rel="noreferrer">Difference between web site and web applications in Visual Studio 2005</a></p>\n\n<p>Convert to Website allows you to convert a Web Application Project to a Web Site.</p>\n\n<p>Visual Studio 2003 used the Web Application Project style, but initially VS2005 only supported web sites. VS2005 SP1 brought back Web Applications.</p>\n\n<p>If you don\'t want to convert your project to a web site, apply SP1 if you\'re using VS2005. VS2008 can support either.</p>\n'}, {'answer_id': 43033, 'author': 'FlySwat', 'author_id': 1965, 'author_profile': 'https://Stackoverflow.com/users/1965', 'pm_score': 2, 'selected': False, 'text': "<p>Convert to Website moves all of your control declarations from the main page class to a secondary file (yourpage.aspx.designer.cs).</p>\n\n<p>It does this by using a partial class. That is, the same class for your page, but split into two seperate files.</p>\n\n<p>This allows the VS2k5 (and VS2k8) designer to generate code for your pages without dumping generated code spaghetti into the main class file.</p>\n\n<p><strong>You don't need to do this step to build the project, but if you continue to maintain the project you will want too.</strong></p>\n\n<p><strong>EDIT</strong>:</p>\n\n<p>Hey look, MSDN backs me up:</p>\n\n<p>To convert the code to use the partial-class model</p>\n\n<ol>\n<li>Make sure the code compiles without errors.</li>\n<li>In Solution Explorer, right-click the project name and click Convert to Web Application. This command iterates through each page and user control in the project. It moves all control declarations to a .designer.cs or designer.vb file. It also adds event handler declarations to the server-control markup in the .aspx and .ascx files.</li>\n<li>When the process has finished, check the Task List window to see whether any conversion errors are reported.</li>\n<li>If the Task List displays errors, right-click the relevant page in Solution Explorer and select View Code and View Code Gen File to examine the code and fix problems.</li>\n<li>Recompile the project to make sure that it compiles without errors. </li>\n</ol>\n"}, {'answer_id': 43038, 'author': 'FlySwat', 'author_id': 1965, 'author_profile': 'https://Stackoverflow.com/users/1965', 'pm_score': 1, 'selected': False, 'text': "<blockquote>\n  <p>There are two types of web applications in ASP.NET: The Web Site and Web Application Project.\n  Convert to Website allows you to convert a Web Application Project to a Web Site.</p>\n</blockquote>\n\n<p>As far as I can recall, Convert to a Website does not do this, the Web Application project is a regular application structure with your typical \\bin etc.</p>\n\n<p>The WebSite project instead is based upon the concept of an App_Code directory for classes, and an App_Date directory for data, with your regular ASPX files going anywhere. The idea is to avoid having to precompile into DLL's before deployment, which can be easier in some shared hosting situations.</p>\n\n<p>I am not aware of any wizard that will restructure the project between these types, but I may be wrong.</p>\n"}, {'answer_id': 43040, 'author': 'NakedBrunch', 'author_id': 3742, 'author_profile': 'https://Stackoverflow.com/users/3742', 'pm_score': 1, 'selected': False, 'text': '<p>The only thing you might have missed was whether or not you wanted to make a backup of the 2003 project (just in case).  It\'s no big deal.</p>\n\n<p>Check out:<br>\n<a href="http://msdn.microsoft.com/en-us/library/aa983456.aspx" rel="nofollow noreferrer">Converting a Visual Studio .NET 2003 Web Project to a Visual Studio Web Application Project</a></p>\n\n<p><a href="http://msdn.microsoft.com/en-us/library/60z6y467.aspx" rel="nofollow noreferrer">Visual Studio Conversion Wizard</a></p>\n'}, {'answer_id': 43167, 'author': 'DrFloyd5', 'author_id': 1736623, 'author_profile': 'https://Stackoverflow.com/users/1736623', 'pm_score': 1, 'selected': False, 'text': "<blockquote>\n  <p>Convert to Website moves all of your control declarations from the main page class to a secondary file (yourpage.aspx.designer.cs).</p>\n</blockquote>\n\n<p>Why would I want to do this? It's bad enough that there is a .js .css .vb .aspx file for each page. Do I really need to split up the .vb into two more files just so I can hide the declarations ? page.designer.aspx.vb.h anyone?</p>\n"}]
['https://Stackoverflow.com/questions/43019', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1736623/']