KestrelCommunicationListener KestrelCommunicationListener KestrelCommunicationListener KestrelCommunicationListener KestrelCommunicationListener Class

Definition

An AspNetCore Kestrel based communication listener for Service Fabric stateless or stateful service.

public ref class KestrelCommunicationListener : Microsoft::ServiceFabric::Services::Communication::AspNetCore::AspNetCoreCommunicationListener
[Windows::Foundation::Metadata::WebHostHidden]
class KestrelCommunicationListener : Microsoft::ServiceFabric::Services::Communication::AspNetCore::AspNetCoreCommunicationListener
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.AspNetCoreCommunicationListenerMicrosoft.ServiceFabric.Services.Communication.AspNetCore.AspNetCoreCommunicationListenerMicrosoft.ServiceFabric.Services.Communication.AspNetCore.AspNetCoreCommunicationListenerMicrosoft.ServiceFabric.Services.Communication.AspNetCore.AspNetCoreCommunicationListenerMicrosoft.ServiceFabric.Services.Communication.AspNetCore.AspNetCoreCommunicationListener
KestrelCommunicationListenerKestrelCommunicationListenerKestrelCommunicationListenerKestrelCommunicationListenerKestrelCommunicationListener

Constructors

KestrelCommunicationListener(ServiceContext, Func<String,AspNetCoreCommunicationListener,IWebHost>) KestrelCommunicationListener(ServiceContext, Func<String,AspNetCoreCommunicationListener,IWebHost>) KestrelCommunicationListener(ServiceContext, Func<String,AspNetCoreCommunicationListener,IWebHost>) KestrelCommunicationListener(ServiceContext, Func<String,AspNetCoreCommunicationListener,IWebHost>) KestrelCommunicationListener(ServiceContext, Func<String,AspNetCoreCommunicationListener,IWebHost>)

Constructs a AspNetCore Kestrel based communication listener 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,IWebHost>) KestrelCommunicationListener(ServiceContext, String, Func<String,AspNetCoreCommunicationListener,IWebHost>) KestrelCommunicationListener(ServiceContext, String, Func<String,AspNetCoreCommunicationListener,IWebHost>) KestrelCommunicationListener(ServiceContext, String, Func<String,AspNetCoreCommunicationListener,IWebHost>) KestrelCommunicationListener(ServiceContext, String, Func<String,AspNetCoreCommunicationListener,IWebHost>)

Constructs a AspNetCore Kestrel based communication listener.

Methods

GetListenerUrl() GetListenerUrl() GetListenerUrl() GetListenerUrl() 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