|
-
March 15th, 2004, 05:32 AM
#1
client/server application
in .NET what means client/server application ,how can i make an application to work as server application,or as client.
What's the procedure,the steps to follow.
for example in VB6,there is a standard exe(as client),and ActiveX EXE as a server application,when i decide to do a pair of client/server applications.
Many thanks to all ...
-
March 15th, 2004, 07:31 AM
#2
Client/server application is just a design spec and can be implemented by any programming language in many ways.
You can have a server listening to a TCP port and processing incoming request from clients that connect to that port.
In VB6 COM, you can have an out-of-proc COM object (mostly referred to as ActiveX) that acts as a centralized point to process common routines like retrieving data from the DB.
In .NET, you'll have options like .NET Remoting, Webservice and the good old TCP/IP implementations.
-Cool Bizs
-
March 16th, 2004, 04:10 AM
#3
more documentation
thanks for informations
About VB6 COM ,and the process centralized you're speaking ,that reads from DB,can you give some links to some documentation,codes,to see how it is implemented a COM,and how it reads data from databases from a remote server.
For .NET too it would be very helpful some links,documentation about that classes you mentioned.
Thanks. i'm very grateful!
Last edited by jasie24; March 16th, 2004 at 04:23 AM.
-
March 16th, 2004, 06:57 AM
#4
I've not done VB6 COM in a while. You can go and search VB forum and I bet you'll be able to find more information about it there.
For .NET Remoting, MS has a sample that you can download and look at. It is very simple but does illustrate the answer to your question.
MSDN Sample - .NET Remoting How-To
Click on the SINGLETON SAMPLE. That is what you need, an object that only gets created once and shared by other processes.
-Cool Bizs
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|