問題タブ [azure-role-environment]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
azure - 2 つの Azure インスタンスのロール環境への同時書き込み
ロール環境にファイルをローカルに保存するクラウド サービスとして Azure でホストされている MVC Web アプリケーションがあります。これは、サービスを 2 つのインスタンスで高可用性に移行するまで実行可能なソリューションでしたが、現在はファイルがアップロードされた環境にのみ書き込まれるため、ユーザーがロード バランサーのために他のインスタンスにジャンプすると、これらのファイルは使用できなくなります。
インスタンス [0] にログインしている場合、インスタンス [1] の他のロール環境に書き込む手段はありますか。セッションは、Redis キャッシュを使用して両方のインスタンスに保存されます。現在、ロール環境に書き込む私のコードは次のとおりです。
LocalResource tempDirecory 変数は、どちらも TempZipDirectory という名前であるため、両方のインスタンスで同じである必要があります。
azure - Cannot access RoleEnviroment when running multiple Sites inside Cloud Service
I have got an existing solution which uses settings from RoleEnviroment in both the WebRole.OnStart and Global.asax Application_Start handlers. (This has been running well for months)
This all works fine when I have just one Site inside my role:
However when I add my second site, neither site can access RoleEnviroment??
I have tested this in the local azure emulator (full) and it works fine, but when deployed to an actual web role it throws:
I have checked that the setting I am trying to access is there. When I remove the second Site it works fine. When I remove the first Site it also works fine. It looks to me like there is an issue with Azure providing access to the RoleEnviroment for web roles in multiple instances.
azure - Windows azure での worker ロールとの通信
誰かが助けてくれるなら、私は私の問題を提示します:
私は、構成のすべてのデータを含む XML になる構成をユーザーが作成できる Web サイト (Azure の WebForms で実装) を持っています。一方、作業中のワーカー ロールがあり、この XML 構成が必要です。
問題は、ユーザーが生成したこの XML ファイルをワーカー ロールに送信するにはどうすればよいかということです。
インターロール通信は正しいパスではないように思われるため、REST API に似たものを探しました。
azure - ホストされたクラウド (Azure ではない) に Azure Cloud Service をデプロイする
Azure Cloud Service にデプロイされたクラウド アプリケーションを開発しており、VM のみを提供する別のホスティング プロバイダーにデプロイしたいと考えています。
Azure ランタイムを Windows VM にインストールし、コードを変更せずに Azure ロールとして機能させる方法はありますか?
Azure Stack について読みましたが、まだ運用されていないようで、使用できません。
azure - MS Azure の複数のロールにユーザー サブスクリプションを追加する
MS Azure サブスクリプションにユーザーを追加しています。また、一度に 1 つのサブスクリプションに 1 つのロールしか追加できないように見えます。複数のロールを 1 つのサブスクリプションに同時に追加することはできますか?