Questions tagged as 'ddd'

0
answers

DDD Application Service can call another Application Service?

I have an application service that performs inventory issues ( InventoryService ) directly and I have an application service that performs the sales receipt ( SalesService strong>). But in the workflow of receiving a sale ( SalesService ) I nee...
asked by 16.10.2015 / 13:35
0
answers

Logging, Registration, Permissions C # [closed]

I would like to know in a logical and robust and clear way, How does the organization behave in software that it will have: -Logging (any action performed on the system must be logged) ex: "User X entered a new product in the system, in Da...
asked by 28.08.2015 / 21:40
1
answer

Understanding the DDD Concept

Good, I'm starting a new application, relatively simple, and I want to structure it in the DDD concept. I read a lot on the internet, I saw many examples and meanings, but I would like to know more simply. Given the following structure...
asked by 07.12.2015 / 19:44
2
answers

No parameterless constructor was defined for this object

I'm building an ASP.NET MVC5 application using DDD and I've separated my IoC layer from my web application. In my controllers I have parameterized constructors to receive an instance of my class of services. I am using Ninject, in this I created...
asked by 22.01.2015 / 19:49
1
answer

Dependency Injection - Error: InvalidOperationException: Unable to resolve service for type

Friends, once more I come to you for help. When trying to call an Action from my Controller I'm getting the problem described below:    An unhandled exception occurred while processing the request.   InvalidOperationException: Unable to re...
asked by 07.10.2018 / 17:00
1
answer

List of View objects for controller

I have two Client and Address entities where the client has multiple addresses. At the time of filling out the form, the user can add two addresses in the same form and at the time of the Submit, would like to receive the data of the client and...
asked by 19.10.2016 / 04:33
1
answer

How to implement a Person repository function for the Generic repository - Asp.net MVC and EF Core

I have a function to return the highest value of an ID field from a table using EF Core. But I'd like to implement it in my generic repository to be dynamic and to be used by all classes. How do I do this? //Funcionar no Repositório de Pessoa...
asked by 18.08.2018 / 13:23
1
answer

DDD + 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 migrations command: 'Updata-database'! I believe tha...
asked by 09.05.2018 / 23:51
1
answer

Persistence of data using event sourcing

I recently heard about Event Soucring in a Greg Young video and found an idea that seems to be very useful on many systems where having a history of data is important. What I understood is that instead of persisting the state of the entitie...
asked by 28.07.2016 / 16:56
0
answers

Migration does not recognize the Context

I'm developing an application using DDD architecture. In my Infra layer, I have my data models, all based on Code First . I am using SQL as the database. I already installed everything that was needed. It turns out that when I try to apply...
asked by 03.10.2018 / 16:56