Questions tagged as 'ddd'

1
answer

Can the CrossCutting layer recognize my Domain layer?

My question is quite simple. Can my CrossCutting layer know my Domain layer? since the Repository layer knows that it is both inside the Infrastructure Layer. I'm sorry for the question, as I'm still new to the concept of DDD, I'm using th...
asked by 15.12.2017 / 23:38
0
answers

How to organize UI needs in DDD

Where do I place the code that does not respect the business rule, but is it a necessity for the user to submit, such as combobox, dataTables, texboxAutoComplit ...? details: Currently working in layers (presentation, application, domain,...
asked by 05.10.2017 / 21:23
0
answers

Asp.net C # DDD - Implementing Api Web

I am developing a System, with DDD structure with Simple Injector. When developing the WEB API, the data returned from the DB is null. In other tests performed in the MVC view, the same data is returned normally. The problem is in the impl...
asked by 03.09.2017 / 22:56
0
answers

How to deal with this situation where a class must have a persistent configuration object?

I found a problem recently that basically was this: a system needs every last day of the month to show the option for the user to generate the next month's tickets and need every first day of the month to show the option for the user to generate...
asked by 13.05.2017 / 05:02
0
answers

What is the correct way to register one to many with DDD

I have studied DDD and mounted a similar architecture to the books and examples I have read. So far, when I'm going to do a crud, when I write I run something like this: UI : The display layer fills an object with the screen data (DTO,...
asked by 29.11.2016 / 16:04
1
answer

How 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){ conta.Saldo -...
asked by 28.09.2015 / 02:36
0
answers

JSF + DDD: Is it correct to use the domain entities within the managed bean?

1 - Is DDD correct to let domain objects be fed by JSF through EL? // classe da camada de dominio public class Cliente { private String nome; // getters e setters; } // bean ligado diretamente ao objeto de dominio...
asked by 04.11.2016 / 18:53
1
answer

Separation of the Identity Bank with the Application [closed]

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 so good ... I went to see a video lesson (lin...
asked by 14.10.2016 / 22:44
1
answer

Asp.net c # DDD - problem passing data from Entity to ViewModel

I'm developing an ASP.NET MVC project, with DDD structure and using Simple Injector. I can perform persistence in BD normally, but at the moment of retrieving the information and displaying it in a list, it presents the following error message....
asked by 21.08.2017 / 00:03
1
answer

OAuth with Dependency Injection

Hello, I'm starting my studies with OAuth, and right away I came across a problem. I created the famous 'Startup' class, and I call it my provider as follows: public partial class Startup { public static OAuthAuthorizationServerOptio...
asked by 10.05.2018 / 15:36