Last post Nov 21, 2011 07:56 AM by armennazarian
Nov 07, 2011 05:11 AM|armennazarian|LINK
On my ISS I have a asp.net 2.0 website running.
Can I have a asp.net 3.5 project run inside a folder under the 2.0 project?
For instance: (Folder structure on IIS)
Nov 07, 2011 06:39 AM|toas1|LINK
sure you could.
dot.net 3.5 uses asp.net 2.0 so it shouldnt be any problem. We have many sites build with dot.net 3.5 running on IIS with 2.0 app pools.
Nov 07, 2011 09:08 AM|armennazarian|LINK
Thx alot for ur answer!
But of course that means that we have to upgrade our IIS to also run 3.5 version right? Cause right now it only runs version 2.0
Nov 07, 2011 02:31 PM|toas1|LINK
you dont need to do anyhing with you IIS servers. All you need to do is to make sure dot.net framework 3.5 is installed on your servers.
Nov 07, 2011 07:02 PM|Rovastar|LINK
I think the confusion here is that inside IIS the version of asp.net you select for a site or app is not the framwork but the is really the asp.net CLR
So asp frameworks 2.0, asp 3 and asp 3.5 and asp 3.51 all runder the asp.net clr 2 and that is what is dispalyed in IIS.
and for contrast asp.net framework 4 runs under the new asp.net clr 4.
Nov 16, 2011 09:49 AM|atconway|LINK
Just to add on some information - You can do this, but why do you want to nest that separate 3.5 web project under the 2.0 project? To IIS this will not matter; the important thing is to point IIS to the proper virtual directory that contains the files and
this can be located anywhere on the server. In addition an Application Pool pointing to .NET Framework 3.5 using a 'Classic Pipeline' will need to be used for both sites.
However, I think for organizations sake, each site should reside in the root of wherever your webs are set up (i.e. wwwroot) and this way can be segregated cleanly for IIS configuration. So the answer is 'Yes' but I recommend not nesting the projects because
I see no advantage of doing it that way.
Nov 21, 2011 07:56 AM|armennazarian|LINK
The reason why I nest is because that I want to share the session state object... Or is nesting not necassry to achieve that?
Thx for ur reply by the way...