Compartilhar via


.NET Framework Deployment Questions

A customer recently asked a set of questions about .NET Framework deployment that I suspect are very common across corporation today.    I thought these might help some of you... Let me know what other questions you have, or better yet, what other resources you have found! 

 

  1. Is the .NET Framework developed to be backwards compatible? Will applications built on .NET Framework 1.1 function properly on .NET Framework 2.0?

 Yes... there are a few known and documented breaking changes, but my and large apps just work after a bit of testing..

 

  1. Do applications built on older versions of .NET Framework need to be re-compiled to use the new .NET Framework version? I'm assuming that they do.

Technically, no.. There is a config file way to make a 1.1 app run on 2.0... in fact if only 2.0 is installed all 1.1 apps run on 2.0..  But if you can recompile on 2.0 and more importantly at least smoke-test the app on 2.0, it is a good idea to do that...  

 

  1. When newer versions of .NET Framework are released, can a user uninstall the older versions of .NET Framework? Does Microsoft recommend against uninstalling .NET Frameworks?

Yes, users can do this, but the recommendation is to keep the version of the .NET Framework that the app was built and tested against...

 

  1. What are Microsoft's recommendations/guidelines for applications that have a strong dependency on the .NET Framework? I'm looking for guidelines that should be followed to prevent deployment issues and compatibility issues with future .NET Framework releases.

See the MSDN docs for a discussion about Side by Side and deployment.  

 

  1.  Are there plans for providing a default .NET Framework version with the OS?  

Yes, we provide a “system” .NET Framework with each OS version... For example, Windows Server 2003 ships with .NET Framework 1.1 and Vista ships .NET Framework 2.0 and .NET Framework 3.0..

Comments

  • Anonymous
    August 04, 2006
    Re: Question #5

    Windows Server 2003 x64 Edition does NOT include any version of the .NET framework.  Both 1.1 and 2.0 work great -- you just have to install them manually after the OS.

  • Anonymous
    August 07, 2006
    hi,

    Does microsoft windows vista 5456 beta version allow .net framework 1.1 to be installed?
    Please reply to this.

    Regards,
    shilpa

  • Anonymous
    August 08, 2006
    While I have not personally tried it, you should be able to install 1.1 on any Vista build... Let me know if you have issues..

  • Anonymous
    August 08, 2006
    does anybody know how many .NET 2.0 are out there? and is MS offering it as an automatic upgrade or do i really have to download it?

  • Anonymous
    August 10, 2006
    Could you also clarify the point around auto-installation via ie7 on XP?

  • Anonymous
    August 16, 2006
    Which files in an ASP.Net's source directory can be removed when deploying (for example, the aspx.cs files), and which must stay?  (I don't need an answer, but it's just a road I've been down before...I don't find ASP.Net very friendly at all when it comes to moving from development mode to a production deployment, but I put a whole lot of that on VS.Net, such as overly-aggressive project caching (vswebcache and the newer machine-wide cache), odd DLL packaging (embedding the app DLL in a dependency DLL), and usage of both the source code directory and the bin directory.

  • Anonymous
    August 16, 2006
    The comment has been removed

  • Anonymous
    August 18, 2006
    Why isn't .NET 1.1 just included with Vista?  Instead, you're dumping that support problem on your developers.

  • Anonymous
    September 18, 2006
    Brad,

    Here's question that follows on from one of your earlier posts: will a framework upgrade be required to run LINQ applications on Vista?  I.e. if a customer has just purchased Vista (and therefore .NET 3.0) will they have to run another installer (for .NET "3.5") in order to run LINQ, after Orcas comes out?

  • Anonymous
    October 11, 2006
    The comment has been removed

  • Anonymous
    October 20, 2006
    Trying to install .net 1.1 framework on Windows 2003 RC1 SP1.  I recevie "the product you are trying to install has already been installed with your operating system. Use Windows Update to install the latest updates".  .Net 1.1 in not installed only 2.  I uninstall 2 try 1.1 install and still recevie the error. Have site devolped in ASP 1 that will not work. Any ideas?

  • Anonymous
    October 24, 2006
    Brian, Go here: http://support.citrix.com/article/CTX103671