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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:31:20+00:00 2026-05-27T17:31:20+00:00

From following guides on prism and reading the manual it seems the general process

  • 0

From following guides on prism and reading the manual it seems the general process is to create a module with views, viewmodels and models. Then hook the view up with the viewmodel and use the view model to interact with the model.

However I have a model data structure that needs to be used across multiple different modules. Say, this model is called Car. And I have 3 modules, ModuleA, ModuleB and ModuleC that all need to use Car. If it was just used in ModuleA I would obviously put it in the Model folder of ModuleA. But as it is used in several modules, where do I put Car?

  • 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-27T17:31:21+00:00Added an answer on May 27, 2026 at 5:31 pm

    Just put it in a seperate assembly that gets referenced by all other assemblies needing it.
    It’s not because you’re using Prism, that suddenly the good practice rules have changed. If you want to, you can use MEF or Unity to export instances (or a single shared instance) of Car. Or take it even further and declare an interface ICar and make your modules use that instead of Car directly.

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

Sidebar

Related Questions

I got the following example from http://guides.rubyonrails.org/getting_started.html models/post.rb class Post < ActiveRecord::Base validates :name,
I'd like to create a dropdownlist from following structure List<KeyValuePair<long, string>> sponsori = new
I am following the guide from http://guides.rubyonrails.org/i18n.html to add several translation to my page,
After following multiple communicatorAPI guides I seem to be stuck. In general it boils
I installed RVM from scratch following the installation guide on the official website. I
I'm having trouble following this guide to extract my interfaces and entities from my
The following code snippet is from The Official GNOME 2 Developer's Guide : GMemChunk
From the mysql certification guide's example questions ... question Will the following SQL statement
I'm following a slightly outdated the guide from cocoalab.com ( Become An Xcoder )
I want to get distance text from following link. i have used NSXML parsing

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.