This project is read-only.
In the code in the repository, all tests pass except for code with breaks and continues. This is much better than in version 0.3.

Note: I'd really appreciate any feedback on whether you think the project isn't feasible, whether you'd like to use it if it were more mature, and that sort of thing. Leave comments or email me at

Project Description
Axial lets you write .NET code that will be converted to JavaScript for use on the web. The goal is to make JavaScript more accessible to C# and VB programmers who are comfortable using Visual Studio.

This is very useful in some scenarios, such as form validation. You could write your validation function in C#, add an Axial Validator control, and you that code will be run in JavaScript, giving a better user experience. In fact, one of the controls lets you to use one function as both the client side and server side form validator. This also allows all code to be in one language, enables Intellisense, and increases the power of JavaScript.

Axial is generally used in WebForms through controls. You only need to place a control and specify the name of the method. Specialized controls are available to run code when the page loads or the form is submitted. AJAX is available through PageMethods and JSON. jQuery integration has been implemented, and there's no reason why other JavaScript libraries couldn't be integrated in the future. ASP.Net MVC will be a future target.

Axial is not complete and may not be feasible in the real world. However, I thought I would let the world decide, rather than keeping the code to myself.

Version 0.2 has full support for the <canvas> tag, using excanvas in Internet Explorer
Version 0.3 has support for VB.NET and JSON Web Services

JSON Web Services (new)
Label Styling
Form Validation
jQuery integration
AJAX via PageMethods
Handling DOM Events
Using a full .NET Class

IL-to-JavaScript decompiler
System.Web.UI.WebControl Translator

Last edited Mar 9, 2010 at 2:35 AM by thasmin, version 12