Skip to content

ToTypeScriptD/SampleMVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SampleMVC

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).

cinst ToTypeScriptD

Get the type definitions out of your MVC project

ToTypeScriptD dotnet SampleMVC4\bin\SampleMVC4.dll

Save the output to a file

ToTypeScriptD dotnet SampleMVC4\bin\SampleMVC4.dll > SampleMVC4TypeDefinitions.d.ts

Only get types in a specific namespace

ToTypeScriptD dotnet SampleWebAPI\bin\SampleWebAPI.dll --regexFilter "SampleWebAPI.Controllers"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published