-
Notifications
You must be signed in to change notification settings - Fork 0
Home
someguy20336 edited this page Feb 16, 2020
·
1 revision
TypeRight is a simple tool that generates TypeScript files from your C# objects and controller actions. This project stemmed from some annoying things I found while doing web development using C# and MVC:
- Making requests required entering a free text URL and parameter names. If anything changed, the request broke.
- If you wanted to strongly type a result from a web request, you would need to make the same C# object in TypeScript. This led to maintenance nightmares trying to keep those in sync.
- Using enums on the server and client required keeping them in sync
This tool solves those problems by autogenerating those TypeScript files every time you build your project.