Re: Remoting Question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Guadala Harry (gh8434_at_aol.com)
Date: 02/19/04


Date: Thu, 19 Feb 2004 07:49:48 -0800

Thanks for the pointers - just the sort of perspective I'm looking for.

G

"Tommy" <Websoftwares@Hotmail.com> wrote in message
news:a85edaaf.0402190504.6ea16b1a@posting.google.com...
> Remoting will be a good choice to have your two web application
> accessing your data access component. By using the TCP transport and
> Binary formatting, you will be able to get much better performance
> than using web service. You are absolutely correct that web service
> is slow, and it should not be used since you doing .NET to .NET.
>
> To increase the reliability, security, performance, and scalability of
> you data access component, you should host it under COM+ and utilize
> the Object pooling, Just in time, and security service. Additionally,
> you should have the data access component run on a separate machine.
>
> Tommy,
>
> "Guadala Harry" <gh8434@aol.com> wrote in message
news:<uGSXDbr9DHA.2308@TK2MSFTNGP11.phx.gbl>...
> > Suppose I have one ASP.NET Web application that accesses a SQL Server on
the
> > local machine/server. This ASP.NET application has the data access logic
> > already separated out into its own assembly. I want to leverage that
same
> > assembly and SQL Server data from a second ASP.NET Web application that
is
> > hosted on a separate machine on a different subnet. Is .NET Remoting a
good
> > choice for accessing the database from the second Web application? or
would
> > a Web service be a better choice?
> >
> > I am under the impression that Web services are slower at runtime and
are
> > ideal for cross-platform communications. But my scenario is .NET to
.NET,
> > and I'd like the best performance possible.
> >
> > Just looking for some general considerations - things I should look at
as I
> > make my decision, as I'm aware that there may not be a simple answer
given
> > the scenario.
> >
> > Thanks.



Relevant Pages

  • Re: Remoting Question
    ... Remoting will be a good choice to have your two web application ... You are absolutely correct that web service ... you data access component, you should host it under COM+ and utilize ... you should have the data access component run on a separate machine. ...
    (microsoft.public.dotnet.framework.aspnet)
  • REPOST: One Web Service updates SQL, the other cant
    ... I posted this on .sqlserver.security under the same subject and Tom Moreau ... One Web Service can access and update the database via ADO ... Columnist, SQL Server Professional ...
    (microsoft.public.vb.database.ado)
  • Re: One Web Service updates SQL, the other cant
    ... Here is the dialog between Tom and I. ... Columnist, SQL Server Professional ... "Steve Ricketts" wrote in message ... I guess its because this is my first Web Service and I> just used the access methods I knew. ...
    (microsoft.public.vb.database.ado)
  • Re: REPOST: One Web Service updates SQL, the other cant
    ... One Web Service can access and update the database via ADO ... > possible using the following connection string: ... > Columnist, SQL Server Professional ...
    (microsoft.public.vb.database.ado)
  • Re: One Web Service updates SQL, another cant?
    ... Columnist, SQL Server Professional ... I guess its because this is my first Web Service and I ... it opens the database connection. ... See what that gives you in the trace. ...
    (microsoft.public.sqlserver.security)