question

56094669 avatar image
0 Votes"
56094669 asked ajkuma-MSFT edited

прямое изменение исходного кода в папке "wwwroot" не приводит к изменениям на рабочем сайте

Прямое изменение исходного кода в папке "wwwroot" не приводит к изменениям на рабочем сайте.
Мы предполагаем, что профиль публикации на сайте администратора каким-то образом ведет к "неправильной" "wwwroot" папке. Или же профиль публикации некорректный.
Мы просим поддержки, заранее благодарим.


Edited:
Translating into English ( as this is an English global community platform, to benefit the community translated the question in English).

"directly changing the source code in the "wwwroot" folder does not lead to changes on the production site"


"Direct modification of the source code in the "wwwroot" folder does not lead to changes in the production site.
We assume that the publish profile on the admin site somehow leads to the "wrong" "wwwroot" folder. Or the post profile is incorrect.
We ask for your support, thank you in advance."

azure-webappsazure-webapps-developmentazure-webapps-availability
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
0 Votes"
ryanchill answered

I could use a little bit of clarification @56094669. I'm assuming your updating static file content (e.g. html, css, js, etc.), so when you say...

We assume that the publishing profile on the admin site somehow leads to the "wrong" "wwwroot" folder

... you're referring to getting deployment credentials. I want to make it clear this publishing profile doesn't have anything to do with updating the static files in wwwroot. Furhtermore, there is no wrong wwwroot folder, as there's only one per the App Service file structure.

You can update your static files using the Kudu console. Try restarting your app if you're not seeing your changes immediately. However, I would strongly encourage using a continuous deployment method even if your is only comprised of static content.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.