Skip to main content
Best practices
0 votes
1 replies
65 views

In your experience, which software architecture can be considered the most solid and future-proof for modern systems? Many developers highlight Hexagonal Architecture for its modularity and decoupling,...
AHMED HAFDI's user avatar
Best practices
0 votes
2 replies
58 views

Problem Statement I'm implementing a complex business workflow using Hexagonal Architecture (Ports and Adapters), but I'm struggling with how to properly orchestrate. Business Workflow Requirements ...
JavaNullPointer's user avatar
0 votes
1 answer
53 views

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 ...
Eldar Tailov's user avatar
0 votes
0 answers
28 views

I am working on an e-commerce application where I have two separate ASP.NET MVC projects: AdminPanel: used by admins to manage items Website: public-facing site for users to view items Both projects ...
shain's user avatar
  • 1
0 votes
0 answers
96 views

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 ...
GrassConcreteFloor1788's user avatar
0 votes
1 answer
75 views

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: ...
Igor Bezlepkin's user avatar
0 votes
1 answer
72 views

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 ...
Aka's user avatar
  • 55
0 votes
1 answer
212 views

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 ...
Danny Steinbrecher's user avatar
-1 votes
1 answer
523 views

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 ...
alEN's user avatar
  • 107
0 votes
1 answer
229 views

Don't seem to find a good explanation for this. Is it a bad practice to have e.g. a method on one layer call another method on the same layer?
Magni Hansen's user avatar
0 votes
1 answer
1k views

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 ...
edwin.ill's user avatar
-2 votes
1 answer
151 views

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 ...
Turing's user avatar
  • 21
1 vote
2 answers
820 views

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", ...
Tristan's user avatar
  • 9,191
2 votes
2 answers
320 views

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 ...
lm2a's user avatar
  • 933
0 votes
0 answers
234 views

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 ...
DK_bhai's user avatar
  • 359

15 30 50 per page
1
2 3 4 5
20