performance XML Webservice / Remoting?

  • Thread starter Thread starter DraguVaso
  • Start date Start date
D

DraguVaso

Hi,

I need to write a VB.NET-application (Windows Forms) that may have a part of
it (re-)implemented as a Webpage for the customers.

I think it can be usefull to create a business Layer with Remoting or a XML
Webservice, and than write my Windows Forms application that uses it. and
than maybe in the future the Webclient.

I have jsut one question: I hate the performance/speed-problems with
web-applications, so I don't want my Windows Forms getting slow using a
Webservice or Remoting.

so my question is: When you use a XML Webservice, odes it slow everything
down just like you would work with a Webpage? Or am I wrong thinkingthis?
and what's the speed-differnece with Remoting? I guess both can be used in
my situation?

Thanks a lot in advance,

Pieter
 
..Net remoting, over TCP using the binary formatter is (currently) the faster
of the two options. There are a few docs on MSDN which provide documented
test results.

If performance is you only concern, this is currently your best option.

HTH
Dan
 
Remoting is probably the best option if you want performance, but you don't
get out-of-the box security with it, and there's no support in the IDE to
create a Remoting server or client. Web services are slower but not as slow
as a typical web page since you are only returning a SOAP packet and not the
HTML to render a page in the browser. Web services can take advantage of IIS
security and there's really good support for creating web services in the
VS.NET IDE.
 
Ahmed, the thing is that Webservices does xml on the wire and this does have
its side-effects (perf compromise a lil bit) but the scability that you get
with webservices is amazing!!

I would suggest using Remoting in a scenario where there is a small network,
smaller than the internet, like Offices because this is were security does
not matter much ofcourse u need to make sure that authentic users can read
the message but these issues are negligible when u r in a small network
running a firewall.but u cannot neglect these issues when there are people
who like to play around with ur data and like to spoof in ur documents. For
a mass network i would suggest using XML Webservices together with the
WSE2.0 for better and enhanced support for webservices.

Regards,

Umer.
 
Back
Top