All Questions
Tagged with .net-core architecture
3
questions
0
votes
3
answers
1k
views
When to set constants during DI setup and when expect them on the fly as parameters?
Let's assume you have a project (e.g. .NET Core) using dependency injection. A database repository relies on a database connection string.
public abstract class BaseRepository
{
// use this when ...
1
vote
1
answer
2k
views
Domain Driven Design: Should Specification Pattern exist in Repository or Application level for Paging?
In Domain Driven Design, should the specification pattern for paging/pagination exist on the Repository level or Application level, or another layer? Trying to see what Eric Evans author of DDD stated....
1
vote
3
answers
905
views
Where to apply multi-tenant logic (ASP.Net Core)?
I'm developing a multi-teant SaaS application in ASP.NET core mvc and I was wondering what the general approach is to applying tenant logic in a shared database scenario (TenantId for each entity). ...