Add-KrFaviconMiddleware

SYNOPSIS

Adds a favicon to the Kestrun server.

SYNTAX

__AllParameterSets

Add-KrFaviconMiddleware [[-IconPath] <string>] [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

This cmdlet allows you to register a favicon for the Kestrun server. It can be used to set a custom favicon for the server’s web interface.

EXAMPLES

EXAMPLE 1

Add-KrFaviconMiddleware -IconPath ‘C:\path\to\favicon.ico’ This example adds a custom favicon to the server from the specified path.

EXAMPLE 2

Add-KrFaviconMiddleware This example adds the default embedded favicon to the server.

PARAMETERS

-IconPath

The path to the favicon file. If not specified, a default embedded favicon will be used.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Kestrun.Hosting.KestrunHost

{{ Fill in the Description }}

NOTES

This cmdlet is used to register a favicon for the Kestrun server, allowing you to set a custom favicon for the server’s web interface. If no icon path is specified, the default embedded favicon will be used.

{{ Fill in the related links here }}