In this post I describe how you can use the JavaScriptEngineSwitcher NuGet package to run JavaScript inside a .NET application