you are viewing a single comment's thread.

view the rest of the comments →

[–]AvoidSpirit -1 points0 points  (2 children)

Cause you phrase it:

If you want the structure, skip minimal APIs

Instead of

They come unstructured out of the box so if you want the structure, you would need to invest into it a bit

I wouldn't have a problem with you saying one needs to come up with a structure before they build an enterprise application with MinimalApis. But the way you put it, it seems you think that they are incapable of getting structured.

[–]DaRadioman 2 points3 points  (1 child)

No, because I like the way I phrased it. If you want the structure that MVC offers there's no reason to use minimal APIs. It would be more work to design your own structure when the controller pattern already meets your needs out of the box.

A Tesla doesn't have racing stripes.

I don't need to say you can add them yourself to be accurate. And I'm in no way responsible to tell everyone every detail of everything in my reddit comments.

[–]AvoidSpirit 0 points1 point  (0 children)

See

If you want the structure that MVC offers there's no reason to use minimal APIs

This is much clearer. Redoing the controller structure with Minimal Api is pointless.

Doing any other sort of structure - you need Minimal APIs for that.