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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:48:58+00:00 2026-05-21T04:48:58+00:00

I want to port the server component of our application, written in Visual Studio

  • 0

I want to port the server component of our application, written in Visual Studio 2008 (.NET 3.5 C#), to Linux, and thought I would use Mono, in order to keep a single code base.

Theoretically, we would be only updating the VS code, however it is conceivable that there may be some small, subtle, differences between the two to keep them platform functional.

Is there any tips / tutorials / applications to help keep the two in check?

  • 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-21T04:48:59+00:00Added an answer on May 21, 2026 at 4:48 am

    Do you have much code that isn’t compatible with Mono? Ideally you’d want to keep the majority of the code the same, and have very few instances where you need to check between Mono and MS.NET.

    If you need completely different code for Mono vs MS.NET you should use a separate implementation of a common interface. For instance we use a service bus in our application which can be swapped out between MSMQ or ActiveMQ. We use ActiveMQ in Mono distributions and MSMQ in MS.NET distributions.

    You said you need to “port” your application to Mono – suggets there is a lot of non-compatible code. If you’re making extensive use of P/Invoke or other Windows only features it will be a bit harder.

    We don’t maintain a Mono version and a MS.Net version, we have a single code tree that can be compiled in either. For platform specific programs that have a UI, we use a seperate UI project for each platform (usually WPF for Windows and a GTK for Linux/Mac – although we’re starting to look at MonoMac for Mac). Aside from that all our code is common. There isn’t anything to maintain between the platforms.

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

Sidebar

Related Questions

I have a WPF application, that I want to port to Linux/Mac. The most
I want to port this SQL query, which works just fine on SQL Server,
I want to write a server which listens on the given port for connections
i want to port my application to CodeIgniter but i am wondering whether i
I have a date picker library written for MooTools that I want to port
i want to configure tomcat 7 to use port 80 on windows 7, but
Because I didn't want to implement a communication protocol for my client-server based application,
I already have a server with port and want to write a web app
Has anyone done a port from a monolithic server application to a service and
I'm using Windows 2008 x64 R2 with IIS 7.5 and ASP.NET 2.0. I want

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.