From 28e23a9ebee6fe20e72bb736ebfe34ac6398c96f Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Thu, 16 Feb 2017 18:10:56 -1000 Subject: [PATCH] make cookie a link (#2792) --- aspnetcore/fundamentals/app-state.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/fundamentals/app-state.md b/aspnetcore/fundamentals/app-state.md index cdb4921816..e7bc2e2f52 100644 --- a/aspnetcore/fundamentals/app-state.md +++ b/aspnetcore/fundamentals/app-state.md @@ -38,9 +38,9 @@ See [Configuring Session](#configuring-session) below for more details. ASP.NET Core MVC exposes the [TempData](https://docs.microsoft.com/en-us/aspnet/core/api/microsoft.aspnetcore.mvc.controller#Microsoft_AspNetCore_Mvc_Controller_TempData) property on a [Controller](https://docs.microsoft.com/en-us/aspnet/core/api/microsoft.aspnetcore.mvc.controller). `TempData` can be used for storing transient data that only needs to be available for a single request after the current request. `TempData` is frequently useful for redirection, when data is needed for more than a single request. `TempData` is built on top of Session State. -### Cookie-based TempData provider (requires ASP.NET Core 1.1.0 and higher) +## Cookie-based TempData provider -To enable the Cookie-based TempData provider, register the `CookieTempDataProvider` service in `ConfigureServices`: +The Cookie-based TempData provider requires ASP.NET Core 1.1.0 or higher. To enable the Cookie-based TempData provider, register the `CookieTempDataProvider` service in `ConfigureServices`: ```csharp public void ConfigureServices(IServiceCollection services)