ChakraCore.NET icon indicating copy to clipboard operation
ChakraCore.NET copied to clipboard

How To Apply The Recommendations For chakracore.net.hosting

Open Viir opened this issue 7 years ago • 2 comments

I see this recent update of the readme: https://github.com/JohnMasen/ChakraCore.NET/commit/7e0e2b96b58eb2efe64e870975107b1d944a42a3

I am wondering if and how I should apply these new recommendations to my project which integrates ChakraCore.NET.

To begin with, I am not yet sure if my project is currently using the chakracore runtime/context directly as mentioned in the readme, hence my question: In my project, I call methods on ChakraCore.NET.ChakraRuntime and ChakraCore.NET.ChakraContext. Does this mean it is using the chakracore runtime/context directly?

Viir avatar Jun 08 '18 07:06 Viir

based on your description, you’re using the runtime and context directly. The hosting namespace loads JavaScript class directly without runtime and context method call. I’m preparing a new guide and sample to demonstrate how to integrate your c# and js with hosting namespace.

JohnMasen avatar Jun 09 '18 01:06 JohnMasen

Thank you for the clarification.

I’m preparing a new guide and sample to demonstrate how to integrate your c# and js with hosting namespace.

Thank you, I am looking forward to it. In case there are more dependencies in the guide on how my current c# and js looks like, I am happy to demonstrate this.

Viir avatar Jun 09 '18 05:06 Viir