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 8346137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:54:47+00:00 2026-06-09T06:54:47+00:00

I am currently working on a n-layer architecture with the following layers View (ASP.net

  • 0

I am currently working on a n-layer architecture with the following layers

  • View (ASP.net Web App)
  • Manager (orchestrating Services)
  • Service (Business Layer uses Unit of Work )
  • Repository (Data Access)

For now the Manager is calling one or more Services to access the data, save data or do some other business.
The Service is using the implemented unit of work and the repository so that a service is used within a transaction.

Now we have a Manager which need to call different Services which all together should work within a Transaction.

My opinion is that the Unit of Work call should be keeped in the Service as the Service is accessing the Database by using the Repository. If we move the Unit of Work call to the Manager it would broke the design. The Manager would need a Reference to the Repository.

Any advise how to design the access?

Thanks!

  • 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-06-09T06:54:48+00:00Added an answer on June 9, 2026 at 6:54 am

    Unit of work is not data access pattern. It is representation of logical transaction = it is part of business logic and it belongs to your manager because the manager is orchestrating logical transaction from multiple services.

    Your manager is a facade (or let’s call it top level service) – it is still business logic and if the logical operation requires multiple low level services they should all run in single unit of work.

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

Sidebar

Related Questions

I'm currently working on some web services network (ASP.NET 3.5 web services). My business
I am currently working on a asp.net site which has a 2 tiered architecture.
First some background, I am currently working on a relatively large Asp.Net MVC application
I am currently working on a projects API layer with an existing REST services
hi iam currently working in simple amimation app in which i implement following code
I have an application architecture which has following layers (or c# projects). web front
I'm currently working on a web app that makes heavy use of JSF and
I'm currently working on an ASP.NET MVC project using NHibernate and I need to
Currently I am working on a project with Spring web-service, hibernate and JAXb. 1)
I am a Asp.Net developer, currently working on Webforms in 3.5. I do C#

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.