At MIX11 last week, I presented the Script#: Compiling C# to JavaScript using Visual Studio.
As full-fledged script-based development becomes widespread with the HTML5 wave, a couple set of interesting questions emerge - what are the development tools you and your team uses to productively author and manage a code base? Shouldn’t you write code in a model that is optimized for development and productivity and let a compiler do its magic and produce code that is optimized for deployment and runtime?
Script# allows you to write your code in C# and compile it down to deployable JavaScript, it also unlocks the power of C#, Visual Studio and existing .NET tools for scripting scenarios.

In my demo, I highlighted some of these tooling experiences (things like refactoring, static analysis, unit testing and IDE tools). I also demo'd how you can get started with the traditional "hello world" scenario and how you can continue to use frameworks like jQuery, as well as write your own jQuery plugins using Script#.
I have published the code and slides. I will be blogging a more detailed post on each demo over the course of the next few blog posts, so stay tuned.
Script# has been used successfully to develop various applications. These include Bing maps, Bing mobile, and the Messenger/Web IM integration within Hotmail.
If you’re building an application using Script#, I'd love to hear about it, and reference it in an upcoming revamp of the project's site.
You can now download the latest release of Script#, v0.7 off the Script# project site. It comes with the ability to consume generic types, a new script loader, and improved asp.net mvc integration, as well as nuget support to get you started on that. As always I look forward to hearing from you on your use of Script#.
Posted on Tuesday, 4/19/2011 @ 6:11 AM
| #
Presentations