Skip to content

Add named pipes methods to Kestrel configuration loader #56565

Closed
@JamesNK

Description

Background and Motivation

Named pipes were added in .NET 8. APIs for named pipes were added across Kestrel, but they were missed on KestrelConfigurationLoader. This proposal closes that gap.

Proposed API

namespace Microsoft.AspNetCore.Server.Kestrel;

public class KestrelConfigurationLoader
{
+    public KestrelConfigurationLoader NamedPipeEndpoint(string pipeName);
+    public KestrelConfigurationLoader NamedPipeEndpoint(string pipeName, Action<ListenOptions> configure);
}

Usage Examples

Alternative Designs

Risks

Metadata

Assignees

No one assigned

    Labels

    api-approvedAPI was approved in API review, it can be implementedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions