Commit Graph

33 Commits

Author SHA1 Message Date
Nate McMaster
2873b0cc67
Update release notes and README 2022-06-04 21:23:10 -07:00
Nate McMaster
5b9df621ca
Delete deprecated dependencies and drop support for everything < .NET 6 2022-06-04 21:09:40 -07:00
dependabot[bot]
13e605f547 build(deps): bump Microsoft.Data.Sqlite from 5.0.0 to 5.0.2
Bumps [Microsoft.Data.Sqlite](https://github.com/dotnet/efcore) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v5.0.0...v5.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-02 06:39:37 +00:00
Nate McMaster
7bf4d79ab2
cleanup: fix links and release note template
[ci skip]
2021-01-30 17:37:53 -08:00
dependabot[bot]
f317c02b87 Bump Microsoft.Extensions.DependencyInjection.Abstractions
Bumps [Microsoft.Extensions.DependencyInjection.Abstractions](https://github.com/dotnet/runtime) from 2.1.0 to 5.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/commits/v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-31 00:58:44 +00:00
dependabot[bot]
140198a5b3
Bump Microsoft.Extensions.DependencyInjection from 2.2.0 to 5.0.1 (#184)
Bumps [Microsoft.Extensions.DependencyInjection](https://github.com/dotnet/runtime) from 2.2.0 to 5.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/commits/v5.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 16:58:06 -08:00
Nate McMaster
65144b1959
cleanup: upgrade dependencies in samples and tests 2021-01-30 16:16:51 -08:00
Nate McMaster
bef2ef20cd
cleanup: run code formatter and cleanup 2021-01-30 15:41:10 -08:00
Nate McMaster
7d673f3378
cleanup: upgrade test and samples to supported .NET Core versions 2021-01-30 15:41:09 -08:00
KatoStoelen
69e7d30b82 feature: Shadow copy unmanaged DLLs when hot reloading enabled (#119)
When hot reloading is enabled, unmanaged DLLs will be shadow copied to a
unique temp directory per PluginLoader to allow replacing the original file. 
The temp directory is deleted when the AssemblyLoadContext is unloaded.

Fixes #118
2020-01-10 07:55:28 -08:00
Nate McMaster
e5d74ec3f3
Merge branch 'release/0.3.2' 2019-12-14 20:04:08 -08:00
Nate McMaster
1d0700a462 Add powershell version of script for hot-reload sample 2019-12-14 17:40:44 -08:00
Nate McMaster
7481aaa76a
Add code comments to hello-world sample and README (#104) 2019-12-08 12:47:52 -08:00
Nate McMaster
1761362bb1
Update samples and docs about how shared types work 2019-11-21 22:59:37 -08:00
Nate McMaster
60db210880
cleanup: run code formatter on sample
[ci skip]
2019-10-13 21:43:50 -07:00
Daniele Fontani
920bc69641
Update README.md 2019-10-08 08:41:27 +02:00
Daniele Fontani
656c047b52 fix register singleton 2019-10-08 08:30:53 +02:00
Daniele Fontani
312a9d96ab README notes 2019-10-07 19:30:34 +02:00
Daniele Fontani
bfb354d4f8 removed bad project 2019-10-07 19:22:06 +02:00
Daniele Fontani
12f0b6d811 Added sample for service implementation override 2019-10-07 13:01:42 +02:00
Nate McMaster
6c471dc402
Implement naive hot reloading (#62)
Fixes #37 

Requires .NET Core 3.

Usage:
```csharp

var loader = PluginLoader.CreateFromAssemblyFile(pluginPath,
                   config => config.EnableHotReload = true);

loader.Reloaded += (sender, eventArgs) =>
{
    // do something, such as...
    var newestVersionOfAssembly = eventArgs.Loader.LoadDefaultAssembly();
};
```
2019-09-13 21:27:48 -07:00
Nate McMaster
a1e2a27134 Add sample demonstrating the use of a dependency injection container 2019-08-27 22:57:37 -07:00
Nate McMaster
d5c41d8086
docs: update hello-world README 2019-07-23 21:50:48 -07:00
Nate McMaster
1f6c8481c7
docs: add sample for simple console app 2019-07-23 21:49:21 -07:00
Nate McMaster
a641e86c21
feat: add a new package, Plugins.Mvc, for loading MVC controllers and Razor views from a plugin 2019-07-15 21:31:53 -07:00
Nate McMaster
85a4c87dc6
Update MVC sample for .NET Core 3 2019-06-21 14:34:15 -07:00
Nate McMaster
0bd41c4b3a
Drop support for configuring plugins via xml file and refactor PluginLoader.Create* APIs
This removes support for configuring the plugin via XML. It's better to do most of the plugin configuration programmatically. Some settings, such as assemblies to share, have to be expressed via code and can't be expressed in XML. There weren't enough use cases for changing the plugin config via file post-publish, so I'm simplifying the library by removing this.
2019-04-24 22:00:18 -07:00
Nate McMaster
4ef899c789
Address #38 - update sample to show usage of sharedTypes for MVC 2019-04-11 08:40:27 -07:00
Nate McMaster
f1d45662a4 Fix #25 - fix loading in MVC sample and add fallback to loading assemblies from the plugin base directory 2019-01-14 23:01:18 -08:00
Nate McMaster
abf20cdaac
Add a sample for loading ASP.NET MVC controllers from plugins 2018-10-22 18:23:07 -07:00
David Pendray
882a142655 Update README.md (#2) 2018-07-25 07:44:30 -07:00
Nate McMaster
aaa0413fa9
Rename package to McMaster.NETCore.Plugins 2018-07-23 20:15:44 -07:00
Nate McMaster
e5e88bbefb
Add sample showing how to use plugins in an ASP.NET Core application 2018-07-23 07:58:38 -07:00