Azure Compute Emulator、 '/'アプリケーションのサーバーエラーのロールインスタンスのデバッグ問題
-
27-10-2019 - |
質問
Webroleの新しいサービスを作成しますWeb.configでサービスを定義しました
<system.serviceModel><services>
<!-- Notification Service Definition -->
<service behaviorConfiguration="NotificationServiceBehaviors" name="Paw.Services.NotificationService">
<endpoint binding="basicHttpBinding" contract="Paw.Services.INotificationService" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="NotificationServiceBehaviors">
<serviceMetadata httpGetEnabled="true" />
</behavior>
</serviceBehaviors>
</behaviors></system.serviceModel>
しかし、Webroleの新しいインスタンスをデバッグして起動しようとすると、サービスはコンピューティングエミュレータではなくASP.NETサーバーに展開します。なぜこのように振る舞っているのかはわかりません。Web.configは、新しいインスタンスを開始する際にまったく使用されていません。
解決
CloudプロジェクトをVisual StudioのStart Projectと同じくらい選択しないのと同じくらい簡単ですか?
所属していません StackOverflow