How to emit a Type in .NET Core
Here is SO post about creating a dynamic type in .NET 4. How to dynamically create a class in C#? And in the accepted answer is just one use of AppDomain. AssemblyBuilder assemblyBuilder = AppDomain.CurrentDomain.DefineDynamicAssembly(an, AssemblyBuilderAccess.Run); Here is another SO post about a replacement of DefineDynamicAssembly function in .NET core. Is there any replace of … Read more