A pedant that hangs out in the dark corner-cases of the web.

Wednesday, December 05, 2007

configSource: "It must refer to a file in the same directory or in a subdirectory as the configuration file."

Since the configSource attribute, to include .NET config file sections from external files, only allows relative paths and no parent paths, it severely limits the ability to centralize configuration settings for multiple config files.

Unless you use NTFS hard links or junction points, of course.

For example, if you have a ConnectionStrings.config file that you want to reference from your .NET 2.0 machine.config and your .NET 3.5 machine.config, you can create a directory within the .NET 2.0 CONFIG directory called ConnectionStrings, then create a hard link (for files, using fsutil hardlink) or junction point (for an entiry directory, using junction) with the same name within the .NET 3.5 CONFIG directory. When you put the ConnectionStrings.config in either directory, it will exist in both, so you can point to ConnectionStrings\ConnectionStrings.config with a configSource attribute in both machine.config files, and still only have a single file to maintain.


Anonymous said...

Hello there, just became alert to your blog through Google, and found that it is truly informative.

I'm going to watch out for brussels. I will be grateful if you continue this in future. Many people will be benefited from your writing. Cheers!

Review my homepage kaleidoscope

Anonymous said...

I believe everything typed was actually very logical.
However, what about this? suppose you added a little content?
I mean, I don't want to tell you how to run your blog, however suppose you added a title to possibly grab a person's attention?
I mean "configSource: "It must refer to a file in the same directory or in
a subdirectory as the configuration file."" is a little
vanilla. You could peek at Yahoo's front page and note how they create post titles to grab people to open the links. You might try adding a video or a related picture or two to get readers excited about what you've written.

In my opinion, it would bring your posts a little livelier.

My page; window seat cushions

Anonymous said...

Stunnіng queѕt therе. What oссurгed
after? Gοod luсk!

Ηave a lоok at my web blog; herbal incense spice

Anonymous said...

Unquestionably believe that which you said.
Your favorite justification seemed to be on the web the simplest thing
to be aware of. I say to you, I certainly get irked while people consider worries
that they just don't know about. You managed to hit the nail upon the top and also defined out the whole thing without having side-effects , people can take a signal. Will probably be back to get more. Thanks

My homepage http://facelv.hostoi.com/index.php?do=/blog/6506/assist-to-kitchen-desk-chair-cushions/

Anonymous said...

Very nice article, just what I wanted to find.

Feel free to surf to my web site :: white board paint

Anonymous said...

Howdy! This post could not be written any better! Reading this post reminds me of my old
room mate! He always kept talking about this. I will forward this article to him.

Fairly certain he will have a good read. Thank you for sharing!

Stop by my webpage; 18 inch dishwasher

Anonymous said...

The religious divine religious ceremony of these loans is fast because the investor does not have the food market bills,
accumulation bills, recognition card bills, glade
for old debts and many more. The other benefits reckon that we do not ask our applicants like
inst day loans that get the Gustavus Franklin Swift sum to
you inside circular the timekeeper or less that that time.
You must succeed higher up without pledging any indirect.
Think that you are working and do have get to a daily earnings
source, it a sound checking informing. These facts are delivered through with sms and soon later its bringing medium of exchange in bidding to overpowered your business worries.
When you get a loan at low interestingness rates, be higher up 18
age. Once the full form is submitted, the investor
will confirm all the inside information and if garden
truck uncountable monetary system machine-accessible - on you.
These loans are a Jesus of Nazareth for the intermediate grade modular
bank loan, it does not need entry documents.
Quick Loans Same Day is the cash in hand which get bad or good tons.

However, location are anantithetic resources accessible are
also different related to this cash aid.
payday loansAlso, he is hoped-for to
consumers do not want to be chagrined with such a loan.

Your approval evaluation is to supply any collateral against loan magnitude.
However, you nonmoving have a opportunity to gear the force of commercial enterprise deficit and bank
informing registered low-level his name.

Anonymous said...

You can certainly see your skills in the work you write.
The world hopes for even more passionate writers such
as you who are not afraid to say how they believe.
Always follow your heart.

My page; rocker glider chairs

Anonymous said...

これは誰もアイデア場合はちょうど本格的なアクセサリー。グッチのハンドバッグ常に、改装はハンドバッグを使用与える、新しい外観。コラージュ バナー グラフィックは、この運ぶ、ヒップホップ アーティストのクールな写真を装った場合彼はすることができますについて誰かをノックアウトします。グッチは設立されましたに、グッチオ ・ グッチ (1881 年)、職人の子孫によって 1906 年に馬具屋。

Anonymous said...

Undeniably believe that which you stated. Your favorite reason appeared to be on the net the simplest thing
to be aware of. I say to you, I certainly get annoyed while people consider worries that they plainly don't know about.
You managed to hit the nail upon the top as well as defined out the whole thing without having side effect
, people can take a signal. Will probably be back to get more.

Here is my homepage Ants Control Abbotsford BC

Anonymous said...

I know this website provides quality depending content and other data,
is there any other web page which gives such stuff in quality?

my blog :: Pest Control Sites Peterborough ON

Anonymous said...

I constantly spent my half an hour to read this
weblog's content all the time along with a cup of coffee.

Also visit my web page - Service Demenagement Martin