JSSharp is a free tool that enables developers to author C# source code and subsequently compile it into regular script that works across all modern browsers, and in doing so, leverage the productivity and power of existing .NET tools as well as the Visual Studio IDE. JSSharp empowers you with a development methodology and approach that brings software engineering, long term maintainability and scalable development approaches for your Ajax applications, components and frameworks. To use, after installing the extension, go to New Project -> C# -> JSSharp Class Library Or JSSharp Import Library, The only difference between Class Library and Import Library is : The import Library will not converted to javascript , just give you a dll to reference to another JSSharp Library for intellicense and build. After build javascripts and libraries may found under bin/Debug Or bin/Release If you need to change deploy directory for generated javascript files , you may click on the project which you need to change output -> Unload project , then right click again -> Edit *.csproj , find the "DeploymentPath" tag and chage it like: <DeploymentPath>../out/js</DeploymentPath> Updated: 1.2.1: Sencha events are supported.
Updated: 1.2.5: Removed <tt>namespace.InitializeBase()</tt> in sencha class constructors. Removed <tt>Type.RegisterNamespace()</tt> statement for all ignored namespace type/members. Updated: 1.2.6: Problem in constructor generation was solved. This is a fork on Nikhil's Script# , plus supporting the Sencha's new class system via SenchaClassAttribute.
Updated: 1.2.9 Sencha Class Visual Studio Item Template was added. Updated: 1.3.1 Constructor overloads supported on Sencha Class.
For more info and documentation visit : projects.nikhilk.net/ScriptSharp. |