det.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon Server des Unterhaltungsfernsehen Ehrenfeld zum dezentralen Diskurs.

Administered by:

Server stats:

1.8K
active users

#csharp

42 posts23 participants0 posts today

Kind of sad that the linked issue, about being able to tailor a nice 400 response with actionable information for the API client, doesn't seem to even come close to be a priority.

Does nobody care about providing information about what went wrong when handling an API request? I'd think this should be a must from the get go, but given its complete absence from the framework and lack of folks asking for it, maybe I'm the minority here.

#DotNet #CSharp #MinimalApis

github.com/dotnet/aspnetcore/i

Hi. When trying to migrate some existing endpoints to minimal apis, I discovered that is not as easy as in controllers to change the behaviour of a binding error (and I wanted to return the same re...
GitHub[Question] Is there a way to properly emulate InvalidModelStateResponseFactory in minimal apis? · Issue #57337 · dotnet/aspnetcoreBy michaeltg17

So you've got a Program.cs that only consists of toplevel statements and doesn't define an explicit Program class.

Then someone adds a partial Program class providing one trivial two-statements-method. In a series of other commits that all use toplevel statements exclusively.

This person simply let #Copilot do his job, without reviewing Copilot's code, didn't he?

Here's how I see people based on their choice of API programing language.

#JavaScript: You don't care about anything else then the engineer pool you can employ so you take the default one. You're the basic b*.

#csharp: You're a Cpp programmer that only want to use the closest relative. You don't like change.

#elixir: You're the kind of person to read every articles on a subject to take a decision. What you want is nothing the objective best. Your vim is better then theirs. You know you have no recruitment pool but it doesn't matter, you're a 100x developer and nobody could understand how brilliant your code is anyway. You're an hipster

#pyhon: You created your startup to be sold. You basically want a great demo fast, get an offer and gtfo.

#ruby: it's been 10 years you didn't talk to anyone. You got in the hipe and never realised that everyone moved on except you.

#golang: You wish you could use elixir but settled for the second best for none technical reasons. You're submissive. Google is your master.