SharpKit

SharpKit is a C# to JavaScript productivity tool. It allows you to write C# 4.0 and convert it to JavaScript during compilation.

This project is the SharpKit SDK open-source project, it contains C# interfaces for popular web libraries. Source code for this project is available at googlecode.

Download Now

Getting Started

For Developers

  • Code Validation - no more typos, less bugs.
  • Code Completion - no need to memorize apis.
  • Code Maintenance - refactoring is simple
  • Code Sharing - re-use code between client and server, like data contracts and services.
  • JavaScript Libraries - easily integrate and learn 3rd party libraries, libraries are in C# with xml documentation.

For Project Managers

  • Collaboration - develop safely in teams, C# compiler will protect your team members from stepping on each other's toes.
  • Enforce code quality within your team - patterns, syntax, documentation.
  • Introduce team members to new projects more quickly.
  • Create diagrams and specs for your team members based on real code.
  • Streamline your project - web projects will be written in a single unified language.

Key Features

  • Automatic code minification - optimize your website with smaller JavaScript files
  • Automatic file merge - optimize your website with fewer web requests
  • Support for all major 3rd party libraries
  • Non intrusive - generated code is exactly like hand written code
  • Non binding - you can stop using SharpKit at any time, and remain with the original JavaScript code.
  • Free for open source or small projects.
  • Supports all C# language statements, up to and including C# 4.0
  • Supports all JavaScript language statements.

Supported Libraries (open-source)

  • JavaScript and HTML
  • jQuery
  • jQuery UI
  • jQuery Mobile
  • ExtJS
  • ASP.NET Ajax

What's New?

SharpKit v4 is now available, includes support for C# 4, .NET 4.0, Visual Studio 2010 and MSBuild 4. View latest release notes.

Supported C# features:

  • Namespaces
  • Classes, interfaces, delegates, enums and generics
  • Static classes, partial classes
  • Static methods, instance methods, extension methods
  • Optional parameters, named parameters, method overloads
  • Implicit delegates, anonymous delegates, lambda expressions, LINQ
  • Inheritance, polymorphism, casting, as/is
  • Enumerables

Licensing

  • The SharpKit SDK, including all accompanying source code for HTML, JavaScript, plugins interface are open-sourced under GPL3.
  • The SharpKit compiler is free for use for projects with up to 1000 lines of JS code. For an unlimited professional license, please contact contact@sharpkit.net

Technical Support

Visit the support forum or contact support@sharpkit.net

Last edited Jun 19, 2011 at 1:54 PM by danelkhen, version 4