https://github.com/aimenux/assemblyloadcontextdemo
Using a custom AssemblyLoadContext to illustrate plugin architecture
https://github.com/aimenux/assemblyloadcontextdemo
assemblyloadcontext fluent-validation humanizer net80 plugin-architecture
Last synced: 17 days ago
JSON representation
Using a custom AssemblyLoadContext to illustrate plugin architecture
- Host: GitHub
- URL: https://github.com/aimenux/assemblyloadcontextdemo
- Owner: aimenux
- License: mit
- Created: 2023-08-24T13:56:51.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-11T09:58:19.000Z (almost 2 years ago)
- Last Synced: 2025-01-10T00:24:19.316Z (over 1 year ago)
- Topics: assemblyloadcontext, fluent-validation, humanizer, net80, plugin-architecture
- Language: C#
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/aimenux/AssemblyLoadContextDemo/actions/workflows/ci.yml)
# AssemblyLoadContextDemo
```
Using a custom AssemblyLoadContext to illustrate plugin architecture
```
> In this demo, i m using a custom [AssemblyLoadContext](https://learn.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support) to load/run plugins with their dependencies (either satellite assemblies or native libraries).
>
> :bulb: This demo use plugins with different versions of humanizer. By using a custom [AssemblyLoadContext](https://learn.microsoft.com/en-us/dotnet/core/dependency-loading/understanding-assemblyloadcontext), each plugin's dependencies are loaded from the correct location, and one plugin's dependencies will not conflict with another.
>
> **`Tools`** : net 8.0, humanizer, fluent-validation