ASP.Net Core register Controller at runtime
问题 I am asking myself if it is possible to load a DLL with Controller s in it at runtime and use it. The only solution I've found is to add an assembly via ApplicationPart on the StartUp : var builder = services.AddMvc(); builder.AddApplicationPart( AssemblyLoadContext.Default.LoadFromAssemblyPath( @"PATH\ExternalControllers.dll" )); Do anyone know if it is possible to register Controller at any time, because the issue with that solution is, that you have to restart the WebService when you want