To clear the cache on an Azure App Service for a Blazor wasm self-hosted application, follow these steps:
From the Azure portal, navigate to the App Service for your Blazor wasm self-hosted application.
Go to the Configuration section and then click on the Application settings link.
Scroll down to the App settings section and add a new app setting with the key name DOTNETBUNDLEEXTRACTBASEDIR and set its value to a new empty directory.
Save the changes.
Next, go to the Console section of the App Service and run the command dotnet clean
to delete all the build artifacts and cached files.
Finally, restart the App Service to ensure that all the changes take effect.
After performing these steps, the cache for your Blazor wasm self-hosted application on the Azure App Service should be cleared.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-09 17:03:29 +0000
Seen: 13 times
Last updated: May 09 '23
What are the possible situations in which microservices can fail?
How can the argument of Jest Mock Service be made assignable?
What does it mean when API Gateway gives a 503 Service Unavailable error?
How can dependency injection be implemented for classes in Stripe.Net?
What is the process of uploading files to OSS cloud service using Flutter?