DataWeb
Search Results for

    Show / Hide Table of Contents

    Class ServicesConfiguration

    Inheritance
    object
    ServicesConfiguration
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Data.AzureCosmosDB
    Assembly: DataWeb.Data.AzureCosmosDB.dll
    Syntax
    public static class ServicesConfiguration

    Methods

    AddDataWebDataAzureCosmosDB(IServiceCollection)

    Registers all DataWeb AzureCosmosDB data store services into the dependency injection container.

    Declaration
    public static void AddDataWebDataAzureCosmosDB(this IServiceCollection services)
    Parameters
    Type Name Description
    IServiceCollection services

    The IServiceCollection to add services to.

    AddDataWebDataAzureCosmosDBClient(IServiceCollection)

    Registers the keyed CosmosClient singleton configured from application settings.

    Declaration
    public static IServiceCollection AddDataWebDataAzureCosmosDBClient(this IServiceCollection services)
    Parameters
    Type Name Description
    IServiceCollection services

    The IServiceCollection to add the client to.

    Returns
    Type Description
    IServiceCollection

    The updated IServiceCollection.

    In this article
    Back to top Generated by DocFX