Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / July 2003

Tip: Looking for answers? Try searching our database.

WebService or Remoting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cpede - 30 Jul 2003 06:28 GMT
Hi

I'm trying to run a component as a WebService, but my
component include a windows GUI, and it seems that when
running as a WebService the GUI is not displayed on the
screen, and I need it. I believe that it is because the
IIS is running as a SYSTEM user, but I don't knoe how to
solve this.

Therefore I will try to expose the component using
Remoting. My questions are now:
Will the GUI show up when it rums as a remoting server?
What about firewall issues like opening ports on the
client side, is that an issue?
Why, or in which situations, would you shoose HTTP
instead of TCP as the remoting protocol?

Thanks
- cpede
Soni - 30 Jul 2003 12:22 GMT
Hi,
> Will the GUI show up when it rums as a remoting server?

here is a previous reply ..
"you can remote any object that inherits from MarshalByRefObject.
Since
Windows.Form inherits from MBR you should be able to remote it. But
note
that 'returning' a windows form would actually return a proxy to the
actual
remote object(windows form) and not the actual object."

that shouls answer ur first query ..
> What about firewall issues like opening ports on the
> client side, is that an issue?
> Why, or in which situations, would you shoose HTTP
> instead of TCP as the remoting protocol?

In this case .. since u want to display GUI looks like u'll have to
use remoting .. as for HTTP vs TCp .. if its behind a firewall then
u'll have to go for HTTP and SOAP. if its on the intranet u can go for
TCP and binary formatting. u can go thro some msdn links for more info
..

http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/
bdadotnetarch16.asp


http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/
bdadotnetarch14.asp


these will give u performance ratings between web services and
remoting ..

http://www.developersdex.com/gurus/articles/573.asp?Page=4
Some best practices for remoting ..

good day ..
William Stacey - 30 Jul 2003 16:49 GMT
> use remoting .. as for HTTP vs TCp .. if its behind a firewall then
> u'll have to go for HTTP and SOAP. if its on the intranet u can go for
> TCP and binary formatting. u can go thro some msdn links for more info

Just to be clear for others, you can also use TCP over the INET and your
firewall, just need to set the firewall respectively.
--wjs
Soni - 31 Jul 2003 06:41 GMT
thanks william for pointing that out . yes u're right about that ....
i havent tried that out as yet ..one of the reasons y i skipped it :)
But how do we go about setting the firewall..? and if its a simple
affair .. then wont going thro TCP and binary formatting be a better
option when compared to HTTp and SOAP..?
cpede - 31 Jul 2003 08:34 GMT
Wait a minute, does that mean if you use HTTP it uses
port 80, and can pass a firewall?
As I remember you still have to specify a port both for
HTTP and TCP, and that will require that both the client
and server must open that port?
Is the TCP faster for large binary data?

- cpede

>-----Original Message-----
>thanks william for pointing that out . yes u're right about that ....
[quoted text clipped - 3 lines]
>option when compared to HTTp and SOAP..?
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.