473,480 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Make my DAL dll know where the database is????

Hi All.

I've written a data access component which I want to install on a database
server machine.
I have two questions which I'd would appreciate anyone's advice /
experience.

I want to make the data access component dll available to - say a business
layer which could reside on another machine.
How do I make this available to the business object?
Is this using .net Remoting? - Could someone point me to somewhere good to
start.

Secondly, When I have my data object, I'd like it to have a default
connectionstring, however I'd like this to be modifiable outside the dll and
somehow picked up by the dll when the data acess object is first
instantiated.
I remember something like this in COM+, but not anything specific.

Thanks

Alex
Jul 21 '05 #1
1 1403
Remoting is indeed the technology to use for this. Since your network
is internal you are probably most interested in speed so I would
recommend you use an SAO Singlecall object with tcp channel and binary
formatter.

The connection string you should encrypt and store in an xml config
file.
Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com

On Wed, 28 Jan 2004 12:42:08 -0000, "Alex Stevens"
<al****************@gcc.co.uk> wrote:
Hi All.

I've written a data access component which I want to install on a database
server machine.
I have two questions which I'd would appreciate anyone's advice /
experience.

I want to make the data access component dll available to - say a business
layer which could reside on another machine.
How do I make this available to the business object?
Is this using .net Remoting? - Could someone point me to somewhere good to
start.

Secondly, When I have my data object, I'd like it to have a default
connectionstring, however I'd like this to be modifiable outside the dll and
somehow picked up by the dll when the data acess object is first
instantiated.
I remember something like this in COM+, but not anything specific.

Thanks

Alex


Jul 21 '05 #2

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

Similar topics

7
2175
by: WindAndWaves | last post by:
Hi Gurus I am keen to make a search page on a website, but I have absolutely zero experience with PHP. I am going to hire an expert, but I thought that it may pay to try it a bit first myself...
2
7446
by: zahid | last post by:
Hello, Dear Friends, I have to make such type of interface,you can say it a html form. in which a admin can write arabic data and can insert that data or recordsin database in ASP. and i have to...
3
2391
by: mark1822 | last post by:
Hello, I am working on designing a Web site using PHP and MySQL and I am currently figuring out how to best build my MySQL database. My Web site is going to use a MySQL database extensively...
6
3413
by: ronwer | last post by:
Hello, The title doesn't completely cover the question I have, but it's a bit more complicated problem we have. We are using a database, based on Acces, but developed by a third party...
8
28495
by: ghadley_00 | last post by:
Hi, I have an access database with a table linked to an external text file. Occasionally the location of the database and the text file change (but are always in the same directory). Is there a...
0
7049
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
6912
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
7092
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...
1
6744
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...
0
5348
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4488
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...
0
2989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1304
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 ...
1
565
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.