473,587 Members | 2,533 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1146
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******* *******@TK2MSFT NGP11.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**********@H otmail.com> wrote in message
news:a8******** *************** ***@posting.goo gle.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" <gh****@aol.com > wrote in message

news:<uG******* *******@TK2MSFT NGP11.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
2916
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 use them. No IIS. Use TCP, binary. Standard server example with a console host and console client. .NET 1.1, windows XP. (I tried posting to the...
0
1532
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 that we want to send will be very straightforward. If one of the clients has changed some data, the other clients need to know about it. If the...
15
3970
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" type="Interfaces, IMyFirstRemotableObj" objectUri="ControlCenter" /> </service>
5
357
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 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...
10
5554
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 app might be using the same port. Is there an alternative way of communicating between 2 exes on the same machine? Thanks, Michael Culley
6
2707
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 rmi. Just to keep my question short I am posting trimmed version of my code. //file: Serializable.cs
3
1705
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 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.
9
2093
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 example in the 101 VB.NET examples. It works great, only 1 instance ever gets created and is shared by each client. I have a few questions though,...
2
1686
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 some software (currently it's essentially a single tier app - a giant meat ball - we're turning it into an n-tier architecture; gotta love...
2
3049
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 / Server activated mode on startup. The Remoting Client accesses the Remoting Class through the interface of the Class and subscribes to an event of...
0
7923
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...
0
8216
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. ...
0
8349
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...
1
7974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8221
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...
0
5395
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
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
0
1192
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.