Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can run ASP.NET 2.0 and 4.0 on the same site?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01540152
Message ID:
01540178
Views:
30
>>Hi,
>>
>>My customers are using my ASP.NET application on their Intranets. The application runs on .NET 2.0 and is typically installed as site on their web server (usually Server 2008). I want to add some new modules as separate applications (that will have a different DLL) but I would prefer to start doing this in VS 2010 and use .NET 4.0. Therefore, on the same site I would have some .ASPX pages using DLL built in VS 2005 with for .NET 2.0 and other .ASPX pages using another DLL built in VS 2010 for .NET 4.0. Will there be a conflict? Anybody sees possible issue with this? TIA.
>
>You can run applications under different versions of the .NET framework on IIS. In IIS, you can create different application pools and specify different .NET framework versions for them. To run an application under a specific framework, assign it to the application pool with that framework.

I realize that I could install .NET-specific version to different sites and different application pools. But I was trying to simplify this by not having to have more than one site. What Craig suggested makes sense (at this point) to simply target the VS 2010 application for .NET 2.0.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform