BRIDGE.NET - Run C# Code on Any Device

BRIDGE.NET is a platform which integrates with Visual Studio.NET and allows you to write your code in C# and then compile to Javascript

This enables you to run that C# code on any device which supports Javascript.

Check out BRIDGE.NET at
http://bridge.net/

C# Code
using Bridge;
using Bridge.Html5;

namespace DemoApp
{
    public class App
    {
        [Ready]
        public static void Main()
        {
            Window.Alert("Hello World");
        }
    }
} 

Javascript Code Generated

Bridge.Class.define('DemoApp.App', {
    statics: {
        $config:  {
            init: function () {
                Bridge.ready(this.main);
            }
        },
        main: function () {
            window.alert("Hello World");
        }
    }
}); 

Comments

Popular posts from this blog

ActiveMQ, easy to use open source message oriented middleware (MOM)

Basic Send Message to MQ with Java and IBM MQ JMS

MySQL Error Invalid Table or Database Name