This is a vanilla File -> New Project -> MVC Internet Website
project with a goal of demonstrating how you might use ToTypeScriptD to generate TypeScript
type definition (.d.ts
) files automatically from your .Net
assembly(s).
Install ToTypeScriptD with Chocolatey
cinst ToTypeScriptD
ToTypeScriptD dotnet SampleMVC4\bin\SampleMVC4.dll
ToTypeScriptD dotnet SampleMVC4\bin\SampleMVC4.dll > SampleMVC4TypeDefinitions.d.ts
ToTypeScriptD dotnet SampleWebAPI\bin\SampleWebAPI.dll --regexFilter "SampleWebAPI.Controllers"