'How to change the favicon in Blazor webassembly app?

I am working on a blazor app and I need to change the title and the favicon of the app, I could change the title successfully but the favicon it's not working, I am using mudblazor, declearing the head elements using mudblazorPage title working but favicon just not shown up while inspecting the page I can see that it's reading the html element and I am sure about the icon directory but still not workingInspect page on chrome

Tried to modify the index.html in the wwwroot but did'nt work



Solution 1:[1]

Try href="favicon.ico"

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Surinder Singh