2 ms·
I'm not sure why you need to modify your serialization or protocol to get type safety. I've been using NSwag (https://github.com/NSwag/NSwag https://github.com
by grovesNL 9y ago
I'm not sure why you need to modify your serialization or protocol to get type safety.
I've been using NSwag (https://github.com/NSwag/NSwag https://github.com/NSwag/NSwag) to generate TypeScript clients from .ASP.NET controllers and it works great. It can generate TypeScript request/response handlers, and interfaces or classes for any public facing models.