Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

aodendaal/jsincsharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a very simple example of how to host JavaScript in a C# application using Microsoft.JScript

* Add reference to Microsoft.JScript
* Using reflection
  - Compile assesmbly from source or file
  - Get the type
  - Create instance of the type
  - Invoke the methods on the instance based on the type
* Only type and package definitions are allowed inside a library

About

Example of how to host JavaScript in C# using Microsoft.JScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages