onion-architecture Questions

3

I'm trying to implement Identity 2.0 in my ASP.NET MVC 5 solution that abides the onion architecture. I have an ApplicationUser in my core. namespace Core.DomainModel { public class ApplicationU...
Connors asked 12/8, 2014 at 13:15

1

Solved

I am following Onion Architecture. And in that I am using ASP.NET Identity Framework. Here is my Project Structure: 1-Core - Domain Classes //It contains my T4 template classes -- AppUser //It...

3

I am developing a console application using onion architecture and domain driven design. I have a two domains, where I need to implement logging, I confused where I can place the logging component....
Dedicated asked 26/12, 2014 at 7:13

3

I am looking to implement the Onion Architecture into our ASP.NET MVC application. I understand the need to separate View Models from Domain Entities, however I am finding myself writing redundant ...

1

Solved

One of the key benefits provided by Onion architecture is the ability to swap out "infrastructure" elements, such as "Data Access, I/O, and Web Services" (http://jeffreypalermo.com/blog/the-onion-a...
Kegan asked 6/2, 2015 at 1:21

1

I'm trying to put it all together for an new architecture for existing application. Existing application has a lot of business logic, so I thought that Onion architecture (or something like that - ...
Contreras asked 21/5, 2014 at 7:44

1

Solved

I'm trying to learn Onion Architecture and as i understand, I've organized my solution as follows: Domain Domain.Entities (Business objects) Domain.Interfaces (Interfaces for domain services and...
Propst asked 15/9, 2014 at 8:35

2

Solved

I am using Entity Framework 6 database-first. I am converting the project to implement the onion architecture to move towards better separation of concerns. I have read many articles and watched ma...

4

Solved

What is your opinion on the following 'generic' code-first Onion-inspired ASP.NET MVC architecture: The layers explained: Core - contains the Domain model. e.g. that's the business objects a...
Stretch asked 12/4, 2013 at 21:15

2

Solved

In more industry or automation related applications (that mostly heavily rely on external components which they have to manage), you'll often end up with the case that the domain contains models wh...

2

Solved

The UserService constructor has two parameters, a IUnitOfWork and a IUserRepository: public UserService(IUnitOfWork unitofWork, IUserRepository userRepository) { ... } I am using named registra...

2

Solved

Let's say I have two bounded contexts, the Shipping Context and the Billing Context. Each of these contexts need to know about the customer. At a data level, the customer is represented by a Custo...

3

Solved

I am using the repository pattern to provide access to and saving of my aggregates. The problem is the updating of aggregates which consist of a relationship of entities. For example, take the O...

6

Solved

My repositories deal with and provide persistence for a rich domain model. I do not want to expose the anemic, Entity Framework data entity to my business layers, so I need some way of mapping betw...

1

Solved

Could anyone please explain the difference between onion architecture and Layered architecture using dependency inversion? They look exaclty the same to me. Any input is greatly appreciated :)
Louth asked 4/12, 2013 at 3:49

2

Solved

I am currently studying the domain driven design, and try to apply it for a WPF project. I watched some tutorial videos, and read many articles, like : Onion archicecture dependencies in the same...

3

Solved

I am learning Onion Architecture by Jeffrey Palermo for more than 2 weeks now. I have created a test project by following this tutorial. While studying I came across this question on SO. According ...

2

The Onion Architecture is a way of structuring applications to maintain separation of concern and loose coupling (example project at: http://onionarch.codeplex.com/). Dependency Injection/Resolutio...

2

Solved

I've hit a wall with trying to decouple NHibernate from my services layer. My architecture looks like this: web -> services -> repositories -> nhibernate -> db I want to be able to spawn nhibe...
Gasworks asked 15/10, 2012 at 20:33

2

Solved

I have been increasingly adopting DDD / Onion Architecture in my current project. One of the many things I am still unclear about is how much encapsulation should there be. Easier explained with a ...
Sinusitis asked 9/7, 2012 at 12:29

3

Solved

I've been studying onion architecture for a couple of days. I understand that dependencies should always go toward the center and how to use dependency injection to accomplish this. But I have a co...

2

Solved

I am setting up a project structure for an upcoming internal application trialling the Onion Architecture proposed by Palermo (http://jeffreypalermo.com/blog/the-onion-architecture-part-3/). I hav...
Woollyheaded asked 21/7, 2011 at 5:32

© 2022 - 2024 — McMap. All rights reserved.