Taritsyn / JavaScriptEngineSwitcher

JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines. This library allows you to quickly and easily switch to using of another JavaScript engine.
Apache License 2.0
440 stars 49 forks source link

AddJsEngineSwitcher Missing extension in Asp Net Core 2.1 #64

Closed nikolay-hristov closed 5 years ago

nikolay-hristov commented 5 years ago

The service collection doesn't have an extension method for the js engine switcher. Thought the current work around for me is JsEngineSwitcher.Current.EngineFactories.AddChakraCore();

Taritsyn commented 5 years ago

Hello, Nikolay!

I recommend you to read the “Registration of JS engines > ASP.NET Core” subsection of documentation.