• Psn

    (@poisonsamurai)


    I created a C# application that takes in a few fields of info from a user, does some complex analysis, and returns a result to the user. I want to integrate this into a wordpress page, but I’m having trouble figuring out how. I can provide more information if necessary.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I created a C# application that takes in a few fields of info from a user, does some complex analysis, and returns a result to the user.

    How complex is the analysis? Wasn’t it possible to use NinjaForms or Gravity Forms to capture the user info?

    If you want to still use the C# application, I suggest you to create an API endpoint in WordPress:

    https://developer.wordpress.org/rest-api/

    And make the C# application send the information to that endpoint.

    Another approach:
    Have your site use forms to capture the user input, use javascript to send an AJAX request to the C# app.
    The C# app responds sending its response back, and convenient format.
    The javascript receives and displays the AJAX response.

    This way there is no PHP to C# interface, the processes stand independent.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Integrating C# program with wordpress site’ is closed to new replies.