locked
Test notification sending

    Question

  • Hello guys.  

    I'm currently developing Notification Server that uses Windows Azure Notification Hubs and faced with the next problem.

    I need to implement test notification sending, I mean when notification is sent, it should be shown only on test versions (which aren't in Windows Store).
    I decide to use Tag sending and separate channel creating logic (for testing I created channel with "Test" tag, for production I create broadcast channel). For now, I want to simplify this procedure and make automated channel creating mechanism. But I have no ideas how to determine from code with which build I work with (Test or Production, from Windows Store). 
    If someone coped with it or has any ideas how to organize test sending, please advice me how to solve this problem.

    Thank you in advance!
    Roman.
    Wednesday, February 11, 2015 11:27 AM

Answers

  • change the connectionstring to the hub in code by DEBUG and release build?

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Thursday, February 12, 2015 10:26 AM

All replies

  • use different hubs for the different versions?

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Wednesday, February 11, 2015 11:37 AM
  • use different hubs for the different versions?

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    In this case I will have to change hub manually before application publish. I want to mechanism without any manual intervention.
    Thursday, February 12, 2015 10:12 AM
  • change the connectionstring to the hub in code by DEBUG and release build?

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Thursday, February 12, 2015 10:26 AM