How to check the RoleEnvironment.Changing event on a local Azure emulator?

How can I locally test the RoleEnvironment.Changing event using the Azure SDK 1.7? Which file do I need to change, and do I need to run any other command after changing this file?

The information on this thread is not very complete, and it no longer works on 1.7.

+5
source share
2 answers

After trial and error, I found that the problem was incorrect cscfg. To check this:

  • Modify the Azure Project ServiceConfiguration.Local.cscfg
  • Open the Windows Azure SDK as an administrator
  • (cd) Azure, ServiceConfiguration.Local.cscfg.
  • csrun/update: [DEPLOYMENT ID]; ServiceConfiguration.Local.cscfg, [DEPLOYMENT ID] - (XX) Azure Emulator
+4

, csrun/update: [DEPLOYMENT ID]; ServiceConfiguration.Local.cscfg , ( " - F5" ), Start - Ctrl F5).

, -.

+3

All Articles