Running multiple frameworks...  
Author Message
wormbyte





PostPosted: ASMX Web Services and XML Serialization, Running multiple frameworks... Top

We are currently developing asp.net applications in the 1.1 framework, but I want to get my company to make the move to 2.0.

But our server guys are saying that they have major concerns running 1.1 asp apps along side 2.0 apps. So much so that they think the only way forward is to run the new 2.0 app (which I want to develop) on to a seperate production server.

There issue is that if 1.1 apps and 2.0 apps are running together then the servers performance will suffer due to running multiple frameworks.

Is there any truth in this I suspect not, but I need to find some more information on the subject ahead of a meeting I will be having with them next week.

Can anyone help and shed some light on the matter.



.NET Development31  
 
 
nobugz





PostPosted: ASMX Web Services and XML Serialization, Running multiple frameworks... Top

Yes, they won't be able to share the CLR and framework DLLs. That will cost about 20-30 MB, give or take. Or 2-3% on a 1 GB server. You can run .NET 1.1 apps with the .NET 2.0 framework but I'm not sure about the effect on ASP.NET apps...


 
 
wormbyte





PostPosted: ASMX Web Services and XML Serialization, Running multiple frameworks... Top

Ok so basically what you are saying is that each framework would create a worker process (one for each version of the framework) and each process would use between 20-30mb

So on our servers, which have 3 GB of memory then each would use between 0.6-1.0%. Plus I assume a worker process is capable of running multiple threads to respond to multiple page requests in the same way that COM+ server used to do.

So it looks like its not an issue then. Although I would welcome more comments on this subject.


 
 
MVP User





PostPosted: ASMX Web Services and XML Serialization, Running multiple frameworks... Top

...

Ok so basically what you are saying is that each framework would create a worker process (one for each version of the framework) and each process would use between 20-30mb

So on our servers, which have 3 GB of memory then each would use between 0.6-1.0%. Plus I assume a worker process is capable of running multiple threads to respond to multiple page requests in the same way that COM+ server used to do.

So it looks like its not an issue then. Although I would welcome more comments on this subject.


Sorry, but this is not possible at all in an ASP.NET application, you can't have a V1.1 and V2.0 CLR loaded at the same time, even when you have separate worker processes started by IIS.
 
Willy.
 

 
 
Jon Langdon - MSFT





PostPosted: ASMX Web Services and XML Serialization, Running multiple frameworks... Top

[Moving this thread to the ASP.Net forums]

I'd like to clear up any confusion. You can run asp.net versions side-by-side on the same machine, provided you isolate the the applications in separate worker processes. See http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconconfiguringaspnetapplicationforaspnetversion.asp for more information. It is not possible, however, to run multiple versions of the CLR in the same process (as I believe you already understand).

Jon


 
 
MVP User





PostPosted: ASMX Web Services and XML Serialization, Running multiple frameworks... Top

...

[Moving this thread to the ASP.Net forums]

I'd like to clear up any confusion. You can run asp.net versions side-by-side on the same machine, provided you isolate the the applications in separate worker processes. See http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconconfiguringaspnetapplicationforaspnetversion.asp for more information. It is not possible, however, to run multiple versions of the CLR in the same process (as I believe you already understand).

Jon


True, I stand corrected.
 
Willy.