Closed inethui closed 2 years ago
No, but you can run Model.Compile("assembly.dll")
once as a part of your publish process instead of using CompileInPlace
each time. Though, in this case serializers can't access private members of your classes.
And for debugging experience you can run without serializers compilation at all to have faster startup times (AutoCompile = false
) though serialization itself will be slow.
We have to access the private fields of classes. How does Aqla access private fields? Is it through generated IL code or use reflection APIs?
AutoCompile = false
CompleInPlace()
is calledCompile
is calledThis is very helpful, thank you.
We have more than 5800 classes which are registered with "RuntimeTypeModel.Default". However if I run CompileInPlace against the model, it takes more than 3 minutes. Is there a way to speed this up?