public static Task LoadComponentsFromLibrary(string data) { var bytes = Convert.FromBase64String(data); var assembly = Assembly.Load(bytes); var container = ContainerService?.Configure(assembly); ActivationService?.RegisterAll(assembly, container); return(Task.FromResult(true)); }