2
Reply

what is side by side execution in asp.net?

chillgal

chillgal

17y
8.6k
0
Reply

    Assembly can be executed side by side with same assembly name and different versions

    Microsoft has announced the release of the new version of the .Net Framework 1.1. As with almost everything in life, the only constant is change. Most companies have deployed applications supported on .Net Framework 1.0. The new version of .Net supports most of the features built using the original release version. The new version introduces new features and better support for existing functionality like support for IPv6 and improved support for developing mobile applications, among other improvements and additions. The question is not only whether to upgrade to the new version or stay put with the existing version. Decisions need to be taken whether to convert all the existing applications to migrate completely to the new version. .Net Framework 1.1 offers a third alternative - Side-By-Side Execution. This means enabling the existence of multiple versions of .Net Framework on the same machine at the same time and also multiple versions of applications that use a version of the .Net Framework. The managed application existing in this environment can select the version of the Framework that it will execute on. This can be optionally specified in the configuration files and the system follows some heuristics when the selection is not specified. The system defaults in the absence of the configuration options are as mentioned in the table below. Default Version Application Built with Version (.Net) System Installed Version (.Net) Version used by Application 1.0 1.1 1.1 1.0 Both 1.0 (unless configured otherwise) 1.1 1.0 Cannot run (unless configured otherwise) 1.1 1.1 1.1 Table : System defaults for the .Net Framework version that the Windows Application will try to run against. Note that if .Net Framework v1.1 is installed, ASP.Net applications and Web services automatically run against version 1.1 , unless otherwise configured. Configure Version for Windows Applications To explicitly configure the version to be used by the application, you need to mention the version number in the configuration file. For windows applications, the version is specified in the section in the configuration file and the version number is specified with the element in the "version" attribute. The version number specified in this configuration tag should match the subdirectory in which the .Net Framework is installed. Examples: (1) Configuration to use version 1.1: ... ... (2) Configuration to use version 1.0: ... ... (3) Configuration to use version 1.1, if available, but support both the versions: ... ... Note that the preferred version should be mentioned first. When no suitable version is available to execute an application, the CLR prompts the user to install one of the versions supported by the application.