FoxPro and .NET Interop
Need a way for VFP to read parameters sent to a web server.
Gravatar is a globally recognized avatar based on your email address. Need a way for VFP to read parameters sent to a web server.
  John Henn
  All
  Jun 30, 2020 @ 03:57pm

I am now running my large (350+ screens, 120+ tables) FoxPro 9.0 app on AWS Windows server 2016 running ThinfinityUI. Thinfinity hosts my app unchanged on the server and it looks to the end user as though it's a normal web app. I need a way for my VFP APP to read the parameters sent with the URL. Is there a West Wind product or any method anyone knows of that can read the parameters?

Gravatar is a globally recognized avatar based on your email address. re: Need a way for VFP to read parameters sent to a web server.
  Rick Strahl
  John Henn
  Jun 30, 2020 @ 08:13pm

I'm not sure if I understand your question correctly, but it sounds like you need a Web Server and to run a FoxPro application in front of it?

We provide West Wind Web Connection which lets you use FoxPro to handle Web requests.

https://webconnection.west-wind.com/

The only way to 'read parameters' sent to a Web Server is to host a Web server and capture the data as part of a Web application. There are a number of ways to do this, but if you want to use FoxPro to do it then Web Connection is a good choice.

With Web Connection you can use Window's built-in IIS Web Server or a standalone .NET Core based Web Server we provide in the box. The latter can be a good choice for intranet applications where you just need to host a server on a local network.

Other alternatives - especially for one offs are - using a basic Web framework like ASP.NET or NodeJs on a server and use ODBC/OleDb to access FoxPro data. For one offs this can be easier because it doesn't require you to actually run FoxPro on the server which requires a more special setup and configuration isn't readily available on your typical Web host provider.

You'll need to be more specific of what you want to do for more info.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Need a way for VFP to read parameters sent to a web server.
  FoxInCloud Support - Thierry N.
  John Henn
  Jul 1, 2020 @ 05:02am

Thinfinity displays your VFP UI in a browser, but your VFP app runs within some kind of app container black box, not sure you have the ability to run some code of your VFP app in response to a parameterized web request.

FoxInCloud does that, at the expense of some code adaptations, and with a cheaper license per concurrent user.

© 1996-2024