Avatar of dkim18
dkim18
 asked on

Is it possible to call VB functions using Web sevices (front end)?

Hi,

I have a vb.net application and this is a fairly complex mathmatical calculation application.
What I would like to do is use this existing vb classes(functions).
I am trying to create a new interface probably in asp.net.
I am new to web services so if I don't make much sense, please correct me.
Is it possible to set up a web services which can call these vb functions?

This application takes in an input file consists of lines of data.
It runs through models(calculations) and it spits out the result file.
The result file contains a few lines consists of some numbers, ex) life expectancy= 71.1, possible height (cm) =180

Can you help?/
Thanks.
Visual Basic.NETASP.NETWCF

Avatar of undefined
Last Comment
Paul MacDonald

8/22/2022 - Mon
Nasir Razzaq

This is where Tiered approach comes into play. Break the functionality of the app into one or more separate DLLs. These then can be used with any frontend.
Paul MacDonald

dkim18

ASKER
Can you give me more details?
The VB.NET basically has 20 or so of classes which are models(functions) run certain calculations.

1) I want to know if it is possible set up a web services to call these functions and bring back the result to my new asp.net interface?

2) What would be the better design? I will be using asp.net front end.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
dkim18

ASKER
We don't want to touch this vb.net code. We just want to call their functions.
ASKER CERTIFIED SOLUTION
Nasir Razzaq

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.