3 ms·
Translation for non-web-people: how to write a minimal web service in dotNET. I probably missed when the acronym "API" was hijacked by the web people to describ
by flohofwoe 5y ago
Translation for non-web-people: how to write a minimal web service in dotNET. I probably missed when the acronym "API" was hijacked by the web people to describe a custom web service protocol.
- ptx 5y agoI think the point is that the .NET API for writing a minimal web service is now more minimal, thanks to being designed around lambdas instead of heavy use of OOP. The web server API is just an example of this style of .NET API.
- inshadows 5y agoAlso the word "public" is missing. Cute examples, but I guess you're supposed to set up firewall for auth.
- oaiey 5y agoYou can just add auth middleware in there. This is still full fledged ASP.NET Core. They just wire it up using a different style. There is a chapter in the referenced gist about adding middleware. But I guess you more meant the example than the actual tech.
- nodejs_rulez_1 5y agoYeah, it's like 'front-end' by default means a bunch of js and html mashed together, rather than native UI.
- lghh 5y agoConsidering these are http wrappers around program A (the web service) that allows program B (a client) to interact with program A, I'd say API is the correct term for what this is.