Thursday, June 24, 2010

Windows Azure – Custom configuration settings

Few days back, I received a question on our internal Azure discussion DL regarding, how we can have settings defined in a web configuration file implemented in a web role. In simple terms, how we can have configuration file in a Windows Azure application.

This is how we can do this;

During development

  • ServiceDefinition.csdef – Add name of your custom configuration

image

  • ServiceConfiguration.cscfg – Add value to your custom configuration

image

  • Now, use this custom configuration in code

image

When you publish this project, generated ServiceConfiguration.cscfg will have your custom configuration key value pair. You can also modify this after you deploy your app in the cloud.

Technorati Tags: ,

~pEaCe~

21 comments:

涂宛臻 said...

死亡是悲哀的,但活得不快樂更悲哀。......................................................................

怡潔 said...

河水永遠是相同的,可是每一剎那又都是新的。......................................................................

麗珠麗珠麗珠 said...

成熟,就是有能力適應生活中的模糊。.................................................................

筱婷筱婷 said...

向著星球長驅直進的人,反比踟躕在峽路上的人,更容易達到目的。............................................................

Idell said...

這麼好的部落格,以後看不到怎麼辦啊!!..................................................................

江冠彭珮李佳宏陽筠 said...

馬丁路德:「即使知道明天世界即將毀滅,我仍願在今天種下一棵小樹。」............................................................

吳婷婷 said...

認同您堅持和認真的態度,加油!支持你............................................................

吳玉婷 said...

感謝分享--每天都要快樂喔....................................................................

蘇育維蘇育維 said...

這麼好的blog不回應怎麼行咧!............................................................

明儒 said...

let us be happey everyday!!............................................................

ju吳phe宇te佳ns said...

這個部落格好好好~棒棒棒............................................................

陳水卉陳水卉 said...

真得很不錯的blog,加油哦..................................................................

岑瑜原岑瑜原 said...

人生有些波折,才能有些成長,所以不論順逆,凡是成長、成功的助緣,都應該心存感激。..................................................

戴昀黃慧婷德 said...

還是喜歡這裡-支持你..................................................................

毛彥宇毛彥宇 said...

Tks for your kindly sharing.( >з<)............................................................

黃沈貞儀吉軍 said...

每日都有新日光,每日都有新希望。..................................................

亦奈美妮 said...

Necessity is the mother of invention..................................................................

Anonymous said...

It is hard to believe that anything [B][URL=http://www.mbtplus.com/]mbt shoes best prices[/URL][/B] so inherently ugly as the MBT shoe could ever catch on [U]mbt discount shoes[/U] with either the younger generation or the fitness fanatics but it has. [B]mbt walking shoes[/B] The shoes or I suppose they should be called trainers have thick curved soles and wide straps across the front. Currently [U][B]mbt shoes best prices[/U][/B] the are available in over 20 countries and have sold more than a million pairs a year. Considering that they have a price tag of around $200 it is even [B]mbt shoes review[/B] more remarkable.

MBT shoes, which stand for Masai [B]mbt shoes clearance[/B] Barefoot Technology were invented by Karl Muller a Swiss engineer. He [B]mbt sandals[/B] suffered back and knee problems but on a trip to Korea he noticed [U][B]MBT[/U][/B] that after walking barefoot through paddy fields the symptoms were relieved. With further [U]mbt discount shoes[/U] research he discovered that the Masai tribesmen from Kenya did not suffer back problems [B]mbt shoes clearance[/B] and had perfect posture. Putting these two facts together he decided that [U]MBT shoes[/U] the answer was because they were walking on soft surfaces [U]mbt shoes sale[/U] which yielded as they trod on them. This [U]mbt sneakers[/U] was unlike in Europe and America where we tend to walk on firm surfaces such as sidewalks.

The first MBT was manufactured in 1996 and soon [U][B]mbt shoes best prices[/U][/B] became popular on continental Europe. Since then many celebrities have [B]mbt shoes best prices[/B] been seen sporting MBTs. The concept basically is that the [U][B]mbt shoes review[/U][/B] curved sole creates instability as you walk, which [U][B]MBT shoes[/U][/B] mimics the effect of walking barefoot. To counteract this the foot uses muscle to counter this [B][URL=http://www.mbtplus.com/]mbt sneakers[/URL][/B] and creates a natural body training effect.

The makers claim that this natural instability [B]mbt walking shoes[/B] strengthens the muscles, increases muscle activity, calorie [B]mbt shoes clearance[/B] burn and blood circulation. They also say that it reduces the shock forces [U]mbt shoes sale[/U] on joints which help prevent a variety of degenerative muscular and skeletal problems [U][B]MBT shoes[/U][/B] including back pain.

468ds said...

字是活的,人和環境的觀察是活的,思想是活的。不管怎樣,就是要有一兩樣是活的。否則都是平庸。..................................................................

SM度チェッカー said...

SMって最初は抵抗有る方が多いと思いますが、新しい自分を見付ける入門にまず、SM度チェッカーで自分に合うSMプレーを探しませんか?ここから新しい可能性が広がりますよ

出逢い said...

新年を寂しく過ごしている方に必見。まだ間に合う出逢いのサイトです。冬休み後半の思い出作りに異性と過ごしませんか?今から始まる異性との新たな関係を築き、一年の初めを良い思い出に変えましょう