473,385 Members | 1,642 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,385 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 1334
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.