This project has moved and is read-only. For the latest updates, please go here.

JurassicTools - easily expose .Net objects + other cool features!

Dec 29, 2012 at 8:30 PM

Hey all!

Over the last month or so I spent my spare time on developing a helper library for Jurassic. I wanted to make writing .Net objects for JS easier and more secure (specify exactly what gets exposed).

I think it progressed very well, so I wrote a 'little' summary with examples. :) Check it out here:

Some of the features include:

  • it works with .Net and Mono
  • Static classes / members
  • Instance members, all public constructors are available from JS
  • no need to inherit from ObjectInstance or similar, just write your classes normally and add the JSFunction/JSProperty attributes
    • that also means you can use your classes from .Net and JS code
  • Enums
  • Automatic type-conversions
    • Date <-> DateTime
    • Arrays
    • Collections <-> JS objects
  • Transparent objects
  • You can expose 3rd party / framework stuff
  • Delegates
  • Events

Please check out the blog page for more details and examples and tell me what you think! I hope people will like it, so I can get some to help with the project, once I release the code. ;)

I've developed this library alongside some other projects I'm currently working on, you can find more details about that on the page, too.


Mar 7, 2013 at 9:40 PM
Edited Mar 8, 2013 at 5:48 PM
The first alpha is finally released! :)

more details here