Alex Filatov
Alex Filatov

Reputation: 2321

How I can implement Typescript into ASP.NET MVC 3 project?

I have ASP.NET MVC 3 project with Razor syntax. Now I implement js code inline html markup. It's temporaly case. Now I would like use TypeScript in my project.

Could you please how I should add typescript into my project instead of inline js code?

Upvotes: 1

Views: 287

Answers (1)

basarat
basarat

Reputation: 276181

Could you please how I should add typescript into my project instead of inline js code

Instead of inline js use a script tag : http://www.w3schools.com/tags/tag_script.asp

and compile your TypeScript to JavaScript. More : https://www.youtube.com/watch?v=RWXGMug_Rmo&hd=1

Upvotes: 1

Related Questions