0
votes

I am using Release management of Visual Studio Team Services to build my deployment pipeline.

The application is a ASP.Net MVC deployed in Azure as Webapp and also contains a WebJob module to process Queue.

To change the configuration when deploying i use Tokenization approach. MSDN link

How can change the configuration of Webjob using use Tokenization approach?

The documentation totally misses the scenario, i tried using powershell but the website didn't work either.

1
Are you gonna deploy your both webapp and webjob at the same time or separetely ?Thomas
my plan is to deploy in same tier. But if deploying webjob separately would solve the issue.. i am open to thatSridharVenkat
Where do you store the configuration settings for the WebJob? app.config or web.config file?Eddie Chen - MSFT
it's in the app.configSridharVenkat

1 Answers

1
votes

It is almost the same as the link you referred to. The "Tokenize" task in the link change the settings in the specified "web.config" file. You just need to add one more "Tokeize" task in the release definition and set the "Source filename" to the "app.config" file of your WebJob project.