Class HostingExtensions
Namespace: Void.Proxy.Api.Extensions
Assembly: Void.Proxy.Api.dll
Provides dependency-injection registration helpers used by proxy hosts.
public static class HostingExtensionsInheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
AddJsonOptions(IServiceCollection)
Configures JSON serialization to use camel-case names, indented output, and omission of null-valued properties.
public static IServiceCollection AddJsonOptions(this IServiceCollection services)Parameters
services IServiceCollection
The service collection to configure.
Returns
The same service collection for chaining.