473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

web services vs. remoting

Hi group,

this issue has been brought up a few times now.
I am starting to design a client-server application.

I do not see any x-platform activity in the future of my application.

I understand from various people, articles and posts that remoting is highly
discouraged at this point and that we should favour web services with
respect to future programming models including .net 2.0 (which I have no
idea whatsoever to what it may give us in this field).

my biggest issue with web services was the fact that even though we could
return complex objects (classes) from a web-method, that type was serialized
and transfered to the consumer and therefor even though the server and the
client are sharing an assembly with the transfered type, we have to tweak
the generated web-reference files in order to get over this obsticle. I may
add that the project involves many classes that might be used in web-methods
and therefor writing dedicated adapters from the serialized version to the
original version for each type is out of the question for me.

is this going to be handled in .net 2.0 (no tweaking needed)?
when is .net 2.0 due out?
where can I find information regarding the future changes for .net 2.0?
assuming 2.0 is close... what pattern should I use now so the changes needed
for 2.0 will be minimal (that is - remoting/webservices/tweaked reference
files etc)?

thanx

Picho
Nov 16 '05 #1
2 1305
Picho wrote:
Hi group,

this issue has been brought up a few times now.
I am starting to design a client-server application.

I do not see any x-platform activity in the future of my application.

I understand from various people, articles and posts that remoting is highly discouraged at this point and that we should favour web services with respect to future programming models including .net 2.0 (which I have no idea whatsoever to what it may give us in this field).

my biggest issue with web services was the fact that even though we could return complex objects (classes) from a web-method, that type was serialized and transfered to the consumer and therefor even though the server and the client are sharing an assembly with the transfered type, we have to tweak the generated web-reference files in order to get over this obsticle. I may add that the project involves many classes that might be used in web-methods and therefor writing dedicated adapters from the serialized version to the original version for each type is out of the question for me.

is this going to be handled in .net 2.0 (no tweaking needed)?
when is .net 2.0 due out?
where can I find information regarding the future changes for .net 2.0? assuming 2.0 is close... what pattern should I use now so the changes needed for 2.0 will be minimal (that is - remoting/webservices/tweaked reference files etc)?


Unless there is a firewall issue, I think you should always use .net
remoting rather than web service, because it's much faster and simpler
for developers. Web service is not a replacement for .NET Remoting or
CORBA, etc.

Nov 16 '05 #2
Picho,

I would recommend doing up some reading on Indigo before you design your
distributed app. There are a few conceptual differences and just make sure
that your app architecture is in line with the changes coming down the pipe.

Other than that WebService/Remoting both are good but serve different
purposes.

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik

"Picho" <SP********@telhai.ac.il> wrote in message
news:u5**************@TK2MSFTNGP10.phx.gbl...
Hi group,

this issue has been brought up a few times now.
I am starting to design a client-server application.

I do not see any x-platform activity in the future of my application.

I understand from various people, articles and posts that remoting is highly discouraged at this point and that we should favour web services with
respect to future programming models including .net 2.0 (which I have no
idea whatsoever to what it may give us in this field).

my biggest issue with web services was the fact that even though we could
return complex objects (classes) from a web-method, that type was serialized and transfered to the consumer and therefor even though the server and the
client are sharing an assembly with the transfered type, we have to tweak
the generated web-reference files in order to get over this obsticle. I may add that the project involves many classes that might be used in web-methods and therefor writing dedicated adapters from the serialized version to the
original version for each type is out of the question for me.

is this going to be handled in .net 2.0 (no tweaking needed)?
when is .net 2.0 due out?
where can I find information regarding the future changes for .net 2.0?
assuming 2.0 is close... what pattern should I use now so the changes needed for 2.0 will be minimal (that is - remoting/webservices/tweaked reference
files etc)?

thanx

Picho

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: IcedCrow | last post by:
#1) Burning question on my mind is ... what is the difference between a "web service" and a distributed COM component other then a distributed COM component had to be registered on a host server...
2
by: Adam Norris | last post by:
I am trying to accomplish the following task and need to be pointed into the right direction. I would like to create a C#.NET windows service that listens on a specific port for a message to be...
3
by: Lucas Tam | last post by:
Does anyone have a good articles that describes the pros and cons of Web Services vs. Remoting Hosted in IIS? Is there a reason to use either or? With Remoting Hosting in IIS, is it possible...
4
by: Christoph Duesmann | last post by:
Hi ! I wan't to code a service which will be installed on some clients in our network. The service should have the following features : - Scan all properties of the Client (Hardware, Software...
1
by: SB | last post by:
Is it possible (or common practice) to have the business facade layer of the web services layer implemented as .net remoting component(s). While the web services provide the necssary access to...
21
by: EmJayEm | last post by:
Can someone tell me the Disadvantages/Cons of web services? Thanks, EmJ.
0
by: Shaun | last post by:
I have read several articles that tell me that a COM+ application can expose its components as web services, but can't get things to work for me. I have the following class (slightly modified...
3
by: CJF | last post by:
I'm trying to build a web service via .NET remoting (without ASP.NET) using a pre-existing wsdl file. It doesn't seem to be a very straight-forward process, as SOAP exceptions keep popping up that...
1
by: Tommaso Caldarola | last post by:
I need to transfer big files (up to 10 Gb), now I'm using IIS via Remoting with chunk of bytes (up to 500Kb). In the following article: Middle-Tier Hosting: Enterprise Services, IIS, DCOM, Web...
4
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
What are the factors that I should consider in choosing .NET Remoting vs Web Services when an application will be deveoped using .net 2.0 and above? I think I need to consider at least the...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.