投稿数 - 437, コメント - 55196, トラックバック - 156

ConfigurationManager と WebConfigurationManager の違い

http://blogs.wankuma.com/pandora/archive/2007/05/30/78818.aspx より

WebConfigurationManager クラスのリファレンスには次のようにある。

Web アプリケーション関連の構成ファイルを処理する場合は、WebConfigurationManager の使用をお勧めします。クライアント アプリケーションの場合は、ConfigurationManager を使用します。

Web アプリケーションの場合は WebConfigurationManager を使用した方が良い、というにはリファレンスから理解できるが、ConfigurationManager と WebConfigurationManager の違いは何なのだろうか? メソッドの数や名前に違いはあるが(※1)、AppSettings プロパティを使って値を取得する分には違いはないように思える。

WebConfigurationManager にあり、ConfigurationManager にない機能は「同期」及び「設定ファイルの階層化に対応」だと思われる。

Web アプリケーションはクライアントアプリケーションと違い、かなり多数のスレッドから同時にアクセスされる上に HTTP 処理パイプラインの「どこ」でアクセスされるかによって設定ファイルのインスタンスの状態が違うと思う。WebConfigurationManager はその辺を吸収してくれるのではないだろうか(多分)。

※1 ConfigurationManager には OpenExeConfiguration、WebConfigurationManager には GetWebApplicationSection など。

投稿日時 : 2007年6月7日 7:55

フィードバック

# It's genuinely very complex in this active life to listen news on Television, so I just use web for that purpose, and obtain the newest information.

It's genuinely very complex in this active life to listen news on Television, so I just use web for that purpose, and obtain the newest information.

# Just want to say your article is as astonishing. The clarity in your post is just excellent and i could assume you're an expert on this subject. Fine with your permission let me to grab your feed to keep updated with forthcoming post. Thanks a million a

Just want to say your article is as astonishing. The clarity in your post is just excellent and i
could assume you're an expert on this subject. Fine
with your permission let me to grab your feed to keep updated
with forthcoming post. Thanks a million and please carry on the enjoyable work.

# What's up, I desire to subscribe for this web site to obtain newest updates, so where can i do it please help.

What's up, I desire to subscribe for this
web site to obtain newest updates, so where can i do it please help.

# This is really fascinating, You are an overly professional blogger. I have joined your feed and stay up for in search of more of your great post. Additionally, I've shared your website in my social networks

This is really fascinating, You are an overly professional blogger.
I have joined your feed and stay up for in search of more of
your great post. Additionally, I've shared your website in my social networks

# First off I would like to say terrific blog! I had a quick question which I'd like to ask if you do not mind. I was curious to know how you center yourself and clear your mind before writing. I have had trouble clearing my mind in getting my ideas out t

First off I would like to say terrific blog! I had a
quick question which I'd like to ask if you do not mind.

I was curious to know how you center yourself and clear your mind before writing.
I have had trouble clearing my mind in getting my ideas out there.
I do take pleasure in writing but it just seems like the first 10 to 15 minutes are
usually lost just trying to figure out how to begin. Any ideas or tips?
Cheers!

# CbVKrBYqMWdklw

You know that children are growing up when they start asking questions that have answers..
2021/07/03 2:15 | https://amzn.to/365xyVY

# Heya i am for the primary time here. I came across this board and I find It truly helpful & it helped me out much. I am hoping to provide something again and help others such as you aided me.

Heya i am for the primary time here. I came across this board and
I find It truly helpful & it helped me out much. I am hoping
to provide something again and help others such as you aided me.

# Heya i am for the primary time here. I came across this board and I find It truly helpful & it helped me out much. I am hoping to provide something again and help others such as you aided me.

Heya i am for the primary time here. I came across this board and
I find It truly helpful & it helped me out much. I am hoping
to provide something again and help others such as you aided me.

# Heya i am for the primary time here. I came across this board and I find It truly helpful & it helped me out much. I am hoping to provide something again and help others such as you aided me.

Heya i am for the primary time here. I came across this board and
I find It truly helpful & it helped me out much. I am hoping
to provide something again and help others such as you aided me.

# Heya i am for the primary time here. I came across this board and I find It truly helpful & it helped me out much. I am hoping to provide something again and help others such as you aided me.

Heya i am for the primary time here. I came across this board and
I find It truly helpful & it helped me out much. I am hoping
to provide something again and help others such as you aided me.

# It's truly very complicated in this busy life to listen news on Television, so I simply use internet for that purpose, and take the most recent information.

