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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:35:52+00:00 2026-06-07T01:35:52+00:00

Considering the fact that all applications will interact with the web project (which will

  • 0

Considering the fact that all applications will interact with the web project (which will use the cloud or web services)..
Is there any way to share my class models between applications?

If yes, what is the best way to do it?

About sending / receiving data from the Webservice, serialize and deserialize, how can I do this in a simple way without having to manually populate the objects?

Any information about this applications would be really helpful!

  • 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-07T01:35:54+00:00Added an answer on June 7, 2026 at 1:35 am

    In general it is not a good idea to share domain models between applications like this since you are creating hard dependencies between them i.e. any change to the domain model will affect all apps forcing you to synchronize releases of you web- , phone- and desktop apps.

    I would recommend creating separate models that are tailored to the specific information need of each application type, this adds complexity of course but in my experience this is manageable compared to the other scenario.

    Not sure about your serializing question, if you use WCF for calling the services it is a non issue, it’s handled for you.

    For populating your domain classes i’d recommend AutoMapper, which I’ve used successfully in several projects. It can automatically map from one class to another based on names and you only specify the exceptions (i.e. were field names don’t map or you need some type of convert logic) Automapper on github

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

Sidebar

Related Questions

I'm considering storing some date values as ints. i.e 201003150900 Excepting the fact that
Considering that simple java code which would not work: public class Bar extends AbstractBar{
Considering that I have a Schema named SBST I want to find all empty
Considering the fact that openmp uses simd model i.e. each instruction is executed by
I'm working on a project in which I have a class, DeviceCommunicator , that
Considering that the two machine's time settings are not synced, is it still possible
I'm using NHibernate 2.1.2.400 that is referencing log4net 1.2.10.0. In the same project, I
We have an ASMX web service which we invoke from our ASP.NET application using
I set up my code without considering this fact needed to be detected, and
There are three thread models that are used in thread scheduling implementations usually done

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.