My code is hosted on Visual Studio Team Services repository however it is asking for public git repository. How can i achieve this?WithPublicGitRepository
try
{
var app = await azure.WebApps.Define(appName)
.WithRegion(newAppService.Region)
.WithNewResourceGroup(rgName)
.WithNewFreeAppServicePlan()
.WithAppSettings(newAppService.AppSettings)
.DefineSourceControl()
.WithPublicGitRepository("VsTs git url")
.WithBranch("master")
.Attach()
.CreateAsync();
return app.HostNames.First();
}
catch (Exception ex) {
throw ex;
}