File: TempData\TempDataProviderType.cs
Web Access
Project: src\src\Components\Endpoints\src\Microsoft.AspNetCore.Components.Endpoints.csproj (Microsoft.AspNetCore.Components.Endpoints)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Components.Endpoints;
 
/// <summary>
/// Specifies the storage provider for TempData.
/// </summary>
public enum TempDataProviderType
{
    /// <summary>
    /// Store TempData in cookies (default).
    /// </summary>
    Cookie = 0,
 
    /// <summary>
    /// Store TempData in browser session storage.
    /// </summary>
    SessionStorage = 1,
}