Visual studio 2015 Cordova Project to include staging and production configuration files -


i'm using visual studio 2015 cordova connect azure mobile services. setup "staging" , "production" of mobile service,

ex:

https://mystaging.azuremobileservices.net    https://myproduction.azuremobileservices.net 

and use following code in staging deployment

var client = new windowsazure.mobileserviceclient('https://mystaging.azuremobileservices.net', 'mykey');  // var client = new windowsazure.mobileserviceclient('https://myproduction.azuremobileservices.net', 'mykey'); 

and following production deployment

// var client = new windowsazure.mobileserviceclient('https://mystaging.azuremobileservices.net', 'mykey');  var client = new windowsazure.mobileserviceclient('https://myproduction.azuremobileservices.net', 'mykey'); 

do have manually comment , uncomment code in order have different deployment configuration?

i can't find no setup testing/staging/production config in visual studio 2015 rc cordova project.

could have suggestion configuration management in vs2015 cordova?

thanks lot.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -