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

Remoting Question

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.
Nov 18 '05 #1
2 1136
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" <gh****@aol.com> wrote in message news:<uG**************@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.

Nov 18 '05 #2
Thanks for the pointers - just the sort of perspective I'm looking for.

G
"Tommy" <We**********@Hotmail.com> wrote in message
news:a8**************************@posting.google.c om...
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" <gh****@aol.com> wrote in message

news:<uG**************@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.

Nov 18 '05 #3

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

Similar topics

0
by: Sean Newton | last post by:
I am absolutely bewildered by now by the Microsoft.Samples SSPI and Security assemblies. I've been trying to set these up in a very straightforward harness in the way that I'd like to be able to...
0
by: Dennis Owens | last post by:
Read below for previous conversation. We are developing an application that will some day run on anything from a computer down to a PDA (this is were the Lightweight comes in). The messaging...
15
by: anders | last post by:
Hi! I have a config file that looks like this: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="SingleCall"...
5
by: DraguVaso | last post by:
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...
10
by: Michael Culley | last post by:
In vb6 it was possible to create an exe as an activeX exe and communicate between 2 apps. Now we have remoting which requires opening a tcp port to listen on, which seems kinda crappy cause another...
6
by: Uttam | last post by:
Hello, We are at a very crucial decision making stage to select between .Net and Java. Our requirement is to download a class at runtime on the client computer and execute it using remoting or...
3
by: Lucas Tam | last post by:
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...
9
by: Nak | last post by:
Hi there, I have been messing around with remoting in an attempt to create a "shared application" as mentioned in another thread by that name. I have created a singleton object just like the...
2
by: Ryan | last post by:
My apologies if this is not the forum to post questions regarding .NET Remoting, but I figured WebServices would be the most appropriate forum of the bunch. We're currently completely re-arching...
2
by: erbilkonuk | last post by:
Hi, I am very new to .NET Remoting and I try to run a simple program to subscribe to an event raised by Remoting Class. The Remoting Server initiates an instance of Remoting Class as Singleton /...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...

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.