Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Azure Web App, changes not reflected after publishing one file

$
0
0

Blazor Server Appmade some changes to the navigation menu, if run locally I can see the changes, and I published successfully NavMenu.razor (right click on the file and I selected 'Publish')from Visual Studio. The changes are not reflected on the actual site and I stopped and started the app multiple times. I have added the following settings

WEBSITE_DYNAMIC_CACHE = 0WEBSITE_LOCAL_CACHE_OPTION = NeverWEBSITE_RUN_FROM_PACKAGE = 0

but to no avail.

UPDATE:According to ChatGPT

When you make changes to a Razor component in your Blazor Server application, you need to recompile and redeploy the entire application for the changes to take effect.....To deploy the modified Razor component, you should follow the regular deployment process for your Blazor Server application, which involves publishing the entire application, including the server-side code and components.

Is this correct?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>