[1.4]合理的使用のPartitionKey&のrowKeyで
詳細は、参照:Moreabout "のPartitionKey" & "のrowKey" inWindowsazuretablestorage
< 2> usingcustomerhttphandlerinWindowsazurewebroleをwebroleカスタムのHttpHandler
に。上記IIS7で展開後
起因webrole実際の動作は、設定された場合:
<のsystem.web>
<のhttpHandlers>を、
であろうエラーが報告され、正しい構成がノードにあります。
< system.webServer>
< modulesrunAllManagedModulesForAllRequests = "真" />
< validationvalidateIntegratedModeConfiguration = "偽" >< /検証>
<ハンドラ>
<関数addpath = "*行う" NAME = "KeywordsHandler" 動詞= "GET" タイプ= "KeywordsWebRole.KeywordsHandler、KeyWordsWebRole" resourcetypeの= "未指定" allowPathInfo = "真「><追加/>
< /ハンドラ>
< /system.webServer>
< 3>役割記憶に使用されるプロファイル接続情報は、clIEntaccountを作成する次のコードを使用する場合:
CloudStorageAccountaccount = CloudStorageAccount.FromConfigurationSetting( "DataConnectionStringを");
次のエラー:で
例外:SetConfigurationSettingPublisherneedstobecalledbeforeFromConfigurationSettingcanbeused
。
ソリューション:publicoverrideboolOnSで
;
{
configSetter(RoleEnvironment.GetConfigurationSettingValue(CONFIGNAME)); <
CloudStorageAccount.SetConfigurationSettingPublisher((CONFIGNAME、configSetter)=>:タルト()次のコードを追加BR>
RoleEnvironment.Changed + =(anotherSender、引数)=>
{
(arg.Changes.OfType()
.ANY((変更した場合)=>!(change.ConfigurationSettingName == CONFIGNAME)))
{
IF(configSetter(RoleEnvironment.GetConfigurationSettingValue(CONFIGNAME)))
{
RoleEnvironment.RequestRecycle();
}
}
};
});
WindowsAzureプラットフォームは、マイクロソフトであります自社開発のクラウドサービスプラットフォームは非常にプロフェッショナルな製品なので、日常生活の中でこの種の技術レベルに出会うことはめったにありません。