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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -