Last post Feb 12, 2006 10:43 PM by ScottGu
Feb 10, 2006 12:08 PM|Noc|LINK
I've been stumbling a the following problem for the past hours: I am migrating heavy solutions (lots of nested projects) from VS 2003 to VS 2005. The conversion goes rather smoothly except for this : I would like to not use the new App_X folder functionalities,
e.g. keep my Global.asax.* at the root of the web site, same thing for the rest of the files. (I know that all the library files could be regrouped into another project, but what of the Global.asax then ?)
In other words, keep as mch as possible my original filesystem layout of the source files from the 2003 version.
I really want to achieve this because all of the application code is already separated into very distinct business layers, each of which is confined into a separate project into the solution.
The filesystem architecture is already complex as it is, and if possible, i'd like to change it as little as possible.
To make things short, can anyone give me a hint on the possibility to circumvent the App_X folders and keep your original website filesystem architecture ?
Any hints greatly appreciated... :)
Feb 10, 2006 02:57 PM|joteke|LINK
basically you could just have a class library project and put stuff there whuch you don't want to end to App_X folders. But, MS has also developed Web Application Project, which brings 'back' the VS2003 model and makes migration very easy.
ScottGu's Web Application project site
ScottGu's announcement about updates to Web Application project etc
WAP site on MSDN
Feb 12, 2006 02:46 PM|Noc|LINK
I had had a look at that article and probably missed out on something..Thanks for the heads up, i'll try again tomorrow..
Feb 12, 2006 10:43 PM|ScottGu|LINK
I'd definitely recommend checking out the new VS 2005 Web Application Project model option information at
http://webproject.scottgu.com. It can make upgrading a VS 2003 project very easy (there is both a VB and C# tutorial on that site with step-by-step instructions on how to-do it). Generally most people using it have
been able to upgrade the project within 20-30 minutes total effort.
Hope this helps,