Version 1.0 vs Version 1.1 Framework

  • Thread starter Thread starter Paul Glavich[MVP - ASP.NET]
  • Start date Start date
P

Paul Glavich[MVP - ASP.NET]

I can answer a very "generally" yes and have done this a couple of times -
however - for production systems, this is obviously not a good idea. You
need to make sure you test your app thoroughly. There are some migration
issues, maybe you will run into them, maybe not. We had some serialisation
isses with datasets on one application, but the others worked fine.

So to answer your question, generally yes. Would I recommend this, no, not
really.
 
My question is whether a web application compiled using VS.NET 2002
(targetting .Net Framework version 1.0.3705) will run on a machine with v1.1
of the .Net Framework? I'm thinking in respect of copying the .aspx files
and the .DLLs in the BIN directory from my development machine which has the
1.0 Framework to a directory on another machine which has version 1.1 of the
Framework.

Thanks,
Wayne.
 
Roughly 99% of the time. The easiest breaking change to hit is the XML
changes. If you are not using XML (esp. XPath and Transform), your app
should run under 1.1 without a recompile. In the few cases where it does
not, you can set the web app to run under 1.0 while everything else runs
under 1.1.

I would still suggest a recompile, as you may see some perf enhancements
from a recompile. Most of the perf change is through the 1.1 Framework,
which you will benefit from regardless.

If you need to set to 1.0 on the 1.0/1.1 machine, use the aspnet_regiis exe
method to set it (unless you like changing the path numerous times in IIS).
Lookup aspnet_regiis on the MSDN site and find the article for running under
different versions of ASP.NET. Very good read.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Back
Top