KestrunHost.AddFavicon method
Adds a favicon middleware to the application.
public KestrunHost AddFavicon(string? iconPath = null)
| parameter | description |
|---|---|
| iconPath | The path to the favicon file. If null, uses the default favicon. |
Return Value
The current KestrunHost instance.
See Also
- class KestrunHost
- namespace Kestrun.Hosting