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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:10:14+00:00 2026-05-29T19:10:14+00:00

I have an architectural question, we need to develop information system with two frontends:

  • 0

I have an architectural question, we need to develop information system with two frontends: lightweight web-app (ASP.NET) and desktop (WIN-FORMS) app. Nothing special so far, but these two frontends should be able to communicate with two shared and switchable (after app restart) database backends, one SQL database (SQL server) and one, most probably, some kind of XML store (everything in one file would suffice). These two stores won’t be synchronized.
Both applications will be very simple, only few forms.

Please, is there any out-of-the-box stuff, e.g. in Entity framework, which can be tuned as described above?

Or what architectural design would you recommend?

  • 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-29T19:10:16+00:00Added an answer on May 29, 2026 at 7:10 pm

    Hmm.

    Your best bet is to have a class library project for your data repository.

    Give it a known interface and use a factory pattern to decide at runtime whether it generates a SQL instance or a XML instance.

    Best have the repository based on a singleton pattern.

    Thus you’d have something like Repository base inheriting IRepository, with XMLRespository and SQLRepository inheriting from Repository.

    Your business logic then just refers to IRepsository or Repository and doesn’t care about what is actually there (XMLRepository or SQLRepository).

    This is similar to the Repository pattern.

    If you want to use the same business logic with different front ends and your sticking to ASP.NET Webforms and Winforms then I’d do the same with the business logic i.e. place it into a class library and call from ASP or Winform code as necessary.

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

Sidebar

Related Questions

Just some architectural question: I use ASP.net MVC and exclusively rely on Strongly-Typed Views
Hi Developers/Architects, This is more of an Architectural question: I have a web application.
I have an architectural question. My App uses a TabBarController right in the application
I have an architectural question on handling message ordering. For purposes of this question,
I have an architectural question. We have many applications in our company and we
I am working on a web application (ASP.NET) game that would consist of a
I am creating a Web application using ASP.NET MVC, and I'm trying to use
I have a relatively basic question but more than anything just need some clarity
Easy question. I used to develop websites back in the days of classic ASP,
I have the following architecture for my project: UI -> Web Server -> App

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.