Taritsyn/MsieJavaScriptEngine

What's the purpose of using MsieJavaScriptEngine?

Legends opened this issue · 3 comments

What's the purpose of using MsieJavaScriptEngine?
When would someone use it, use case?

Hello!

Have you read the README.md?

Yes, I have. A JavaScript Engine is used in browsers for executing JS.
But what do I do with the MsieJavaScriptEngine on the server when using C#?

I mean, your example shows a string expression which calculates the value, but what else?

Yes, I have. A JavaScript Engine is used in browsers for executing JS.
But what do I do with the MsieJavaScriptEngine on the server when using C#?

Such engines are used to execute the code of Node.js libraries (for example, LESS, CoffeeScript, TypeScript and React) from .NET.

In most projects the MSIE JavaScript Engine is used via the JavaScript Engine Switcher library. Good examples of such use are the following libraries: Bundle Transformer and ReactJS.NET.

I mean, your example shows a string expression which calculates the value, but what else?

As examples, you can see the code of unit tests.