MY TESTED ASP.NET CORE MVC DOCS
Show / Hide Table of Contents

Class HttpRequestBuilderViewFeaturesExtensions

Contains Microsoft.AspNetCore.Antiforgery.IAntiforgery extension methods for IHttpRequestBuilder.

Inheritance
System.Object
HttpRequestBuilderViewFeaturesExtensions
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.ViewFeatures.dll
Syntax
public static class HttpRequestBuilderViewFeaturesExtensions

Methods

| Improve this Doc View Source

WithAntiForgeryToken(IHttpRequestBuilder)

Adds anti-forgery token to the HttpRequest.

Declaration
public static IAndHttpRequestBuilder WithAntiForgeryToken(this IHttpRequestBuilder httpRequestBuilder)
Parameters
Type Name Description
IHttpRequestBuilder httpRequestBuilder

Instance of IHttpRequestBuilder type.

Returns
Type Description
MyTested.AspNetCore.Mvc.Builders.Contracts.Http.IAndHttpRequestBuilder

The same IHttpRequestBuilder.

  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX