• CacheManager
  • Documentation
  • Api Docs
  • MichaCo.net
    Show / Hide Table of Contents

    Class Endpoint

    Configuration section for the CacheManager.

    Inheritance
    Object
    ConfigurationElement
    Endpoint
    Inherited Members
    ConfigurationElement.Init()
    ConfigurationElement.IsModified()
    ConfigurationElement.ResetModified()
    ConfigurationElement.IsReadOnly()
    ConfigurationElement.SetReadOnly()
    ConfigurationElement.ListErrors(IList)
    ConfigurationElement.InitializeDefault()
    ConfigurationElement.Reset(ConfigurationElement)
    ConfigurationElement.Equals(Object)
    ConfigurationElement.GetHashCode()
    ConfigurationElement.SetPropertyValue(ConfigurationProperty, Object, Boolean)
    ConfigurationElement.Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)
    ConfigurationElement.SerializeToXmlElement(XmlWriter, String)
    ConfigurationElement.SerializeElement(XmlWriter, Boolean)
    ConfigurationElement.DeserializeElement(XmlReader, Boolean)
    ConfigurationElement.OnRequiredPropertyNotFound(String)
    ConfigurationElement.PostDeserialize()
    ConfigurationElement.PreSerialize(XmlWriter)
    ConfigurationElement.OnDeserializeUnrecognizedAttribute(String, String)
    ConfigurationElement.OnDeserializeUnrecognizedElement(String, XmlReader)
    ConfigurationElement.GetTransformedTypeString(String)
    ConfigurationElement.GetTransformedAssemblyString(String)
    ConfigurationElement.LockAttributes
    ConfigurationElement.LockAllAttributesExcept
    ConfigurationElement.LockElements
    ConfigurationElement.LockAllElementsExcept
    ConfigurationElement.LockItem
    ConfigurationElement.Item[ConfigurationProperty]
    ConfigurationElement.Item[String]
    ConfigurationElement.Properties
    ConfigurationElement.ElementInformation
    ConfigurationElement.EvaluationContext
    ConfigurationElement.ElementProperty
    ConfigurationElement.HasContext
    ConfigurationElement.CurrentConfiguration
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:CacheManager.Redis
    Assembly:CacheManager.StackExchange.Redis.dll
    Syntax
    public sealed class Endpoint : ConfigurationElement
    Examples
    <cacheManager.redis>
      <connections>
       <connection id="redis1"
                       database="0"
                       database="113"
                       strictCompatibilityModeVersion="the redis version, e.g. 2.6, or leave null"
    
                       { connectionString="redis0:6379,redis1:6380,keepAlive=180,allowAdmin=true" }
                       OR
                       {
                          allowAdmin="true|false"
                          password=""
                          ssl="true|false"
                          sslHost="string"
                          connectionTimeout="ms"
                          twemproxyEnabled="true|false"
                       }
               >
           <endpoints>
               <endpoint host="127.0.0.1" port="6379" />
               <endpoint host="127.0.0.1" port="6380"/>
           </endpoints>
       </connection>
       <connection id="redisN">...</connection>
     <connections/>
    </cacheManager.redis>

    Properties

    | Improve this Doc View Source

    Host

    Gets or sets the host.

    Declaration
    [ConfigurationProperty("host", IsRequired = true)]
    public string Host { get; set; }
    Property Value
    Type Description
    String

    The host.

    | Improve this Doc View Source

    Port

    Gets or sets the port.

    Declaration
    [ConfigurationProperty("port", IsRequired = true)]
    public int Port { get; set; }
    Property Value
    Type Description
    Int32

    The port.

    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net