natemcmaster / DotNetCorePlugins

.NET Core library for dynamically loading code
Apache License 2.0
1.61k stars 227 forks source link

Net 6 Support - Minimal API #236

Closed Simonl9l closed 1 year ago

Simonl9l commented 2 years ago

Is your feature request related to a problem? Please describe. With the release of Net 6.0 and Minimal API it would be great to have the equivalent of the Support for MVC and Razor in an environment that no longer has a Startup. and allows an easy way to hookup classes that provide extension to IEndpointRouteBuilder.

Describe the solution you'd like As above, such that one could:

 var app = WebApplication.CreateBuilder().Build();
 app.MapPluginFromAssemblyFile(pluginFile)

Describe alternatives you've considered None yet

Additional context https://docs.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis?view=aspnetcore-6.0

natemcmaster commented 2 years ago

I would be willing to accept a pull request for this.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please comment if you believe this should remain open, otherwise it will be closed in 14 days. Thank you for your contributions to this project.

github-actions[bot] commented 1 year ago

Closing due to inactivity. If you are looking at this issue in the future and think it should be reopened, please make a commented here and mention natemcmaster so he sees the notification.