I am currently working on Outlook Add-in, that is .NET 8 Blazor server SPA app. Yesterday morning I updated my changes to the server hosting my blazor app including changes in functions.js file. After loading the Add-in in Outlook desktop client I found out, that function.js was not updated (reloaded) and blazor app cannot find new js functions. I search for solution (clear outlook cache, set asp-append-version="true" TAG to version my file) but nothing worked. In Outlook on web everything is fine, file function.js is up to date. Only solution I found was to place string path to my js file to configuration file and load it from there and change the file name to something else (functions_1.js). Does someone know about more “Systems Approach”?
↧