Skip to content

Commit 2376471

Browse files
authored
Update creating-app-with-plugin-support.md (#43679)
1 parent bcf3298 commit 2376471

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/core/tutorials/creating-app-with-plugin-support.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@ title: Create a .NET Core application with plugins
33
description: Learn how to create a .NET Core application that supports plugins.
44
author: jkoritzinsky
55
ms.author: jekoritz
6-
ms.date: 10/16/2019
6+
ms.date: 11/20/2024
77
---
88

99
# Create a .NET Core application with plugins
1010

11-
This tutorial shows you how to create a custom <xref:System.Runtime.Loader.AssemblyLoadContext> to load plugins. An <xref:System.Runtime.Loader.AssemblyDependencyResolver> is used to resolve the dependencies of the plugin. The tutorial correctly isolates the plugin's dependencies from the hosting application. You'll learn how to:
11+
This tutorial shows you how to create a custom <xref:System.Runtime.Loader.AssemblyLoadContext> to load plugins. An <xref:System.Runtime.Loader.AssemblyDependencyResolver> is used to resolve the dependencies of the plugin. The tutorial provides a separate assembly context for the plugin's dependencies, allowing different assembly dependencies between the plugins and the hosting application. You'll learn how to:
1212

1313
- Structure a project to support plugins.
1414
- Create a custom <xref:System.Runtime.Loader.AssemblyLoadContext> to load each plugin.
1515
- Use the <xref:System.Runtime.Loader.AssemblyDependencyResolver?displayProperty=fullName> type to allow plugins to have dependencies.
1616
- Author plugins that can be easily deployed by just copying the build artifacts.
1717

18-
## Prerequisites
18+
> [!NOTE]
19+
> Untrusted code cannot be safely loaded into a trusted .NET process. To provide a security or reliability boundary, consider a technology provided by your OS or virtualization platform.
1920
20-
- Install the [.NET 5 SDK](https://dotnet.microsoft.com/download) or a newer version.
21+
## Prerequisites
2122

22-
> [!NOTE]
23-
> The sample code targets .NET 5, but all the features it uses were introduced in .NET Core 3.0 and are available in all .NET releases since then.
23+
- Install the [.NET SDK](https://dotnet.microsoft.com/download).
2424

2525
## Create the application
2626

0 commit comments

Comments
 (0)