I am using Azure integration with tfs.visualstudio.com for automated deployment after every checkin. As part of my solution, i have a database project (VS 2012) which i want to deploy on sql azure instance after a successful build but before the unit tests are triggered. I am unable to figure out how is that possible with azure. Someone please help me out here.
One possible solution is described here:
http://www.windowsazure.com/en-us/develop/net/tutorials/web-site-with-sql-database/
Related
Is it possible use as a repo TFS server in azure pipeline as a code?
Maybe someone has this experience, because I didn't found any manual for it
I have an existing app service running on Azure that I previously published directly from Visual Studio. I am trying to get to grips with using DevOps and was wondering if it is possible to add a CI/CD pipeline to an existing app service.
I have seen a lot of tutorials on the web about how to create a pipeline for a new app service (many, of course, are out of date and do not actually relate to what one sees in the Azure portal!) So far, though, I have not come across anything about adding this to an existing app service.
Any advice or links to handy tutorials would be greatly appreciated!
I am hoping that the answer is not delete the existing service and start again from scratch!
If you are a beginner on Azure Devops, I will recommend to use the Azure Devops Starter project to create a pipeline, you can pick AppService as the deployment.
Once the pipelines are created on the Azure Devops , just open the pipeline and select the existing AppService where you want to deploy and also the source from where you want to pull the code. This makes easier rather than creating the stuffs from the scratch.
I want to fully automate the deployment of a web application using VSTS. I have a sample azure application and I want to create a build definition on it that contains building the solution, running unit tests, and deploying it over azure on IIS as its build steps. I am new to VSTS, I am finding it hard to automate the deployment using VSTS. Seeking some help on how to create the above build definition. Any slightest guidance will be helpful.
Madhur,
You will find step by step up to date examples on the Visual Studio website:
Build and deploy your ASP.NET 4 code to an Azure web app
Deploy ASP.NET apps to Azure web apps
First create a build definition to test and package you web app.
Second get familiar with release definition to deploy it on Azure. Or if you just want to do it in one place you can have everything in your build definition, it's up to you.
Also when creating a build or release definition on VSTS, the templates offered are very useful, everything is done so you juste have to feel the gaps. I advise you to take a look at it.
Ive written up a walkthrough of this process at my blog site, its for an asp.net core app but the principal is the same for a normal .net framework one, in fact its even easier because you just choose the Visual Studio Build template when creating the build definition. My walkthrough also takes you through how to deploy the Azure resources you need to host the website - its good practise to use infrastructure as code for these, and maintain that code in the same way you treat source code, with CI and CD processes.
Using VSO Team Project and Azure Web App.
I want to connect these services together, however, when I set up Continuous deployment it always fires this error:
My subscription is free DreamSpark.
What can I do?
Setting up CI with VSO TFS is not supported for Dream spark subs. It looks like we have a bug in the UI if you are getting this far.
I have azure continuous deployment setup to deploy orchard solution through tfs online service. It is working fine. It deploys to azure cloud service - and resets the current instance. However, is it possible to deploy the build to a new folder each time in the same instance without resetting it. I assume we have to change the build template on tfs for this. Please advise if anyone has done this before. Thanks.