Share via

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

Борис Мкртчян 1 Reputation point
2022-02-18T11:05:42.24+00:00

Прямое изменение исходного кода в папке "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 App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,336 Reputation points Microsoft Employee Moderator
    2022-02-19T23:21:09.277+00:00

    I could use a little bit of clarification @Борис Мкртчян . 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.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.