It's truly very complicated in this busy life to listen news
on Television, so I simply use internet for that purpose, and take the most recent information.

# It's truly very complicated in this busy life to listen news on Television, so I simply use internet for that purpose, and take the most recent information.

It's truly very complicated in this busy life to listen news
on Television, so I simply use internet for that purpose, and take the most recent information.

# It's truly very complicated in this busy life to listen news on Television, so I simply use internet for that purpose, and take the most recent information.

It's truly very complicated in this busy life to listen news
on Television, so I simply use internet for that purpose, and take the most recent information.

# It's truly very complicated in this busy life to listen news on Television, so I simply use internet for that purpose, and take the most recent information.

It's truly very complicated in this busy life to listen news
on Television, so I simply use internet for that purpose, and take the most recent information.

# I'll right away clutch your rss as I can't in finding your email subscription hyperlink or e-newsletter service. Do you have any? Please permit me recognize in order that I may subscribe. Thanks. quest bars http://j.mp/3C2tkMR quest bars

I'll right away clutch your rss as I can't in finding your email subscription hyperlink or
e-newsletter service. Do you have any? Please permit me recognize in order that I may subscribe.
Thanks. quest bars http://j.mp/3C2tkMR quest bars

# Have you ever thought about including a little bit more than just your articles? I mean, what you say is fundamental and all. Nevertheless imagine if you added some great photos or video clips to give your posts more, "pop"! Your content is exc

Have you ever thought about including a little
bit more than just your articles? I mean, what you say
is fundamental and all. Nevertheless imagine if you added
some great photos or video clips to give your posts more, "pop"!
Your content is excellent but with images and video clips, this blog could definitely
be one of the very best in its field. Superb blog! scoliosis surgery https://coub.com/stories/962966-scoliosis-surgery scoliosis surgery

# Have you ever thought about including a little bit more than just your articles? I mean, what you say is fundamental and all. Nevertheless imagine if you added some great photos or video clips to give your posts more, "pop"! Your content is exc

Have you ever thought about including a little
bit more than just your articles? I mean, what you say
is fundamental and all. Nevertheless imagine if you added
some great photos or video clips to give your posts more, "pop"!
Your content is excellent but with images and video clips, this blog could definitely
be one of the very best in its field. Superb blog! scoliosis surgery https://coub.com/stories/962966-scoliosis-surgery scoliosis surgery

# Have you ever thought about including a little bit more than just your articles? I mean, what you say is fundamental and all. Nevertheless imagine if you added some great photos or video clips to give your posts more, "pop"! Your content is exc

Have you ever thought about including a little
bit more than just your articles? I mean, what you say
is fundamental and all. Nevertheless imagine if you added
some great photos or video clips to give your posts more, "pop"!
Your content is excellent but with images and video clips, this blog could definitely
be one of the very best in its field. Superb blog! scoliosis surgery https://coub.com/stories/962966-scoliosis-surgery scoliosis surgery

# Have you ever thought about including a little bit more than just your articles? I mean, what you say is fundamental and all. Nevertheless imagine if you added some great photos or video clips to give your posts more, "pop"! Your content is exc

Have you ever thought about including a little
bit more than just your articles? I mean, what you say
is fundamental and all. Nevertheless imagine if you added
some great photos or video clips to give your posts more, "pop"!
Your content is excellent but with images and video clips, this blog could definitely
be one of the very best in its field. Superb blog! scoliosis surgery https://coub.com/stories/962966-scoliosis-surgery scoliosis surgery

# Amazing! Its actually awesome article, I have got much clear idea about from this article.

Amazing! Its actually awesome article, I
have got much clear idea about from this article.

# What a material of un-ambiguity and preserveness of valuable knowledge regarding unpredicted feelings.

What a material of un-ambiguity and preserveness of
valuable knowledge regarding unpredicted feelings.

# I'd like to find out more? I'd care to find out more details.

I'd like to find out more? I'd care to find out more
details.

# I'm not sure why but this web site is loading very slow for me. Is anyone else having this problem or is it a problem on my end? I'll check back later and see if the problem still exists.

I'm not sure why but this web site is loading very slow
for me. Is anyone else having this problem or is it a problem on my end?
I'll check back later and see if the problem still
exists.

# CJoRJlQKiV

http://imrdsoacha.gov.co/silvitra-120mg-qrms
2022/04/19 14:13 | johnanz

コメントの投稿

タイトル
名前
URL
コメント