In modern software development, many applications are written to execute within a managed runtime environment, such as the MICROSOFT® .NET Framework. Managed runtime environments serve as a way to allow applications access to system resources, enforce security policies, etc. A managed runtime environment accomplishes this by creating “partitioned process spaces” wherein an application is executed. A partitioned process space allows an application to execute in such a manner that it is isolated from any other partitioned spaces in the process that the computer may be executing at the time. In the MICROSOFT® .NET Framework, these partitioned process spaces are called “AppDomains”.
A problem arises when an application is executed in one partitioned process space and the content is required to execute in another partitioned process space. Given the isolation and other rules governing managed runtime environments discussed earlier, the application will not be able to communicate with the content in the different partitioned process space, nor will the content be shown as part of the application.
Various technologies and techniques are disclosed that allow a user interface in a managed runtime environment to display content from two or more different partitioned process spaces. A particular software application is provided that operates in a managed runtime environment, the particular software application having a user interface. A window handle is used to allow a user interface of the particular software application to display content from two or more different partitioned process spaces at a same time. Information from the two or more partitioned process spaces can be integrated within the user interface of the software application while preserving a level of isolation between the two or more different partitioned process spaces. This is accomplished by providing a first portion of a content container for the user interface with a host control that will contain a provided window as a child window and resides in a first partitioned process space of a main window. A second portion of the content container for the user interface is provided with a source control that provides the window handle and resides in a second partitioned process space of the main window. In one implementation, the second portion of the content container can have content for display, such as in an isolated frame control.
This Summary was provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
For the purposes of promoting an understanding of the principles of the invention, reference will now be made to the embodiments illustrated in the drawings and specific language will be used to describe the same. It will nevertheless be understood that no limitation of the scope is thereby intended. Any alterations and further modifications in the described embodiments, and any further applications of the principles as described herein are contemplated as would normally occur to one skilled in the art.
The system may be described in the general context as an application that allows content from different partitioned process spaces to be displayed in the same user interface in a managed environment, but the system also serves other purposes in addition to these. In one implementation, one or more of the techniques described herein can be implemented as features within a framework environment such as MICROSOFT® .NET Framework, or from any other type of program or service that allows for execution and/or development of software.
As shown in
Additionally, device 100 may also have additional features/functionality. For example, device 100 may also include additional storage (removable and/or non-removable) including, but not limited to, magnetic or optical disks or tape. Such additional storage is illustrated in
Computing device 100 includes one or more communication connections 114 that allow computing device 100 to communicate with other computers/applications 115. Device 100 may also have input device(s) 112 such as keyboard, mouse, pen, voice input device, touch input device, etc. Output device(s) 111 such as a display, speakers, printer, etc. may also be included. These devices are well known in the art and need not be discussed at length here. In one implementation, computing device 100 includes managed software application 200. Managed software application 200 will be described in further detail in
Turning now to
Managed software application 200 includes program logic 204, which is responsible for carrying out some or all of the techniques described herein. Program logic 204 includes logic for providing a particular software application that operates in a managed runtime environment (.NET Framework, etc.) and has a user interface 206; logic for using a window handle (e.g. MICROSOFT® Windows HWND handle) to allow a user interface of the particular software application to display content from two or more different partitioned process spaces (e.g. AppDomains) at a same time 208; logic for allowing information from the two or more partitioned process spaces to be integrated within the user interface of the software application operating in the managed runtime environment while preserving a level of isolation between the two or more different partitioned process spaces 210; logic for enabling a first one of the partitioned process spaces to communicate with a second one of the partitioned process spaces by performing a marshal by reference process (MarshalByRefObjects in the windows operating system) 212; logic for enabling a first one of the partitioned process spaces to have a first portion of content container with a host control that contains a provided window handle, and a second one of the partitioned process spaces with a second portion of the content container with a source control that provides the window handle 214; logic for allowing a first security level that the first portion of the content container follows to be different than a second security level than the second portion of the content container follows (e.g. the second being from an entrusted or different source, etc.) 216; and other logic for operating the application 220. In one implementation, program logic 204 is operable to be called programmatically from another program, such as using a single call to a procedure in program logic 204.
Turning now to
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. All equivalents, changes, and modifications that come within the spirit of the implementations as described herein and/or by the following claims are desired to be protected.
For example, a person of ordinary skill in the computer software art will recognize that the client and/or server arrangements, user interface screen content, and/or data layouts as described in the examples discussed herein could be organized differently on one or more computers to include fewer or additional options or features than as portrayed in the examples.
Number | Name | Date | Kind |
---|---|---|---|
6161148 | Pratt et al. | Dec 2000 | A |
6229537 | Sobeski et al. | May 2001 | B1 |
6453460 | Keyes | Sep 2002 | B1 |
6469714 | Buxton et al. | Oct 2002 | B2 |
6522343 | Sobeski et al. | Feb 2003 | B2 |
6545691 | Vallejo | Apr 2003 | B1 |
6675230 | Lewallen | Jan 2004 | B1 |
6675371 | York et al. | Jan 2004 | B1 |
7086006 | Subramanian et al. | Aug 2006 | B2 |
7145898 | Elliott | Dec 2006 | B1 |
20020112090 | Bennett et al. | Aug 2002 | A1 |
20020174432 | Schiller | Nov 2002 | A1 |
20030110503 | Perkes | Jun 2003 | A1 |
20040237071 | Hollander et al. | Nov 2004 | A1 |
20050091603 | Chen et al. | Apr 2005 | A1 |
20050108104 | Woo | May 2005 | A1 |
20050149726 | Joshi et al. | Jul 2005 | A1 |
20050218739 | Maddin et al. | Oct 2005 | A1 |
20050273782 | Shpeisman et al. | Dec 2005 | A1 |
20060010134 | Davis et al. | Jan 2006 | A1 |
20060041877 | Harsh et al. | Feb 2006 | A1 |
Number | Date | Country |
---|---|---|
101627380 | Jan 2010 | CN |
2135173 | Dec 2009 | EP |
2010521033 | Jun 2010 | JP |
2008109480 | Sep 2008 | WO |
2008112385 | Sep 2008 | WO |
Number | Date | Country | |
---|---|---|---|
20080222622 A1 | Sep 2008 | US |