开发者

Debugging problem for a Role instance with Azure Compute Emulator,Server Error in '/' Application

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" contr开发者_StackOverflow中文版act="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.

Debugging problem for a Role instance with Azure Compute Emulator,Server Error in '/' Application


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