473,378 Members | 1,156 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,378 software developers and data experts.

Web Services vs. Remoting Hosted In IIS - Pros/Cons Whats the difference?

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 to maintain a constant thread
(i.e. thread that polls the database and sends messages back to client when
a certain record is found?).

Thanks.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #1
3 1694
The First question which come to my mind is that,what type of Clients are
you addressing? Are they pure DotNet sort of clients or a combination of
different platform would be served by your service layer?

The second question is that Is speed an issue or not? How about the
security? Web services are still in evloving peroid,but they are
platform-nuatral where remoting is more bound to DotNet.

HTH,
Reza
http://blogs.devhorizon.com

"Lucas Tam" <RE********@rogers.com> wrote in message
news:Xn***************************@127.0.0.1...
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 to maintain a constant thread
(i.e. thread that polls the database and sends messages back to client
when
a certain record is found?).

Thanks.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 19 '05 #2
"Reza Alirezaei" <ra********@nospam.com> wrote in
news:O1**************@TK2MSFTNGP14.phx.gbl:
The First question which come to my mind is that,what type of Clients
are you addressing? Are they pure DotNet sort of clients or a
combination of different platform would be served by your service
layer?
Primarily .NET clients. However, it *would* be nice for the interface to
be totally generic... but I don't see that happening.

I could abstract a lot of the features into a DLL, then build both a Web
Service and a Remoting interface.

The second question is that Is speed an issue or not? How about the
security? Web services are still in evloving peroid,but they are
platform-nuatral where remoting is more bound to DotNet.


Yes, speed is important, I'll be transferring live information back and
forth between the client/server. Security too - come to think of it,
hosting in IIS would be nice since I can secure it via SSL + password
authentication.

Does remoting in IIS support two way communications? I've built regular
remoting apps (standalone) but never in IIS.
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #3
Lucas,
Primarily .NET clients. However, it *would* be nice for the interface to
be totally generic... but I don't see that happening.
As you mentioned ,a combination of a webserice and a remoting interface in
client side will do.Even if later you need to make newer versions of your
assembly ,then no problem ,you can use a technique called assembly binding
redirect
(http://msdn.microsoft.com/library/de...edirection.asp)
to make sure that your clients are always pointing to the newest version of
your remoting objects.
Yes, speed is important, I'll be transferring live information back and
forth between the client/server. Security too - come to think of it,
hosting in IIS would be nice since I can secure it via SSL + password
authentication.
You can always use the BinaryFormatter with HttpChannel to serialize your
objects into binary format (I think it is an alternative to using TCP ports
in *pure* Remoting apps(Not hosted in IIS)). This might gives you a heads up
to choose your path
better:http://msdn.microsoft.com/library/de...stingInIIS.asp
Does remoting in IIS support two way communications? I've built regular
remoting apps (standalone) but never in IIS.
I guess for any remoting app ,the first thing you need to choose is a
channel.The choice is HttpChannel or TcpChannel or probably your own
channel.AFAIK both of these channels implement IChannelReceiver and
IChannelSender which means that there is a two way communication in both.The
only thing you got to do is to hook up your objects appropriately to the
channels and everything should be fine.

Have you had the chance to look at WSE 2.0?

Hope this helps,
Reza
http://blogs.devhorizon.com


"Lucas Tam" <RE********@rogers.com> wrote in message
news:Xn***************************@127.0.0.1... "Reza Alirezaei" <ra********@nospam.com> wrote in
news:O1**************@TK2MSFTNGP14.phx.gbl:
The First question which come to my mind is that,what type of Clients
are you addressing? Are they pure DotNet sort of clients or a
combination of different platform would be served by your service
layer?


Primarily .NET clients. However, it *would* be nice for the interface to
be totally generic... but I don't see that happening.

I could abstract a lot of the features into a DLL, then build both a Web
Service and a Remoting interface.

The second question is that Is speed an issue or not? How about the
security? Web services are still in evloving peroid,but they are
platform-nuatral where remoting is more bound to DotNet.


Yes, speed is important, I'll be transferring live information back and
forth between the client/server. Security too - come to think of it,
hosting in IIS would be nice since I can secure it via SSL + password
authentication.

Does remoting in IIS support two way communications? I've built regular
remoting apps (standalone) but never in IIS.
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 19 '05 #4

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

Similar topics

2
by: Precious | last post by:
I have to give a presentation on pros and cons of .NET to our clients, who are already using our VB6/SQL Server 2000 application....(Yes, we are too late)...Many of you must have done the same...
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: wobbles | last post by:
Hi Everyone (Happy New Year!), If I have clients that want to tell the server that something has happened, what would be the difference between "remoting events" and using an asynchronous (one...
9
by: Michael Lindsey | last post by:
I need to write a server app to send images to client GUIs that are outside of the server's domain. The client will have the file system path to the image but can not access the file system. I am...
2
by: Brad Quinn | last post by:
I have a WebApplication that uses tcp/binary remoting to communicate with remote objects hosted by a Windows Service on another machine. The WebApplication takes an XML post (~200K) and turns that...
3
by: Iced Crow | 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...
21
by: EmJayEm | last post by:
Can someone tell me the Disadvantages/Cons of web services? Thanks, EmJ.
3
by: hufaunder | last post by:
I am going to write a smart client application. This application will be used both on an intranet as well as over the internet. Among other things, the application needs to be able to tell the...
2
by: =?Utf-8?B?ZmFpcnl2b2ljZQ==?= | last post by:
in a remoting application, i set a event in the host, and let the client to book it, and in the host side i set the TypeFilterLevel to Full and open the callback port in the client side, but told...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.