Most voted "ddd" questions
Domain-Driven Design (DDD) is a software development approach in which design is domain-driven, i.e., by the area of knowledge to which the software applies.
Learn more…122 questions
Sort by count of
-
3
votes1
answer114
viewsIs it a problem with my architecture?
I’ve been a software developer for a long time, but I’m always looking to learn "different ways of doing things". I am currently working on a new project and decided to base the architecture on…
-
3
votes1
answer84
viewsNavigation Properties - Domain-Driven Design
Hello, I am studying DDD and came across the following question: There is the Aggregate (Aggregate), a set of related objects that have an Aggregation Root (Aggregate Root). So far so good, I…
-
3
votes1
answer69
viewsInjection of Dependencies Layers Application / Domain / Repository
In an application using the concepts of DDD I am in doubt about who could inject (dependencies) in a certain class, if there is any standard for such. This is the following between the Application,…
asp.net software-architecture ddd dependency-injection solidasked 6 years, 6 months ago LeoFelipe 1,455 -
2
votes1
answer157
viewsHow to get the necessary knowledge about a domain?
In ddd one of the main concerns we need to have is to really understand the domain being considered, ie understand the business rules, processes and etc. Along with this is the construction of a…
-
2
votes1
answer808
viewsASP.NET MVC and DDD
I am trying to use DDD and Fluent Api in a test application. I have the following question: I have a product register (in this case ink), when including a new product I put dropdownlist s, to force…
-
2
votes0
answers103
viewsLogging, Registration, Permissions C#
Guys I would like to know in a logical and robust way and very clear, how the organization behaves in a software that will possess: -Logging (any and all actions performed on the system must be…
-
2
votes1
answer164
viewsRepository Pattern - Usage Doubt
Good night, you guys. I was developing a software and started thinking about what would be the best way to implement the Repository Pattern. I have to return to the data controller of cities and…
-
2
votes1
answer208
viewsAggregations and the DDD
I’m developing a project applying the principles of DDD, I created a class aggregation (Conta) it will contain the classes (Agencia) and (Agente) that as (Conta) have tables in the database. My…
-
2
votes0
answers288
viewsCan DDD Application Service call another Application Service?
Not if someone has ever been through this situation, I have application service that performs inventory outputs (Stoqueservice) directly and have an application service that performs sales receipt…
-
2
votes1
answer56
viewsStatistics for remote requirements collection
When developing software one of the main steps is the collection of requirements, the acquisition of knowledge of the domain and the construction of a ubiquitous language. Both agile methodologies…
software-engineering ddd software-project project-management requirementsasked 8 years, 10 months ago SomeDeveloper 18,074 -
2
votes2
answers555
viewsInternationalization in DDD (Domain Driven Design) architecture
What would be the best strategy to internationalize a system in the DDD architecture, knowing that we have strings to internationalize present in the layers: Presentation - Views Application -…
-
2
votes1
answer460
viewsCan the Crosscutting layer recognize my Dominion layer?
My doubt is very simple. Can my Crosscutting layer know my Domain layer? since the Repositorio(Data) layer knows it both being inside the Infra Layer. Excuse the question, because I’m still new to…
-
2
votes0
answers450
viewsStandard for the use of logs
I have a project organized as follows: 1. Web (ASP.NET MVC) 2. Application 3. Domain 4. Infra.Data 5. Infra.Log (NLog) 6. Infra.IoC The project references are as follows: - Web --> Application -…
-
2
votes2
answers66
viewsCost of using exceptions with PHP and Valueobjects
I have always heard that exceptions have a high processing cost and make the application slow. In the specific case of PHP, how much can we abuse the use of exceptions? In the case of data…
-
2
votes1
answer272
viewsOn which layer should I create constants in my application with DDD concept?
I’m using the DDD concept (Layers: Presentation, Application, Domain, Data and Crosscutting) in my ASP.NET Core MVC application and I was wondering about the best place to create my constants. In my…
-
2
votes2
answers108
viewsIs there a Pattern design that can help with this problem?
I have a problem that seems fairly common to me. The problem, in the specific case, is the following: the user wants to register in the system the services available for sale along with the values.…
oop modeling software-architecture software-engineering dddasked 7 years, 7 months ago SomeDeveloper 18,074 -
2
votes2
answers554
viewsWhere to place a non-entity object in the DDD
My ASP.NET MVC project in C# has a Domain layer where I have entities, and business rules. I need to add a new rule where I should return an object with an internal list, but I ended up having a…
-
2
votes0
answers105
viewsDomain Driven Design and Repository
We are refatorando a project where initially its conception was only in CRUD, using a very simple architecture that so far worked. We were inciting some routines, we saw that what we had would not…
dddasked 6 years, 4 months ago Éverton França 21 -
2
votes1
answer1998
viewsDependency Injection - Error: Invalidoperationexception: Unable to resolve service for type
Friends, once again I come to you for help. When trying to call an Action from my Controller I am getting the problem described below: An unhandled Exception occurred while Processing the request.…
-
2
votes0
answers80
viewsHow to map entity using Dapper with postgres
I’m having a big challenge here and I can’t seem to solve it. I’m working with DDD and on the layer of Infra esotu using Dapper When trying to execute the following code on RepositorioUsuario:…
-
2
votes0
answers69
viewsDDD - Communication between Layers
Reading a DDD document I was left with doubt about the following paragraph, in the highlighted part. "...the layers (interface, Application, Domain and infrastructure) must be disassociated from…
-
2
votes1
answer33
viewsDDD - Modify more than one Aggregate in the same transaction
I’m a beginner in DDD and came across a situation involving the rule of not modifying more than 1 Aggregate in the same transaction, using Domain Events to resolve changes in other Regattas. (see…
-
1
votes2
answers8286
viewsNo constructor without parameters has been defined for this object
I am building an ASP.NET MVC5 application using DDD and have separated my Ioc layer from my web application. In my controllers I have constructs with parameter to receive an instance of my service…
-
1
votes1
answer338
viewsHow to take a Domain Entity method to higher layers
Hello, I have the following domain entity. public class Cliente{ [Key] public string CPF{get; set;} public string Nome{get; set;} //Outras propriedades public void Sacar(Conta conta, decimal valor){…
-
1
votes1
answer693
viewsUnderstanding the DDD Concept
Good, I’m starting a new application, relatively simple, and I want to structure it into the DDD concept. I have read a lot on the Internet, I have seen many examples and meanings, but I would like…
-
1
votes0
answers64
viewsHow to organize UI needs in the DDD
Where I put the code that does not concern the business rule, but is a necessity for the presentation to the user, such as filling out combobox, dataTables, texboxAutoComplit...? details: Currently…
-
1
votes1
answer235
viewsData persistence using Event sourcing
Recently I heard about Event Soucring in a video by Greg Young and I found an idea that seems to be very useful in various systems where having a data history is important. What I understood is that…
-
1
votes1
answer973
viewsList of View objects for controller
I have two Customer and Address entity where the customer has multiple addresses. At the time of completing the form, the user can add two addresses in the same form and at the time of Submit, I…
-
1
votes0
answers172
viewsJSF + DDD : Is it correct to use the domain entities within the bean Managed?
1 - In the DDD it is correct to let the domain objects be fed by the JSF through EL ? // classe da camada de dominio public class Cliente { private String nome; // getters e setters; } // bean…
-
1
votes2
answers184
viewsDDD Automapper with Linq Expression
I have a problem with automapper, when I pass a parameter in Linux Express, it seems that it does not make the exchange... decimal valor = 13; var model = service.Obter(x => x.DataRegistro == new…
-
1
votes0
answers101
viewsWhat is the correct way to register one to Many with DDD
I have studied DDD and assembled an architecture similar to the books and examples I have read. So far, when I’m gonna crud, when I record I run something like this: UI : The display layer fills an…
-
1
votes0
answers663
viewsAsp.net C# DDD - Implementing Web Api
I’m developing a DDD structure system with Simple Injector. When developing the WEB API, the data returned from the BD is null. In other tests performed in the MVC view, the same data is returned…
-
1
votes1
answer216
viewsDDD + Entityframework + Migrations + SQL Server
Hello, I have a Solution that I am implementing the DDD architecture with Entityframework, Migrations and SQL Server! However I am not able to connect to my local database when performing the…
-
1
votes1
answer192
viewsHow to implement a Person repository function for the Generic - Asp.net MVC and EF Core repository
I have a function to return the highest value of a table ID field using EF Core. Only that I would like to implement it in my generic repository to be dynamic and to be used by all classes. How do I…
-
1
votes1
answer222
viewsMigration does not recognize Context
I’m developing an application using DDD architecture. In my Infra layer, I have my data models, all based on Code First. I’m using the SQL as database. I have installed everything that was needed.…
-
1
votes1
answer67
viewsCommand Validations - CQRS
I’m learning about CQRS and in a Hangout promoted by a Micrososft MVP he presented an implementation of Command where the model data are validated within the validation of the Command. Date…
-
1
votes0
answers179
viewsC# As Testart Commandshandlers using Mediator and CQRS standard
I have never worked with tests before and would like to learn. I’m using the MVC + DDD + Domain Notifications + CQRS + Event Sourcing + Unity of Work and Repository standards. There is my controller…
-
1
votes1
answer83
viewsDependency injection and coupling - how wrong is this?
I created a project where the intention was to have a simple architecture, a rich domain and a webApi, but as soon as I started and already seeing the cagad*s, this is very bad? So come on, I…
c# asp.net-core pattern-design software-architecture dddasked 5 years, 7 months ago Márcio Sebastião 769 -
1
votes1
answer158
viewsEntity Building and Corporate Ownership Modeling in the DDD CQRS standard
I am creating an ERP type application, and I am using the DDD CQRS Standard, where at the initial moment of the project I am creating the entities of customers, suppliers and carriers, where they…
-
1
votes1
answer717
viewsService, Model and Repository: where should logic, validations and possible external communication be?
I’m doing a small project for learning purposes using Laravel, this system revolves around two "models", Conta and Transacao. one Conta has name and balance, a Transacao has count_source,…
-
1
votes1
answer32
viewsOn which project layer with DDD concept, should I create a function or routine for the reorganization of portions of a receivable?
I have an Asp.Net Core MVC project in which I am developing an Accounts Receivable. The whole project uses the DDD concept. I need to create a function to reorder the sequence of parcel records in…
-
1
votes1
answer60
viewsDDD Tactical approach - Aggregates and Repositories
I am studying on DDD and trying to apply its concepts. I’m having doubts about some concepts with regard to the tactical part of DDD. Problematic Come on! Assuming I have an aggregate Client and…
-
0
votes1
answer59
viewsHow do I reference Entity Framework 6 from . Net Core Class Library?
When installing the Entity Framework by Nuget I got the following error in its reference: The dependency Entityframework 6.1.3 does not support framework . Netcoreapp, Version=v1.6 How to get around…
-
0
votes1
answer352
viewsError trying to recreate a table with code first(Migration)
I’m following Eduardo Pires' tutorial on DDD + Asp.Net MVC 5 + Ioc and so on. Well, in the first attempt to create the bank and the client table, it was a gem. It turns out, Eduardo made some…
-
0
votes2
answers678
viewsDDD C# - In which layer should I implement the Data export part
I am developing an application in C# and WPF, with several registrations as Customers, Suppliers, Products, etc. I am using the DDD concept and I have a question about how to implement a data export…
-
0
votes1
answer162
viewsError treatments 404 and 500
Good afternoon, my question is as I am still beginner in Asp.net and on the DDD still I have a certain doubt which is in which layer using the DDD standard I would implement the 404 and 500 error…
-
0
votes2
answers164
viewsExchanging Value Object in the database
I’m reading the DDD (Eric Evans) book that says the implementations of Value Object are immutable and if you want to change it, you will have to create another one. In more common examples where…
-
0
votes1
answer234
viewsSeparation of Identity Bank from Application
When using Asp.net Identity, a single bank is generated. And it is recommended to leave this bank only for Identity and create another bank for your application, as I read in some articles. So far…
-
0
votes2
answers194
viewsEntity Endereco Compatilhada
Modelling a project I associated an entity Addressee at the Root of Aggregation Client. So far so good. However, I later found that other entities or roots of aggregation such as Enterprise and…
-
0
votes1
answer999
viewsDTO Assembler, how do you really use it?
I’m reading about DTO and tbm viewmodel in ASP.NET and wanted to do something like this in JAVA. If I’m not mistaken, DTO is a way to move data between layers in a specific way without having to…