Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use Wconect wc.dll VS ASP.NET???

Status
Not open for further replies.

rlw1839

Programmer
Sep 10, 2002
18
US
One of my customers has a VFP 6.0 distributed application that enables agents to calculate policy information and then forward it to the central office on a monthly basis.

They would like to put this functionality onto the WEB (they already have an web site maintained at the central office). They would also like to use the calculation code in the current VFP application.

Two options are being considered:

1. Develop an ASP.NET application; web pages that would call a VFP COM .dll to execute business logic. (calculate, etc.)

2. Develop a VFP server application using Wconnect tools (from West-Wind tech.) to process web requests; generate web pages and perform the business logic.

Has anyone used both approaches? What are the pros and cons of each? Are there performance differences between them??

Thanks
 

A third option might be a WebService. Where as in option 1 the information would be sent to a FoxPro Webservice and returned back to the ASP application.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
How does a 'webservice' differ from the two options I mentioned? Would it allow use of the current VFP code without totally re-writing it into another language?
 
1. Option #1 mentions using another language
2. Option #2 mentions Webconnect which is an infrastructure that allows one to develop an application on in the internet (Which by the sound of it does not sound like what you need to do).

My understind is you need to access some pre-existing VFP code to perform certain business function. A webservice can be written in VFP to access your functions from any servers and the internet.
Take a look at FAQ184-4242 which shows you how to consume a webservice in VFP and I wrote an article (Unfortunately in french) which is a step-by-step instruction that shows how to create a webservice.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top