Microsoft Windows NT 4.0 Guide Manual de usuario Pagina 137

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 155
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 136
Microsoft
®
Windows Server
2003 White Paper
Windows NT 4.0 Server Upgrade Guide 132
Side-by-side Deployments of .NET Framework 1.0 and 1.1
A key benefit of .NET Framework 1.1 in Windows Server 2003 is that different versions can be
installed side-by-side on a single computer. For example, version 1.0 and version 1.1 of the .NET
Framework can be installed on the same computer, enabling you to better support a variety of
application configuration scenarios. Support for side-by-side deployment benefits administrators
and developers alike by eliminating the hassles associated with maintaining the DLLs of old.
In the context of this guide, versions are defined as follows:
A 1.0 application is an application built with and intended for .NET Framework 1.0. All Visual
Studio .NET 2002 applications are built this way.
A 1.1 application is an application built with and intended for .NET Framework 1.1. All Visual
Studio .NET 2003 applications are built this way.
All versions of Windows Server 2003 ship with .NET Framework 1.1.
How Side-by-Side Versions Work
Side-by-side versions of the .NET Framework are supported in much the way that the Visual
Basic runtime works. With Visual Basic, a developer can build an application that targets the
Visual Basic 5.0 runtime and deploy it to a computer. Later, an application can be built that targets
the Visual Basic 6.0 runtime and deployed to the same computer. In the end, both versions 5.0
and 6.0 of the Visual Basic runtime are installed on the computer. However, an application
targeted for a particular version works only with the version they are compiled against—behavior
that differs from the runtime and the .NET Framework.
With the .NET Framework, an application can be built and compiled against version 1.0, and then
even if version 1.1 is installed on a computer, an administrator can redirect the application to use
version 1.1 of the runtime. A developer is not required to recompile the original application against
version 1.1. In a side-by-side installation of the .NET Framework, an application is redirected
dynamically to a newer version of the runtime and .NET Framework libraries without any
intervention from the developer.
Assemblies and Side-by-Side Execution
Side-by-side execution is the ability to store and run multiple versions of an application or
component on the same computer. This means that you can have multiple versions of the
runtime, and multiple versions of applications and components that use a version of the runtime,
on the same computer at the same time. Side-by-side execution gives you more control over the
versions of a component an application binds to and more control over the version of the runtime
an application uses.
Support for side-by-side storage and execution of different versions of the same assembly is an
integral part of strong naming and is built into the infrastructure of the runtime. Because the
strong-named assembly's version number is part of its identity, the runtime can store multiple
versions of the same assembly in the global assembly cache and load those assemblies at run
time.
Vista de pagina 136
1 2 ... 132 133 134 135 136 137 138 139 140 141 142 ... 154 155

Comentarios a estos manuales

Sin comentarios