CodeRun Web Toolkit: C# to JavaScript web framework


What is CodeRun Web Toolkit?

CodeRun Web Toolkit (CWT) is a complete framework for creating Rich Internet Applications with C#. CWT provides the following components:

  • C# to JavaScript converter
  • C# to JavaScript remoting handler
  • Rich UI library, loosely modeled after WPF (Windows Presentation Foundation)

You can use CodeRun Web Toolkit to:

  • Implement client side scripts for existing ASP.NET applications with C#
  • Work with external JavaScript libraries (such as YUI) in C#.
  • Develop compelling and optimized AJAX Applications in C#

CodeRun Web Toolkit Added Features

Language Features

  • Namespaces
  • Classes
  • Interfaces
  • Properties
  • Events
  • Method Overloads
  • Polymorphism
  • Extension Methods
  • Delegates
  • Indexers
  • Generics
  • LINQ
  • Reflection and Attributes
  • Object Initializers

Productivity Features (in Visual Studio)

  • Compilation Error Reporting
  • Code Coloring
  • Code Refactoring
  • Performance Profiling

Toolkit Features

  • Ajax as method calls
  • Rich UI Library

Simple code example

The following example demonstrates how to write a simple C# method and use CodeRun Web Toolkit to convert it to JavaScript:

//Demonstrates how to execute a C# class at the browser
namespace CWT_Samples
{
  public partial class SimpleExample : System.Web.UI.Page
  {
    protected void Page_Load(object sender, EventArgs e)
     {
       this.RegisterRunAtClientScripts(SimpleExample_Client.Main, head, body);
     }
   }

  //The following class will be converted to JavaScript
  [RunAtClient]
  public class SimpleExample_Client
  {
     public static void Main()
     {
        var window = HtmlDom.Window;
        window.alert("Hello from C#!");
     }
  }
}

for more information – click here

Advertisements

One thought on “CodeRun Web Toolkit: C# to JavaScript web framework

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s