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

  • Home
  • SEARCH
  • 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 8909965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:34:08+00:00 2026-06-15T03:34:08+00:00

I am building an application using WPF, MVVM, and PRISM. the application is an

  • 0

I am building an application using WPF, MVVM, and PRISM. the application is an intensive CRUD app, and the db is accessed using entity framework. i want to build the application using modules but i can’t figure out where to put the data access code (more accurately i can’t figure out where to put the repository interface) . if they go into an infrastructure project. then all modules will depend on that and it doesn’t seem like the right place. on the other hand if the interfaces go into their respective modules then there will be lots of inter-dependencies between the modules which is bad.
Question: best way of designing a database-aware modular PRISM MVVM application and perhaps the best solution to my case ?

  • 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-15T03:34:10+00:00Added an answer on June 15, 2026 at 3:34 am

    I would recommend you to read official Prism guide.

    I use this separation:

    • MyApp – shell project
    • MyApp.Infrastructure – all shared interfaces – including your IRepository
    • MyApp.DAL – contains all DAL classes, and also Repository implementation
    • MyApp.Modules.SimpleModule
    • MyApp.Modules.AnotherModel
    • etc.

    Main thing about modules – they should not depend on each other, but they could depend on shared modules (e.g. MyApp.Infrastructure).

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

Sidebar

Related Questions

I'm building a .NET 4 WPF application using Entity Framework code first and SQL
I am building a WPF application and using the MVVM for the first time.
We were building out the next version of an in-house thick-client application using WPF/Prism
I’m building a WPF application using MVVM pattern (both are new technologies for me).
I am building a WPF 4.0 Application using MVVM. The Model is generated using
I'm building a WPF application using prism and I'd like to use workflow foundation
I am building a point of sale application using WPF with MVVM. One of
I am building a WPF application using C#. I want to pop out a
Im building a wpf app with the composite application block (prism) V2, and Im
I am building an WPF Prism MVVM application. This application will contain a lot

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.