Click or drag to resize

Neon.Service Namespace

This namespace defines types used to describe an application service.
Classes
  ClassDescription
Public classNeonServiceMap
Holds more detailed information describing the Neon cluster services. This a ServiceMap keyed by the service names defined in NeonServices and the class also has properties named for each service you can use as a shortcut.
Public classNeonServices
Defines the Neon service names.
Public classServiceApiContact
Holds the contact information for a service API. This maps closely to the Microsoft.OpenApi.Models.OpenApiContact class.
Public classServiceApiInfo

Human readable metadata for a service API. This maps pretty closely to the Microsoft.OpenApi.Models.OpenApiInfo class which is used to by Swagger when generating ASP.NET documentation.

Note Note
We're not referencing the Microsoft.OpenApi nuget package to avoid adding about 166KB to applications using the Neon.Common assembly.f
Public classServiceApiLicense
Holds the license information for a service API. This maps closely to the Microsoft.OpenApi.Models.OpenApiLicense class.
Public classServiceDescription
Describes a remote service.
Public classServiceEndpoint
Describes a network endpoint for remote service.
Public classServiceEndpoints
Holds the endpoint definitions for a service.
Public classServiceMap
Describes a collection of services deployed to Kubernetes or that run in a simulated unit test environment. This is simply a dictionary mapping case sensitive service names to ServiceDescription records for each service.
Enumerations
  EnumerationDescription
Public enumerationServiceEndpointProtocol
Enumerats the network protocols that can be implemented by a ServiceEndpoint.