D
Davey
hi all,
I have a c# socket server application (console application) that is
responsible for maintaining an array of objects. The server does lots
of things but alot of it relates to the array of objects.
I want to add functionality to the server app by exposing some of the
methods as webservices. The webservices would allow other apps to get
info on the list etc..
The problem is that I am using visual studio, and I cant seem to
create a webservice without creating a new webservice project within
my solution.
But if I create a new webservice project, how can I access the array
managed by the main app???
i..e
+ Solution
| __ + ConsoleApplication (Main app)
MyArrayList managing state
Other functions
|
|__+ Webservice Project
AddToMyArrayList()
RetrieveMyArrayList()
is this kind of set up possible?
Thanks
dave
I have a c# socket server application (console application) that is
responsible for maintaining an array of objects. The server does lots
of things but alot of it relates to the array of objects.
I want to add functionality to the server app by exposing some of the
methods as webservices. The webservices would allow other apps to get
info on the list etc..
The problem is that I am using visual studio, and I cant seem to
create a webservice without creating a new webservice project within
my solution.
But if I create a new webservice project, how can I access the array
managed by the main app???
i..e
+ Solution
| __ + ConsoleApplication (Main app)
MyArrayList managing state
Other functions
|
|__+ Webservice Project
AddToMyArrayList()
RetrieveMyArrayList()
is this kind of set up possible?
Thanks
dave