Skip to content

kswoll/WootzJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important Update on Requirements

With the latest Roslyn bits, you must obtain the Microsoft Build Tools 2015. The latest version of roslyn has dependencies on assemblies from this download and are absolutely required.

WootzJs

WootzJs is a C# to Javascript cross-compiler. You write your code in C#, and the result is Javascript that can be run in any browser (or other host). It's built on top of Microsoft Roslyn, which handles the complex process of converting your C# code into syntax trees with symbol information.

The design is focused on facilitating single-page applications. While it is possible to build standard web sites where each URL resolves to a different page, you will be fighting WootzJs in order to achieve this. The goal is to produce a single .js file for the entire site (or at least for every "sub site"). To a large extent, it is far simpler to bind HTML elements to your C# code than vice-versa. That being said, any metaphor is workable.

WootzJs also includes a web framework, WootzJs.Mvc for creating single-page applications. It leverages the HTML 5 history API to create an MVC framework with routing, controllers, models, and views. The views are generated programmatically via C#, in a style similar to Google Web Toolkit. The MVC portion looks substantively similar to what you'd expect coming from ASP.NET/MVC.

To stay up to date, follow @WootzJs on Twitter.
To contact the author, use @kirkwoll on Twitter. (Or, if appropriate, submit a bug here on github)

About

C# to Javascript Compiler implemented via Roslyn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •