From e47e527750067bc91e1346bf0a2465dad9aa837d Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 28 Feb 2025 10:07:26 -0800 Subject: [PATCH 1/2] Update AppDomain.xml --- xml/System/AppDomain.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xml/System/AppDomain.xml b/xml/System/AppDomain.xml index ed06b0d16f1..86c3f73a417 100644 --- a/xml/System/AppDomain.xml +++ b/xml/System/AppDomain.xml @@ -91,7 +91,6 @@ Application domains, which are represented by objects, help provide isolation, unloading, and security boundaries for executing managed code. - Use application domains to isolate tasks that might bring down a process. If the state of the that's executing a task becomes unstable, the can be unloaded without affecting the process. This is important when a process must run for long periods without restarting. You can also use application domains to isolate tasks that should not share data. - - If an assembly is loaded into the default application domain, it cannot be unloaded from memory while the process is running. However, if you open a second application domain to load and execute the assembly, the assembly is unloaded when that application domain is unloaded. Use this technique to minimize the working set of long-running processes that occasionally use large DLLs. > [!NOTE] @@ -5804,9 +5803,8 @@ This method overload uses the information from the property to get the friendly name of the current application domain. For the default application domain, the friendly name is the name of the application's executable file. The code example also displays additional information about the application domain. From fb19f17bd3cc3f4f5973771a69e80d44529fab93 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Mon, 3 Mar 2025 14:33:57 -0800 Subject: [PATCH 2/2] Update xml/System/AppDomain.xml --- xml/System/AppDomain.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System/AppDomain.xml b/xml/System/AppDomain.xml index 86c3f73a417..232fc86dadc 100644 --- a/xml/System/AppDomain.xml +++ b/xml/System/AppDomain.xml @@ -5804,7 +5804,7 @@ This method overload uses the information from the ## Remarks -The friendly name of the default application domain is the file name of the process executable. For example, if the executable used to start the process is `"c:\MyAppDirectory\MyAssembly.exe"`, the friendly name of the default application domain is `"MyAssembly.exe"`. (In .NET (Core) versions, the friendly name doesn't include the file extension.) +The friendly name of the default application domain is the file name of the process executable. For example, if the executable used to start the process is `"c:\MyAppDirectory\MyAssembly.exe"`, the friendly name of the default application domain is `"MyAssembly.exe"`. (In .NET Core and .NET 5+, the friendly name doesn't include the file extension.) ## Examples The following code example uses the property to get the friendly name of the current application domain. For the default application domain, the friendly name is the name of the application's executable file. The code example also displays additional information about the application domain.