public static void LoadLazyAssemblyInALC(string asm_base64, string pdb_base64)
{
var context = new System.Runtime.Loader.AssemblyLoadContext("testContext", true);
byte[] asm_bytes = Convert.FromBase64String(asm_base64);
byte[] pdb_bytes = null;
if (pdb_base64 != null)
{
pdb_bytes = Convert.FromBase64String(pdb_base64);
}
loadedAssembly = context.LoadFromStream(new System.IO.MemoryStream(asm_bytes), new System.IO.MemoryStream(pdb_bytes));
Console.WriteLine($"Loaded - {loadedAssembly}");
}