C
C#10mo ago
TJacken

❔ ✅ How do you structure AzureFunctionApp project?

I have azure function app project with few functions, logic and models are contained in folder with non meaningful name. Do you organize your folder like clean arhitecture (application, domain, infrastructure) or you create folder per function and all logic related to function is contained in files from folder?
2 Replies
Denis
Denis10mo ago
Imho, the better alternative to clean architecture is Vertical Slice Architecture, where you group not by file type, but by feature. So, you'd preferably create a folder that groups classes together that implement some feature, e.g., Emailing, or User management.
Accord
Accord10mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity. Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.