Is it possible to use System.Web.Extensions 3.5 without upgrading to .NET 3.5? We are u开发者_运维技巧sing .NET 3.0 and have been asked to upgrade from web extensions 1.0 to 3.5.
To be perfectly clear: .Net 3.0 and 3.5 are simply additions to the existing 2.0 framework. The versioning MS did is somewhat of a misnomer. .Net 4.0 is, however, an actual framework change.
For confirmation, IIS (and anything else) sees your application as a 2.0 app.
That said, there is no reason NOT to go ahead and "upgrade" the server to have 3.5 available. You can run multiple apps on the machine each at their own framework level.
Now, if your application references 3.0 specific libraries and you want it to use a 3.5 assembly, then you will need to change the web.config and assembly manifest to point to the 3.5 versions.
No. If you don't upgrade to 3.5 you will not have the assemblies to reference. Quite simple.
精彩评论