Where do I change the icon and application name that shows up in the browser?
The icon is in server/wwwroot folder - you can simply replace it.
Thanks. Is there a way to change the name on the tab as well? right now it shows the project name, but I want to be able to configure it
Hi @kgordon
See how it was done in the demo:
https://github.com/akorchev/blazor.radzen.com
And can also be used to dynamically change:
Use JS:
window.setTitle = function(title) { document.title = title; };
And call:
private readonly IJSRuntime _js; private async Task setTitle(string title) { await _js.InvokeVoidAsync("setTitle", title); }
The text of the tab is controlled by the content of the <title>
element of your web page. It is set in the server\Pages\_Host.cshtml
file from the application name. To change it you need to add that file to Radzen's code generation ignore list.