Région de recherche :

Date :

https://github.com › microsoft › ClearScript

GitHub - microsoft/ClearScript: A library for adding scripting to .NET ...

ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and VBScript. Features. Simple usage; create a script engine, add your objects and/or types, run scripts. Support for several script engines: Google's V8, Microsoft's JScript and VBScript.

https://learn.microsoft.com › ... › 2014 › september › cutting-edge-a-look-at-clearscript

À la pointe - Regardez ClearScript | Microsoft Learn

ClearScript vous permet d'ajouter des fonctionnalités de script à une application .NET (aussi longtemps qu'il utilise le .NET Framework 4 ou supérieur). ClearScript prend en charge VBScript, JavaScript et V8. V8 est un moteur de JavaScript open source créé par Google et intégré avec Chrome.

https://microsoft.github.io › ClearScript

Add scripting to your .NET applications quickly and easily. - ClearScript

ClearScript 7.2.2 is paired with V8 9.8, which no longer supports Top-Level Await control. Read more…. Add scripting to your .NET applications quickly and easily.

Add scripting to your .NET applications quickly and easily. - ClearScript

https://learn.microsoft.com › ... › 2014 › september › cutting-edge-a-look-at-clearscript

Cutting Edge - A Look at ClearScript | Microsoft Learn

ClearScript lets you add scripting capabilities to a .NET application (as long as it uses the .NET Framework 4 or higher). ClearScript supports VBScript, JavaScript and V8.

Cutting Edge - A Look at ClearScript | Microsoft Learn

https://microsoft.github.io › ClearScript › Examples › Examples.html

ClearScript Examples - GitHub Pages

ClearScript Examples. Namespaces. The examples below use the following namespaces: C# using System; using Microsoft.ClearScript; using Microsoft.ClearScript.JavaScript; using Microsoft.ClearScript.V8; Example code. The following examples demonstrate selected ClearScript features: C# // create a script engine.

https://microsoft.github.io › ClearScript › 2023 › 01 › 24 › module-interop.html

Module Interoperability in ClearScript 7.3.7 | ClearScript

ClearScript 7.3.7 allows JavaScript modules to import resources from CommonJS libraries. In this post we’ll walk through an example. Basic Setup. For this example, let’s allow scripts to load documents and use the console: engine. DocumentSettings. AccessFlags = DocumentAccessFlags. EnableFileLoading; engine. AddHostType (typeof ...

https://github.com › Microsoft › ClearScript › blob › master › ReadMe.md

ClearScript/ReadMe.md at master · microsoft/ClearScript - GitHub

ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and VBScript. Features. Simple usage; create a script engine, add your objects and/or types, run scripts. Support for several script engines: Google's V8, Microsoft's JScript and VBScript.

https://andrewlock.net › running-javascript-in-a-dotnet-app-with-javascriptengineswitcher

Running JavaScript inside a .NET app with JavaScriptEngineSwitcher

The V8 JavaScript engine is what powers Node.JS, Chromium, Chrome, and the latest Edge. The Microsoft.ClearScript package provides a wrapper around the library, providing a C# interface for calling into the V8 library.

Running JavaScript inside a .NET app with JavaScriptEngineSwitcher

https://github.com › microsoft › ClearScript › releases

Releases · microsoft/ClearScript - GitHub

A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows). - microsoft/ClearScript

https://stackoverflow.com › questions › 56150187

C#.Net ClearsScript V8 enable modules - Stack Overflow

Is there a way to enable "import <module>.js;" statements in an embedded V8 Runtime using Microsoft ClearScript? I couldn't find any examples and makes me think I'd have to parse the script file myself first to enable this.