News for hackers. Stuff that matters.
Re:Performance Improvements in .NET 7 by guhidalg on Wednesday August 31, 2022 @02:02PM (#32666008)
It seems you had a bad time learning ASP.NET, but in my experience what you're asking for is not difficult at all.

You have to: 1. [Optional] Define a DTO that deserializes { "foo" : { "bar" : "baz" }} to an object 2. Write a class that subclasses Controller 3. Write a method, call it whatever you want, that accepts a JObject or one of your DTO types. 4. Add the attribute [HttpPut("ping/pong/yolo")] to tell the framework this method should be bound to PUTs for that path. 5. Write your business logic.

Is that blood-crying inducing? No.

Re:Performance Improvements in .NET 7 by cerved on Thursday September 01, 2022 @04:27AM (#32673577)
Without decent documentation, it is.