KestrelCommunicationListener Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An AspNetCore Kestrel based communication listener for Service Fabric stateless or stateful service.
public class KestrelCommunicationListener : Microsoft.ServiceFabric.Services.Communication.AspNetCore.AspNetCoreCommunicationListener
type KestrelCommunicationListener = class
inherit AspNetCoreCommunicationListener
Public Class KestrelCommunicationListener
Inherits AspNetCoreCommunicationListener
- Inheritance
-
Microsoft.ServiceFabric.Services.Communication.AspNetCore.AspNetCoreCommunicationListenerKestrelCommunicationListener
Constructors
KestrelCommunicationListener(ServiceContext, Func<String,AspNetCoreCommunicationListener,IHost>) |
Initializes a new instance of the KestrelCommunicationListener class using a default address with http protocol and port 0. Kestrel will dynamically bind to an unspecified, available port when port 0 is specified in url. |
KestrelCommunicationListener(ServiceContext, Func<String,AspNetCoreCommunicationListener,IWebHost>) |
Initializes a new instance of the KestrelCommunicationListener class using a default address with http protocol and port 0. Kestrel will dynamically bind to an unspecified, available port when port 0 is specified in url. |
KestrelCommunicationListener(ServiceContext, String, Func<String,AspNetCoreCommunicationListener,IHost>) |
Initializes a new instance of the KestrelCommunicationListener class. |
KestrelCommunicationListener(ServiceContext, String, Func<String,AspNetCoreCommunicationListener,IWebHost>) |
Initializes a new instance of the KestrelCommunicationListener class. |
Methods
GetListenerUrl() |
Gets url for the listener. Listener url is created using the endpointName passed in the constructor. If the endpointName was null, a default url with http protocol and port zero is returned. |
Applies to
Azure SDK for .NET