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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:03:05+00:00 2026-05-13T00:03:05+00:00

What are the fundamental techniques to make most part of my C# source code

  • 0

What are the fundamental techniques to make most part of my C# source code UI independent?

For example, I would like to write my source code for Winforms desktop application which I shall be able to plug into asp.net web application or a WPF application with very minor changes. I.e. I shall be able to use the same source code irrespective of UI technology to make it future-proof.

I know CSLA framework can do that.

But if I don’t use CSLA (it takes some time to learn a new framework and at present I don’t have that much time to spend on it), what points should be taken care of to achieve this kind of ability in my C# code?

Can you give me an example? I already use Business Objects and layering technique in my applications. But even so I have seen that it needs a lot of coding to plug my code to new UI technologies.

Please do not provide me with any superficial answer.

  • 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-13T00:03:05+00:00Added an answer on May 13, 2026 at 12:03 am

    The best way to do UI independent coding is to seperate the logic from the presentation. Take a look at the MVC pattern.

    This is more of an discipline issue with your design rather than a framework issue. A framework can’t not force you to design properly. It can make things easier for you if you design the app properly, however there are always ways around the enforcement of it.

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

Sidebar

Related Questions

It looks like I had a fundamental misunderstanding about C++ :< I like the
I feel like I'm missing a fairly fundamental concept to WPF when it comes
I feel like I don't understand something fundamental here. I've been working on memory
The fundamental equation of weight loss/gain is: weight_change = convert_to_weight_diff(calories_consumed - calories_burnt); I'm going
This is a fundamental question, but an important one none the less... When starting
While it's my understanding that there's no fundamental reason a program written for 32-bit
Possible Duplicate: Reference: Comparing PHP's print and echo Is there any major and fundamental
If I break my Objects down to 'Single Responsibilities', is there a fundamental thought
Are asymmetrical cryptographic keys fundamentally inter-convertible between the major key container formats? For example,
As far as I know, these days there are two main techniques used for

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.