Question

I create a new service of notification for a webRole I defined the service in 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>

But when i try to debug and start a new instance of a webrole, the service deploys in ASP.net Server not in Compute Emulator. I don't know why it is acting like this and the web.config isn't used at all in starting the new instance. enter image description here

Was it helpful?

Solution

Could it be as simple as not selecting the cloud project as the Start Project in Visual Studio?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top