. NET Framework

Source: Internet
Author: User

I have never been confused about one thing: Does. NET 2.0 support forward compatibility?
(Backward compatibility, although all users are using the forward compatibility feature "to support previous versions" called "Forward compatibility", but it is a bit strange to turn backwards into forward compatibility, in the backend, I will use the Microsoft Translation Service (MS) to avoid confusion)

In other words, can a program built by. NET 1.1 run directly in. NET 2.0?

Over
I am very familiar with the painless upgrade to the ASP. Net project Upgrade Wizard in VS 2005. One of the amazing points is that even if ASP. NET
In the 1.1 case, the DLL program was developed in. NET 1.1. After being changed to an ASP. NET 2.0 project, the camera ran and danced ~~
At that time, I guess there may not be any memory mechanism. I haven't seen any related introduction from Google (it should also be hard to find ), I am so eager to know what it is and how silly it is to live today.

In the past two days, A. NET 1.1 window form was created on Vista, and the window form was opened unexpectedly...

Me
When I found that my window form (. NET 1.1) program was running on Vista, the warning area showed a little difference.
This is what you see when running in 2005. I checked that my Vista only has. NET 2.0, and there is no. NET 1.1, So vista uses. net
The runtime of 2.0 is running the winform EXE built with. NET 1.1. This is my witness. net.
2.0 of the backtracing compatibility capability, it is determined that the binary code built using. NET 2.0 is OK (to be precise, it should be called msil ).
Code ).

The MS official file contains the introduction of zookeeper.
, Msdn magazine has a mental route for. Net rd to develop this function.
.

My experiences with zookeeper are as follows:

  1. . NET Framework 2.0 provides side-by-side (sxs) Execution and backwards compatibility to solve compatibility issues with 1.1.
  2. At the same time, on the operating platforms of server guard 1.1 and 2.0,. NET 1.1 apps will use the. NET 1.1 framework, and. NET 2.0 apps will run 2.0. (Sxs)
  3. On the operating platform of server guard 2.0, both. NET 1.1 app and. NET 2.0 app will run 2.0.
  4. In principle ,. NET 1.1 app in. when the NET 2.0 Framework performs a row, most of the functions of the pipeline should be normal, but not 100%. For example, when the UI shows a different response. (Backwards)
  5. If not.. Net program. net program time (the simplest example: Use. net callback component, with COM callable wrapper and CCW changed to ActiveX Control and provided for ASP calls.. NET Framework version.
  6. If you want to restrict your. NET 1.1 app can only be used. NET 1.1 framework running (usually when running with 2.0 has problems and you don't want to change the code), you can use startup/supportedruntime in config runtime.
    .

From: http://blog.darkthread.net/blogs/darkthreadtw/archive/2007/09/13/kb-about-net-framework-2-0-compatibility.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.