Skip to content
| Marketplace
Sign in
Visual Studio>Tools>C# To TypeScript model converter
C# To TypeScript model converter

C# To TypeScript model converter

AdrianDev

|
1,860 installs
| (4) | Free
A visual studio extension that allows to convert CSharp class to TypeScript class. Convert C# Models, ViewModels and DTOs into their TypeScript equivalents.
Download

Go to Views->Other Windows->CS to TS Converter

Paste your CS model: Paste_NewVersion.PNG

Click "Convert" ConvertedNew.PNG

Please report any issues on the project issues page on Github

Update 2/1/2021

  • Added "Select from file" button to convert code directly from file
  • Added support for structs

Update 2/1/2021

  • Added support for C# 9.0 records
  • Added conversion for C# class fields (not supported in previous version)

Update 1/27/2021

  • Improved the UI layout
  • Added a Save as button to save converted code to file

Update 1/18/2021

  • Added conversion from C# DateTime to TS equivalent
  • Added conversion from C# Dictionary to TS equivalent eq:
    Dictionary<string, int> SomeDictionary { get; set; }
    
    to
     SomeDictionary: {[key: string]: number}; 
    

Update: 1/15/2021

-Add support for inheritance

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft