3 ms·
> I chuckle every time I read claims about Go (or whatever) being amazingly productive. I don't think it's possible to beat this stack with regards to both prod
by mythz 4y ago
> I chuckle every time I read claims about Go (or whatever) being amazingly productive. I don't think it's possible to beat this stack with regards to both productivity and ease of long-term support
It's easy to beat Open API, it adds friction, generates ugly code and has a suboptimal UI. If you use https://servicestack.net https://servicestack.net you don't to rely on an intermediary external tool, you can generate clean TypeScript DTOs directly from strong C# typed models, that only needs to generate the clean DTOs for your typed APIs (i.e. without the ugly client proxy) as all generated DTOs can be used with the smart generic Service Client, which works the same way across 9 popular languages [2], maximizing reusability and reducing any porting efforts if needing to support Mobile Apps in future. It works even better in .NET languages where if you properly design your Service Layer [3] into a impl-free project you can avoid code-gen entirely and share the DTOs that define your typed Service Contract with .NET clients enabling an end-to-end Typed API without code-gen, which dramatically improves Dev UX in C# clients like Blazor [4] since you can add/modify APIs whilst your Service is running.
We also maintain a better integrated and UX Friendly API Explorer [5] that Open API's Swagger UI which generates richer, validation bound customizable Forms directly from your Typed DTOs, better discovery and API docs and a "Code" tab which gives API consumers step-by-step instructions for how to easily call your Typed APIs in their preferred programming language [6].
As for productivity I'd say it's hard to beat the productivity of AutoQuery [7] where you only need to define your API's typed POCO contract, which ServiceStack uses to implement fully queryable APIs, that you can access immediately from an instant build-in UI https://locode.dev https://locode.dev or rapidly create custom Blazor pages with Auto Form and AutoQueryGrid components [8].
[1] https://docs.servicestack.net/typescript-add-servicestack-reference https://docs.servicestack.net/typescript-add-servicestack-re...
[2] https://servicestack.net/service-reference https://servicestack.net/service-reference
[3] https://docs.servicestack.net/service-complexity-and-dto-roles https://docs.servicestack.net/service-complexity-and-dto-rol...
[4] https://servicestack.net/blazor https://servicestack.net/blazor
[5] https://docs.servicestack.net/api-explorer https://docs.servicestack.net/api-explorer
[6] https://docs.servicestack.net/api-explorer#code-tab https://docs.servicestack.net/api-explorer#code-tab
[7] https://docs.servicestack.net/autoquery https://docs.servicestack.net/autoquery
[8] https://servicestack.net/blazor#auto-forms https://servicestack.net/blazor#auto-forms
- mst 4y agoLook, mate, I do unironically appreciate a good enterforaprize sales pitch, but this is a nerd space so corporate marketing wank is in fact actively counterproductive for the purpose of evangelising what's actually pretty neat tech. To everybody else reading this - mythz' tone deaf bullshit wasn't my favourite way to be reminded I have a gag reflex but the URLs are well worth a look.