Questions tagged [ardalis-cleanarchitecture]

Apply to questions that specifically relate to the Ardalis.CleanArchitecture solution template and its associated guidance.

See Ardalis.CleanArchitecture GitHub Repo

Appropriate Questions:

  • How do I use this template?
  • Where do I put (something) in my app that uses this template?
  • How do I extend this template to do (something)?

Inappropriate Questions:

  • Bug reports (use the GitHub repo)
  • Feature requests (use the GitHub repo)
  • General discussion (use Twitter or another medium)
34 questions
0
votes
1 answer

Union all using Ardalis repository specification (.NET Core)

How can I use Union All on different entities using Ardalis CleanArchiteture ? Example is if I have Product and ProductKit, they have different structures and are different entity. Is there a way to use Ardalis Repository Specification and union all…
0
votes
0 answers

What is NoOpMediator in Clean Architecture

I am playing around with the Clean Architecture by Ardalis. Can someone please explain what this NoOpMediator role in Unit testing? using System.Runtime.CompilerServices; using MediatR; namespace Clean.Architecture.UnitTests; public class…
VivekDev
  • 20,868
  • 27
  • 132
  • 202
0
votes
1 answer

Clean architecture Database First Approach - Issues

I am implementing clean architecture using the existing database, with scaffolding command I have generated the POCO entities in the Infrastructure layer and as well as manually created the entities in the domain layer to map them later. in the…
0
votes
2 answers

How to call SQL functions / stored procedure when using the Repository pattern

What is the best way to call a SQL function / stored procedure when converting code to use the repository pattern? Specifically, I am interested in read/query capabilities. Options Add an ExecuteSqlQuery to IRepository Add a new repository…
1 2
3