Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 922381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:01:15+00:00 2026-05-15T19:01:15+00:00

I am on a tight schedule with my project so don’t have time to

  • 0

I am on a tight schedule with my project so don’t have time to read books to understand it.

Just like anything else we can put it in few lines after reading books for few times. So here i need some description about each terms in DDD practices guideline so I can apply them bit at a piece to my project.

I already know terms in general but can’t put it in terms with C# Project.

Below are the terms i have so far known out of reading some brief description in relation with C# project. Like What is the purpose of it in C# project.

  • Services
  • Factories
  • Repository
  • Aggregates
  • DomainObjects
  • Infrastructure

I am really confused about Infrastructure, Repository and Services
When to use Services and when to use Repository?

Please let me know if anyway i can make this question more clear

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T19:01:15+00:00Added an answer on May 15, 2026 at 7:01 pm

    This is my understanding and I did NOT read any DDD book, even the holy bible of it.

    • Services – stateless classes that usually operate on different layer objects, thus helping to decouple them; also to avoid code duplication
    • Factories – classes that knows how to create objects, thus decouple invoking code from knowing implementation details, making it easier to switch implementations; many factories also help to auto-resolve object dependencies (IoC containers); factories are infrastructure
    • Repository – interfaces (and corresponding implementations) that narrows data access to the bare minimum that clients should know about
    • Aggregates – classes that unifies access to several related entities via single interfaces (e.g. order and line items)
    • Domain Objects – classes that operate purely on domain/business logic, and do not care about persistence, presentation, or other concerns
    • Infrastructure – classes/layers that glue different objects or layers together; contains the actual implementation details that are not important to real application/user at all (e.g. how data is written to database, how HTTP form is mapped to view models).

    Repository provides access to a very specific, usually single, kind of domain object. They emulate collection of objects, to some extent. Services usually operate on very different types of objects, usually accessed via static methods (do not have state), and can perform any operation (e.g. send email, prepare report), while repositories concentrate on CRUD methods.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just read isinstance() considered harmful , and it seems reasonable. In short,
I am on a tight timeline with minimum resources for a project. I would
I have an NSDecimal in a tight calculations loop, where I need to floor
I don't want to make my code tight coupled to some JDBC driver (for
First off, I've been given a very tight deadline (read: measured in minutes) to
I am developing under Linux with pretty tight constraints on disk usage. I'd like
Can any one describe the exact difference between loose coupling and tight coupling in
I'm currently working on a project with a very tight budget, and one of
It's often the case that I can write a nice tight little VB.NET function,
I'm in a very, very tight situation here. I have an SQL query running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.