To make the development of the client quicker and less error-prone, I designed a platform-specific application for generating client side TypeScript structures from server side .NET components. My application is also capable of mapping ASP.NET Web API controllers to client API by parsing the structures in the DLLs. Client API by default uses jQuery for handling AJAX requests.
A very important feature of TypeWatcher is that its functionality can be extended with plugins. To illustrate this, I created a Kncokout.JS plugin that users can use to generate Knockout models and I also implemented a client API plugin that uses Fetch API instead of jQuery for AJAX communication.
To demonstrate how the development of the client is different and easier with TypeWatcher, I created an example application where I’m generating clint API from Web API controllers along with data objects and models in Knockout.JS.