Azure Compute Emulator、 '/'アプリケーションのサーバーエラーのロールインスタンスのデバッグ問題

StackOverflow https://stackoverflow.com/questions/5859065

質問

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は、新しいインスタンスを開始する際にまったく使用されていません。enter image description here

役に立ちましたか?

解決

CloudプロジェクトをVisual StudioのStart Projectと同じくらい選択しないのと同じくらい簡単ですか?

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top