What are the differences between these Nuget packages?

Asked

Viewed 57 times

3

I use the Javascriptengineswitcher.Msie package in my webapps on Asp.net mvc, I found 2 more Javascriptengineswitcher packages what’s the difference between them what the pros and cons are?

  • Javascriptengineswitcher.V8
  • Javascriptengineswitcher.Jurassic
  • Javascriptengineswitcher.Msie

1 answer

2


JavaScriptEngineSwitcher is a package that allows you to switch implementations of Javascript engines, and each of these packages you have indicated represents one of the possible alternatives to be used depending on the ones you want to use.

Are they:

  • Javascriptengineswitcher.Jint: Javascript engine based on Jint

    This is an interpreter, it does not compile the code.

  • Javascriptengineswitcher.V8: V8-based Javascript engine (i.e. used in Chrome)

    As it is based on V8, it can be said that it is very reliable. Only it requires a native code DLL.

  • Javascriptengineswitcher.Jurassic: engine based on Javascript compiler -> . Net

    The project is a bit old, so as Javascript changes with new versions it is possible to stop supporting current features.

  • Javascriptengineswitcher.Msie: Internet Explorer based engine (IE must be installed)

    Based on IE. Soon IE must be installed. Mono for example will not support this on Linux.

  • I decided to use Javascriptengineswitcher.V8 only that it depends on the Dlls msvcp110.dll and msvcr110.dll of Visual C++ Redistributable for Visual Studio 2012. My question is, do I just need to copy the Dlls to the bin folder of my ASP.NET MVC application or do I have to install Visual C++ Redistributable for Visual Studio 2012 on the server? ?

  • Possibly it will just be a matter of copying these Dlls together. If it doesn’t work it’s because the app isn’t allowed to load native Dlls, which means you’ll have to contact the host or switch to another one that allows.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.