Skip to content

Commit

Permalink
Update creating-app-with-plugin-support.md
Browse files Browse the repository at this point in the history
  • Loading branch information
agocke authored Nov 20, 2024
1 parent 6acf8ab commit 22a5538
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/core/tutorials/creating-app-with-plugin-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ ms.date: 10/16/2019

# Create a .NET Core application with plugins

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:
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 namespace for the plugin's dependencies, allowing different assembly dependencies between the plugins and the hosting application. You'll learn how to:

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

> [!NOTE]
> .NET does not provide a security or reliability boundary beyond the operating system's process boundary. 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.

Check failure on line 19 in docs/core/tutorials/creating-app-with-plugin-support.md

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces

docs/core/tutorials/creating-app-with-plugin-support.md:19:292 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md009.md
## Prerequisites

- Install the [.NET 5 SDK](https://dotnet.microsoft.com/download) or a newer version.
Expand Down

0 comments on commit 22a5538

Please sign in to comment.