I am using Web.Config transformations to deploy my application in Azure. I also have 2 sites in my service, a public website and a private WCF endpoint. I am deploying several sites for a separate role .
When deployed, the website project (for which the Azure Deploy project is installed) correctly converts web.config. However, the WCF project (which is only considered a βsiteβ in the .csdef file) does not convert the web.debug.config file to web.config.
This question is similar, but applies only to projects. I installed the dependencies in my project.
This workaround forces the web.config file to be converted, but it still does not appear in my deployment on Azure.
I suspect this error still exists, and I also upgraded to the Azure 1.5 SDK in the hope that it will fix it.
I would like to try to put my data in cscfg files , but I use the Entity Framework Code First, and I do not know how to get the connection string to it, work with this format. EFCF explicitly relies on web.config explicitly.
Any help would be appreciated.
When you add another web role, you provide the physical field to indicate what you want to deploy, and all the SDK does is copy the files found along the way to your package. It does not build.
You should probably build and publish the web application that you want to deploy, and then specify the physical directory at the output of this publishing step. (Make sure the directory you install in the physical directory contains exactly what you want to deploy to the cloud.)
Source: https://habr.com/ru/post/897692/More articles:Range object: differences between Webkit and Mozilla browsers - javascriptGetting character offset inside nested html tags - javascriptHow to use System.Guid.Parse within 3.5 - .netHow to run unit tests only when running "maven clean install" and Sonar? - mavenNeed help with NtCreateFile () to open an index file - c ++Why are do / end and {} always equivalent? - ruby ββ| fooobar.comAzure multiple websites with one role, but some of them are not rebuilt when publishing - azureWinForms ListBox right click - c #Azure - multiple sites in post post build 1 role event - azureCan I save the buffer or contents of the console window for future use? - c #All Articles