Problema de depuración para una instancia de roles con Azure Compute Emulator, error del servidor en la aplicación '/'

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

Pregunta

Creo un nuevo servicio de notificación para un Webrole, definí el servicio en 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>

Pero cuando trato de depurar y comenzar una nueva instancia de un Webrole, el servicio implementa en el servidor ASP.NET no en el emulador de cómputo. No sé por qué está actuando así y la web.config no se usa en absoluto al comenzar la nueva instancia.enter image description here

¿Fue útil?

Solución

¿Podría ser tan simple como no seleccionar el proyecto en la nube como el proyecto de inicio en Visual Studio?

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top