Problem StatementI'm implementing a complex business workflow using Hexagonal Architecture (Ports and Adapters), but I'm struggling with how to properly orchestrate.Business Workflow Requirements...
I'm developing a backend where controllers call services, and each service is responsible for handling an entity(table) in SQL. Now, what if I want to use a transaction, basically roll back previous ...
I am working on an e-commerce application where I have two separate ASP.NET MVC projects:AdminPanel: used by admins to manage itemsWebsite: public-facing site for users to view itemsBoth projects ...
I am implementing DDD and Onion Architecture in a solution is based on .NET Framework and I will be using Autofac for dependency injection.The entities tracked with Entity Framework all need audit ...
I'm diving into the topic of pure architecture and DDD. I can't understand how to properly map data received from API and into the domain entity.create just a DataMapper class with static methods:...
In case of Clean/Onion Architecture what would be the best solution for services in Application layer with bloated dependencies? For example if I have service with dependencies that I don't use in ...
I am currently in the process of implementing a simple hexagonal architecture. I have followed the DDD principle and placed the DomainModels alongside the DomainServices in a domain-package. In ...
I am learning the onion architecture and currently in the process of developing backend service, which follows this architecture. One of functionalities I want to include in my application is to send ...
I am creating a restaurant app, I have the entity Dish and the entity Ingredients, both of which should be related so that I can know what ingredients I have in each dish, my idea was to make a joined ...
I'm developing a clean Architecture's services on Net Core. However when I refactor the methods, it return me the error cs0411. more specifically in the 'GetSubjectById' method when the Cancellation ...
I have a demo project which tries to respect strictly clean/onion/hexagonal architecture.Here is how I configure ArchUnit test : @AnalyzeClasses(packages ="fr.tristan.demoassurance", ...
I have read several articles about onion architecture and they all point to the fact that the problem of layer architecture is that changes in the database would impact the services layer, but, why ...
I have an IdentityDbContext in my data layer but I can't use and packages form Microsoft.AspNetCore. I need to decouple it form the data layer so I can reuse the database context without Identity in a ...
I am developing a website on ASP.NET Core version 7 and I recently migrated from version 5 to version 7, but this version has given me some challenges.Currently, considering that I have defined an ...