This project is read-only.

How to use typescript in my website?

Topics: General
Oct 3, 2012 at 2:04 PM


How to use typescript in website?

can i replace typescript files with my old javascript file?

If i want to migrate my old web application to typescript what are the changes i need to do?



Oct 4, 2012 at 12:51 AM

The MSI includes an ASP.NET 3 MVC template for TypeScript.  This shows how to integrate TypeScript into an ASP.NET site.  Note that the browser can't run TypeScript.  When you build the project your TypeScript is compiled to JavaScript code, and it is still the JavaScript files that the browser should reference and execute.

Oct 6, 2012 at 11:49 AM

*.aspx and *.ascx are built automatically by ASP.NET, and so should *.ts.

Everybody who likes the idea, please vote for it: (Dynamic compilation of .ts-files in ASP.NET)!