Persisting and resolving application assembly binds
First Claim
1. A computer-implemented method of persisting assembly bind information for an application being executed on a computer, said method comprising:
- receiving an assembly bind request referencing assembly bind request information from the application being executed to bind with one or more assemblies that provide functionality to the application;
recording, in a memory, the assembly bind request information referenced in the received assembly bind request, said assembly bind request information including a description of a requested assembly;
recording, in the memory, assembly redirect information, said redirect information being determined based on applying an associated assembly policy to the assembly bind request for directing the assembly bind request to a version of the requested assembly;
determining if the assembly bind request information and the assembly redirect information should be persisted in an assembly bind history file specific to the application being executed on the computer; and
persisting the assembly bind request information and the assembly redirect information in the assembly bind history file when the determining is affirmative; and
wherein the recording assembly redirect information comprises recording assembly redirect information for each bind redirection at each level of bind policy redirection; and
wherein the determining if the assembly bind request information and the assembly redirect information should be persisted comprises;
determining that a previous bind history file exists for the application,determining that a difference exists between the previous bind history file and the assembly bind request information and the assembly redirect information,determining that additional assembly bind request information and assembly redirect information for another assembly bind by the application is stored in memory, andpersisting the additional assembly bind request information and assembly redirect information for the another assembly bind in the assembly bind history file.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method are presented that persist assembly bind information for applications at each stage of execution of the assembly policy. New assembly bind history files are created and persisted to disc when changes in assembly bind policy results in a change in the assemblies with which the application binds. This persisted information is used to reconfigure assembly binds to a prior state when operation of the application conformed to a user'"'"'s desires. Since this assembly bind reconfiguration is on a per application basis, only the binding of the selected application is affected. Likewise, the assembly bind history files are associated with a particular user to allow personalized execution of applications on a system.
-
Citations
15 Claims
-
1. A computer-implemented method of persisting assembly bind information for an application being executed on a computer, said method comprising:
-
receiving an assembly bind request referencing assembly bind request information from the application being executed to bind with one or more assemblies that provide functionality to the application; recording, in a memory, the assembly bind request information referenced in the received assembly bind request, said assembly bind request information including a description of a requested assembly; recording, in the memory, assembly redirect information, said redirect information being determined based on applying an associated assembly policy to the assembly bind request for directing the assembly bind request to a version of the requested assembly; determining if the assembly bind request information and the assembly redirect information should be persisted in an assembly bind history file specific to the application being executed on the computer; and persisting the assembly bind request information and the assembly redirect information in the assembly bind history file when the determining is affirmative; and wherein the recording assembly redirect information comprises recording assembly redirect information for each bind redirection at each level of bind policy redirection; and wherein the determining if the assembly bind request information and the assembly redirect information should be persisted comprises; determining that a previous bind history file exists for the application, determining that a difference exists between the previous bind history file and the assembly bind request information and the assembly redirect information, determining that additional assembly bind request information and assembly redirect information for another assembly bind by the application is stored in memory, and persisting the additional assembly bind request information and assembly redirect information for the another assembly bind in the assembly bind history file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-readable storage medium having computer-executable instructions for performing steps for persisting assembly bind information for an application being executed on a computer comprising instructions for:
-
receiving an assembly bind request referencing assembly bind request information from the application being executed to bind with one or more assemblies that provide functionality to the application; recording the assembly bind request information referenced in the received assembly bind request, said assembly bind request information including a description of a requested assembly; recording assembly redirect information, said redirect information being determined based on applying an associated assembly policy to the assembly bind request for directing the assembly bind request to a version of the requested assembly; determining if the assembly bind request information and the assembly redirect information should be persisted in an assembly bind history file specific to the application being executed; persisting the assembly bind request information and the assembly redirect information in the assembly bind history file when the step of determining is affirmative; and binding all assemblies for the application being executed in accordance with the assembly bind history file of the application; and wherein the recording assembly redirect information comprises recording assembly redirect information for each bind redirection at each level of bind policy redirection; and wherein the determining if the assembly bind request information and the assembly redirect information should be persisted comprises; determining that a previous bind history file exists for the application, determining that a difference exists between the previous bind history file and the assembly bind request information and the assembly redirect information, determining that additional assembly bind request information and assembly redirect information for another assembly bind by the application is stored in memory, and persisting the additional assembly bind request information and assembly redirect information for the another assembly bind in the assembly bind history file.
-
Specification