As long as you have the web.config file(s) set up correctly for the
different types of sites, the different "roots", "sections" and
"subsections" become folders in the web project.
If you have different applications, for public and non-public (common with
different auth methods), set up three projects at different points in the
root and import the files from your DW project(s). You can have as many
projects as you desire in a single solution. This also gives you the option
of splitting into multiple solutions. It would be prudent to keep your
business logic out of the presentation layer.
Hope this helps.

Signature
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***********************************************
Think Outside the Box!
***********************************************
> We have already created a asp.net intranet that has about 400 aspx,ascx
> pages in it. The question is how do we setup visual studio to use this
[quoted text clipped - 23 lines]
> -
> Jason
Jason Hawthorne - 22 Nov 2005 20:12 GMT
Ok. I got my projects setup. I had to click the Show all files button
then select everything and choose include in project. Now I have a
different problem.
We created all our files in a single file format, no code-behind. I
realize we will have a lot of copy paste to do. But my question is how
can we just add a code behind file to an existing single file aspx page?
Everytime I create a codebehind file (aspx.vb) and set the codebehind in
the page (aspx) it doesn't show them as being linked in my solution
explorer.
> As long as you have the web.config file(s) set up correctly for the
> different types of sites, the different "roots", "sections" and
[quoted text clipped - 8 lines]
>
> Hope this helps.
Cowboy (Gregory A. Beamer) - 28 Nov 2005 14:31 GMT
If you simply add the file and the appropriate CodeBehind= portion in the @
directive tag, you will be able to compile.
If I remember correctly, to get the link to show up in 1.1, you will have to
edit the project file. This is a shortcoming of the project system when
dealing with web projects.
I am not sure with 2.0, but I would assume it is either automagic (project
searched on open) or in the solution file (yuck).

Signature
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***********************************************
Think Outside the Box!
***********************************************
> Ok. I got my projects setup. I had to click the Show all files button
> then select everything and choose include in project. Now I have a
[quoted text clipped - 21 lines]
>>
>> Hope this helps.
Jason Hawthorne - 29 Nov 2005 18:03 GMT
When I included files into my project it asked if I wanted to creat the
class file for them. So I clicked yes and it created a seperate class
file for every single page. Which is nice because now I can just copy
the code.
But I get an error on page load. It says "Could not load type
'projectname.filename'". I can see that the codebehind page it actually
a class and it looks like the aspx file is trying to call the class but
cannot load the file for some reason. Any ideas?
> If you simply add the file and the appropriate CodeBehind= portion in the @
> directive tag, you will be able to compile.
[quoted text clipped - 5 lines]
> I am not sure with 2.0, but I would assume it is either automagic (project
> searched on open) or in the solution file (yuck).