Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. For Teams
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
299 questions
Filter by
Sorted by
Tagged with
Best practices
0votes
1replies
32views

Hexagonal Architecture: How to orchestrate complex business workflows?

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...
0votes
1answer
43views

How to make a transactional Services when developing a backend with Onion or similar architectures?

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 ...
0votes
0answers
24views

How to share images between admin and frontend projects in ASP.NET MVC using a shared folder?

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 ...
0votes
0answers
91views

How to pass current user information to infrastructure layer in DDD and Onion Architecture?

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 ...
0votes
1answer
65views

What is the correct way to mapped data received from API to domain entity within DDD conception?

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:...
0votes
1answer
70views

Bloated dependencies in Application layer

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 ...
0votes
1answer
203views

What belongs in the applicationService package to properly test the onion architecture with ArchUnit?

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 ...
-1votes
1answer
516views

Where should I place email notifications - in Infrastructure Layer or Application layer? [closed]

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 ...
0votes
1answer
225views

Can a layer method call another method on the same layer in an onion architecture? [closed]

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?
0votes
1answer
1kviews

How to work with many to many relationships in ASP.NET Core MVC web app

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 ...
-2votes
1answer
150views

How to correctly establish the type argument to CancellationToken in Net Core?

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 ...
1vote
2answers
809views

Why does this ArchUnit test fail?

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", ...
2votes
2answers
318views

What problem of Layer Architecture really solve Onion Architecture?

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 ...
0votes
0answers
233views

Decoupling Identity from Data layer in Onion Architecture in Dotnet Core

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 ...
0votes
1answer
403views

how to fix "Error CS0535'ApplicationUserManager' does not implement interface member 'IApplicationUserManager.NormalizeKey(string)' "

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 ...

153050per page
1
2345
20

Hot Network Questions

more hot questions
Newest onion-architecture questions feed

[8]ページ先頭

©2009-2025 Movatter.jp