473,608 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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********@rog ers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #1
3 1705
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********@rog ers.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********@rog ers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 19 '05 #2
"Reza Alirezaei" <ra********@nos pam.com> wrote in
news:O1******** ******@TK2MSFTN GP14.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********@rog ers.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 IChannelReceive r 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********@rog ers.com> wrote in message
news:Xn******** *************** ****@127.0.0.1. .. "Reza Alirezaei" <ra********@nos pam.com> wrote in
news:O1******** ******@TK2MSFTN GP14.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********@rog ers.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
368
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 exercise earlier. I am looking for issues like (1) how dotnet simplifies client side deployment of an application (2) Will dotnet application's performace will be betterthan vb6? (3) few features of dotnet which is impossible in vb6 Thanks for any...
2
2176
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 and be a part of a network whereas the web service can be located via URL? I don't see much of a difference and it bugs me :-) They both sit outside of the client computer. They both provide functionality. They are both called remotely.
2
5853
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 way) call? If I use an event, my server would use that event to "DoSomething" on the server. Similarly if I used an Async one way call, that would invoke a server-side method that would also "DoSomething".
9
8664
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 trying to decide if I should use remoting vs. writing a server that uses networkstreams. I have read that networkstreams\tcp programming should be faster than remoting and is a better choice for what I am doing but that it is difficult to code.
2
1371
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 into about 300 remoting calls. There is another WebApplication and a WebService running on this box. What I'm finding is that occasionally the Web Server locks up. If I restart the Web Server any new requests are processed just fine. The...
3
1359
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 and be a part of a network whereas the web service can be located via URL? I don't see much of a difference and it bugs me :-) They both sit outside of the client computer. They both provide functionality. They are both called remotely.
21
11194
by: EmJayEm | last post by:
Can someone tell me the Disadvantages/Cons of web services? Thanks, EmJ.
3
2525
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 server to monitor certain items/tasks and notify the client when the item/task has changed. Initially, I wanted to use web services but I am not sure how I would implement a two-way communication between the server and client (pushing). Is it...
2
3508
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 that these was an exception on the invoked object. can anyone tell my why? It is a very simple application just to test, and here is the code, i am using vs2008, thanx in advaned. ----------server side---------------------- using...
0
8063
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8496
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8475
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8338
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6013
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3962
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4024
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1594
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.