Search Results for

    Show / Hide Table of Contents

    Class VersioningOptions

    global endpoint versioning options

    Inheritance
    System.Object
    VersioningOptions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FastEndpoints
    Assembly: FastEndpoints.dll
    Syntax
    public class VersioningOptions

    Properties

    DefaultVersion

    this value will be used on endpoints that does not specify a version

    Declaration
    public int DefaultVersion { set; }
    Property Value
    Type Description
    System.Int32

    Prefix

    the prefix used in front of the version (for example 'v' produces 'v{version}').

    Declaration
    public string Prefix { set; }
    Property Value
    Type Description
    System.String

    PrependToRoute

    set to true if you'd like to prefix the version to the route instead of being suffixed which is the default

    Declaration
    public bool? PrependToRoute { set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    In This Article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX