.Net Script Hosting suggestions?
-
We're developing a new application framework and need to implement a script host so custom logic can be added at several places in the application. As a test, I put in the IronPython script host and it worked well. However, I'd rather use a language like JScript/JavaScript because it is a little more common. I have read that the DLR will support JScript eventually, but only IronPython by the end of the year. We really need to be able to run these scripts in a sandbox environment, giving the script host access to the objects and methods that we want the users to have. Does anyone know of a great script hosting solution for .Net?
-
We're developing a new application framework and need to implement a script host so custom logic can be added at several places in the application. As a test, I put in the IronPython script host and it worked well. However, I'd rather use a language like JScript/JavaScript because it is a little more common. I have read that the DLR will support JScript eventually, but only IronPython by the end of the year. We really need to be able to run these scripts in a sandbox environment, giving the script host access to the objects and methods that we want the users to have. Does anyone know of a great script hosting solution for .Net?
You can execute script using ActiveScript technology. It works. Another great thing with this, WinForm components properties can be accessed like if they were ActiveX. Page me directly if you need to know more about this.
1. I will develop myself to the maximum of my potential in all ways 2. I will look for the good in all people and make them feel worthwhile. 3. If I have nothing good to say about a person, I will say nothing. 4. I will always be as enthusiastic about the success of others as I am about my own. 5. I will always remain loyal to God, my country, family and my friends - Chuck Norris
Ernest Laurentin -
We're developing a new application framework and need to implement a script host so custom logic can be added at several places in the application. As a test, I put in the IronPython script host and it worked well. However, I'd rather use a language like JScript/JavaScript because it is a little more common. I have read that the DLR will support JScript eventually, but only IronPython by the end of the year. We really need to be able to run these scripts in a sandbox environment, giving the script host access to the objects and methods that we want the users to have. Does anyone know of a great script hosting solution for .Net?
You can always use PowerShell extensions. It is very powerful, but not so intuitive.