Onion, Hexagonal is pretty popular in the dotnet world and microservices.
It's also overcomplicated for it's use-case and the main problem becomes mapping between layers and etc.
Eg. One of the code-smells would be the Web.Abstractions layer.
Just go with Vertical Slice Architecture. It dumbs everything down and if you need another technology as DB for example, you'll always need a migration of sorts, even if you have all the necessary abstractions.
Note: Currently on a solo 4 month migration project going from Cognitive Search to Elastic, yes, we use "Onion".
It's also overcomplicated for it's use-case and the main problem becomes mapping between layers and etc.
Eg. One of the code-smells would be the Web.Abstractions layer.
Just go with Vertical Slice Architecture. It dumbs everything down and if you need another technology as DB for example, you'll always need a migration of sorts, even if you have all the necessary abstractions.
Note: Currently on a solo 4 month migration project going from Cognitive Search to Elastic, yes, we use "Onion".