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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:42:40+00:00 2026-05-23T20:42:40+00:00

I have some backend functionality which need to be written in C# (for political,

  • 0

I have some backend functionality which need to be written in C# (for political, not technical reasons).

The C# ‘module’ is to provide functionality for a website, which is written in PHP.

The hosting environment for the completed solution will be as follows:

  1. Operating system: Linux
  2. Web server: Apache
  3. Backend db: mySQl and/or PostgreSQL.

The C# ‘module’ will be business logic only, (i.e. no GUI).

This is my proposed solution so far, I would like to know if I am going down the correct path and/or if my proposed solution may be improved:

  1. I am guessing that I will have to write and deploy the C# module as a stand alone executable

  2. Add a RESTful API to the C# executable or communicate directly to the C# executable using TCP/IP from the web app. I prefer the RESTful API since it is higher level, but there may be performance considerations – I’d like to hear of pros and cons on choosing one over the other – to help me to decide whether to use a RESTful API or TCP/IP to communicate with the web app.

  3. What is the “best” way to bind C++ to C# (I will be making use of C++ libraries in my C# application).

I will have mono installed on the server, to host the C# application.

Since I don’t often use C#, I wonder if a “C# expert” can tell me if I am going about this the right way, and/or if this approach can be improved?

  • 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-23T20:42:41+00:00Added an answer on May 23, 2026 at 8:42 pm
    1. Yes. My guess is you would want it to be an executable communicating with WCF or a Web Service hosted with IIS communicating with WCF.

    2. Depending on your requirements, I would investigate the HTTP Long Polling technique.

    3. C# can use PInvoke through DllImport to use any available C++ library calls.

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

Sidebar

Related Questions

I have created a dynamic(.so) library which bundles some functionality for a storage backend
I need some help. I am working on a backend of a website and
We have some COBOL programs in our financial applications which need to interact with
I have some files that are uuencoded, and I need to decode them, using
I have some Java code which performs bitwise operations on a BitSet. I have
I have some XML which contains records and sub records, like this: <data> <record
I have some code which populates a hashtable with a question as the key
I have some JQuery AJAX POSTing data to my backend C# WebForm. It POSTs
As the title suggests, I've inherited a php/MySQL application which has fairly well written
I have a view my Django application which when invoked calls my backend. My

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.