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

Best way to stored settings for Serviced Components

Hello.

I'm building an N-Tier intranet. The business components will be in Com+
(Enterprise Services) as well as the data access components.

I need to store application settings, such as connection strings, etc. I
plan on using an XML doc for this.

I'm trying to determine the most optimal way to store/access these config
files. I would only want to access them once, perhaps at component
activation, and keep them in memory for performance sake.

Any suggestions?

Thanks in advance,

Mike
Sep 27 '05 #1
2 1336
Hello Mike,

What's the question?
U need to know that only DAL must connect to DB. Just keep XML on the dal
tier

M> Hello.
M> I'm building an N-Tier intranet. The business components will be in
M> Com+ (Enterprise Services) as well as the data access components.
M> I need to store application settings, such as connection strings,
M> etc. I plan on using an XML doc for this.
M> I'm trying to determine the most optimal way to store/access these
M> config files. I would only want to access them once, perhaps at
M> component activation, and keep them in memory for performance sake.

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Sep 27 '05 #2
Mike,

If you want an app.config for COM+ service component then check out this
blog entry:

http://www.dotnet247.com/247referenc.../04/41369.aspx

HTH

Ollie Riches

"mike" <mi***@slomins.com> wrote in message
news:Oc**************@TK2MSFTNGP09.phx.gbl...
Hello.

I'm building an N-Tier intranet. The business components will be in Com+
(Enterprise Services) as well as the data access components.

I need to store application settings, such as connection strings, etc. I
plan on using an XML doc for this.

I'm trying to determine the most optimal way to store/access these config
files. I would only want to access them once, perhaps at component
activation, and keep them in memory for performance sake.

Any suggestions?

Thanks in advance,

Mike

Sep 28 '05 #3

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

Similar topics

3
by: Robert | last post by:
We have several serviced components written in .NET 1.1. Using Visual Studio, we have an installer project that creates an installer for them. The components are installed properly into the GAC...
2
by: Stan | last post by:
I wasn't sure what would be the best ng to post it. We have ASP.NET app that uses serviced component to perform all database writes and updates (there are separate components sitting on the web...
2
by: Ansari | last post by:
hi all, I want to use serviced component in ASP.NET any walkthrough or link to a resource. I have tried a lot but serviced component could be initialized in ASP.NET page. However I can...
2
by: mike | last post by:
Hello. I'm building an N-Tier intranet. The business components will be in Com+ (Enterprise Services) as well as the data access components. I need to store application settings, such as...
4
by: Pete Wittig | last post by:
Hello, I am creating an app using Serviced Components and I am exposing them using the Enterprise Services SOAP service. Here is my problem: I have one COM+ application with several serviced...
4
by: Praveen Chandra | last post by:
Hi, I just wanted to put down the issue with more detailed information so that you can help us get to the right Microsoft resource for a solution! Here is the problem description... Our...
1
by: Pete Wittig | last post by:
Hi, I am trying to create a Setup and Deployment project for a Serviced Component. In my solution I have two projects. The first is the class library that contains my serviced component as well...
2
by: =?Utf-8?B?QkY=?= | last post by:
I am currently working on moving our business objects into COM+ serviced components. But in the process, there are too many changes such ComVisible and serviced component does not support...
4
by: =?Utf-8?B?UmF5IE1pdGNoZWxs?= | last post by:
I've been toying with the idea that it might be nicer to store all my settings as application settings rather than having to play games with saving and restoring from an external file. However, my...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
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...
0
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...

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.