{"id":3774,"date":"2011-02-03T13:32:04","date_gmt":"2011-02-03T12:32:04","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/3774-how-microsofts-office-web-apps-were-written-in-c-and-compiled-to-javascript-maybe.html"},"modified":"2011-02-03T13:32:04","modified_gmt":"2011-02-03T12:32:04","slug":"how-microsofts-office-web-apps-were-written-in-c-and-compiled-to-javascript-maybe","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/3774-how-microsofts-office-web-apps-were-written-in-c-and-compiled-to-javascript-maybe.html","title":{"rendered":"How Microsoft\u2019s Office Web Apps were written in C# and compiled to JavaScript, maybe"},"content":{"rendered":"<p>While researching another product I came across this <a href=\"http:\/\/twitter.com\/nikhilk\/status\/2624327463\" target=\"_blank\">2009 tweet<\/a> from Microsoft\u2019s Nikhil Kothari:<\/p>\n<blockquote>\n<p>Office 2010 web apps &#8211; perhaps one of the most ambitious script# projects!<\/p>\n<\/blockquote>\n<p><a href=\"http:\/\/projects.nikhilk.net\/ScriptSharp\" target=\"_blank\">Script#<\/a> is loosely equivalent to the <a href=\"http:\/\/code.google.com\/webtoolkit\/\" target=\"_blank\">Google Web Toolkit<\/a>, but whereas GWT compiles Java to JavaScript, Script# compiles C# to JavaScript. According to the site:<\/p>\n<blockquote>\n<p>Script# is used extensively by developers within Microsoft building Ajax experiences in Windows Live, Office to name just a couple, as well as by a external developers and companies including Facebook.<\/p>\n<\/blockquote>\n<p>I had come across the project before, but was waiting to see if would evolve beyond what looks like a personal project for Kothari. It is hosted on <a href=\"http:\/\/projects.nikhilk.net\">http:\/\/projects.nikhilk.net<\/a> rather than on an official Microsoft domain, and the latest release is 0.6.2. In other words, it does not have the look of a project that you would recommend for production work, interesting though it is. Nor is there much public activity around Script# that I can see, though there is a <a href=\"http:\/\/scriptsharpcontrib.codeplex.com\/\" target=\"_blank\">CodePlex<\/a> site dedicated to improving its JQuery support.<\/p>\n<p>Seeing Kothari\u2019s tweet though raises several questions. <\/p>\n<ul>\n<li>Did Microsoft really use it for Office Web Apps, a high profile project which is a key part of Microsoft\u2019s cloud computing strategy?<\/li>\n<li>Is there another, more up-to-date version of Script# that is used internally and which may one day burst into the public arena?<\/li>\n<li>How might it impact the Silverlight vs HTML5 debate, if Microsoft comes up with a C# to JavaScript compiler in Visual Studio that lets developers code in .NET but deploy to cross-platform JavaScript?<\/li>\n<\/ul>\n<p>I am sure there are readers of this blog who know more than I do, so by all means let me know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While researching another product I came across this 2009 tweet from Microsoft\u2019s Nikhil Kothari: Office 2010 web apps &#8211; perhaps one of the most ambitious script# projects! Script# is loosely equivalent to the Google Web Toolkit, but whereas GWT compiles Java to JavaScript, Script# compiles C# to JavaScript. According to the site: Script# is used &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/3774-how-microsofts-office-web-apps-were-written-in-c-and-compiled-to-javascript-maybe.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How Microsoft\u2019s Office Web Apps were written in C# and compiled to JavaScript, maybe<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,26,55,67,80,94],"tags":[104,236,493,514,586,825],"class_list":["post-3774","post","type-post","status-publish","format-standard","hentry","category-cloud-computing","category-development","category-microsoft","category-professional","category-software-development","category-visual-studio","tag-net","tag-c","tag-internet-explorer","tag-javascript","tag-microsoft","tag-silverlight"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/3774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=3774"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/3774\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=3774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=3774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=3774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}