Web services is one alternative, but you should consider some other
requirements of your application to determine the best option:
1. Is performance an important issue?
2. Do you need interoperabilit y? Meaning will you have other programs on
different OS and written in different languages calling your program?
There are 3 main options you can choose from in the .NET Framework to access
remote code (sorted by increasing difficulty):
1. XML Web Services
2. .NET Remoting
3. Write your own socket code.
Which one you choose depends on your requirements as I mentioned above.
Take a look at this page for more information about requirements and the 3
options.
http://msdn.microsoft.com/library/?u...asp?frame=true
Eric
"mimi" <mh****@hotmail .com> wrote in message
news:eM******** ******@TK2MSFTN GP12.phx.gbl...
I need to write a program that can be called from the web and from a
desktop application. They are not on different machine. Is web service the right
solution? Beside web service, which techniques are using right now.
Thanks