CodeQL library for C#
codeql/csharp-all 0.9.0 (changelog, source)
Search

Module AspNetCore

Provides classes for working with Microsoft.AspNetCore.Mvc.

Import path

import semmle.code.csharp.frameworks.microsoft.AspNetCore

Imports

Microsoft

Provides definitions related to the namespace Microsoft.

csharp

The default C# QL library.

Classes

AntiForgeryClass

The Microsoft.AspNetCore.DefaultAntiForgery class, or another user-supplied class that implements IAntiForgery.

AuthorizationFilterClass

An authorization filter class defined by AspNetCore or the user.

MicrosoftAspNetCoreAntiforgeryNamespace

The Microsoft.AspNetCore.Antiforgery namespace.

MicrosoftAspNetCoreAuthenticationCookiesCookieAuthenticationOptions

The Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions class.

MicrosoftAspNetCoreBuilderCookiePolicyAppBuilderExtensions

The Microsoft.AspNetCore.Builder.CookiePolicyAppBuilderExtensions class.

MicrosoftAspNetCoreBuilderCookiePolicyOptions

The Microsoft.AspNetCore.Builder.CookiePolicyOptions class.

MicrosoftAspNetCoreBuilderEndpointRouteBuilderExtensions

The Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions class.

MicrosoftAspNetCoreCookiePolicyAppendCookieContext

The Microsoft.AspNetCore.CookiePolicy.AppendCookieContext class.

MicrosoftAspNetCoreHttpCookieBuilder

The Microsoft.AspNetCore.Http.CookieBuilder class.

MicrosoftAspNetCoreHttpCookieOptions

The Microsoft.AspNetCore.Http.CookieOptions class.

MicrosoftAspNetCoreHttpHeaderDictionaryExtensions

The Microsoft.AspNetCore.Http.HeaderDictionaryExtensions class.

MicrosoftAspNetCoreHttpHtmlString

The Microsoft.AspNetCore.Html.HtmlString class, supposed to wrap HTML-encoded string in ASP.NET Core Untrusted and unsanitized data should never flow there.

MicrosoftAspNetCoreHttpHttpRequest

A class deriving from Microsoft.AspNetCore.Http.HttpRequest, implements HttpRequest in ASP.NET Core.

MicrosoftAspNetCoreHttpHttpResponse

A class deriving from Microsoft.AspNetCore.Http.HttpResponse, implements HttpResponse in ASP.NET Core.

MicrosoftAspNetCoreHttpQueryCollection

A class or interface implementing IQueryCollection, holds parsed query string in ASP.NET Core.

MicrosoftAspNetCoreHttpQueryString

The class Microsoft.AspNetCore.Http.QueryString, holds query string in ASP.NET Core.

MicrosoftAspNetCoreHttpResponseCookies

An interface that is a wrapper around the collection of cookies in the response.

MicrosoftAspNetCoreHttpResponseHeaders

The helper class ResponseHeaders for setting headers.

MicrosoftAspNetCoreIAntiForgeryInterface

The Microsoft.AspNetCore.IAntiforgery interface.

MicrosoftAspNetCoreIAuthorizationFilterInterface

The Microsoft.AspNetCore.IAuthorizationFilter interface.

MicrosoftAspNetCoreMvcAttribute

An attribute whose type is in the Microsoft.AspNetCore.Mvc namespace.

MicrosoftAspNetCoreMvcController

A valid ASP.NET Core controller according to: https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/actions?view=aspnetcore-3.1 https://github.com/dotnet/aspnetcore/blob/b3c93967ba508b8ef139add27132d9483c1a9eb4/src/Mvc/Mvc.Core/src/Controllers/ControllerFeatureProvider.cs#L39-L75

MicrosoftAspNetCoreMvcControllerBaseClass

The base class for controllers in MVC, i.e. Microsoft.AspNetCore.Mvc.Controller or Microsoft.AspNetCore.Mvc.ControllerBase class.

MicrosoftAspNetCoreMvcFilterCollection

The Microsoft.AspNetCore.Mvc.Filters.FilterCollection class.

MicrosoftAspNetCoreMvcFilters

The Microsoft.AspNetCore.Mvc.Filters namespace.

MicrosoftAspNetCoreMvcHttpDeleteAttribute

A Microsoft.AspNetCore.Mvc.HttpDelete attribute.

MicrosoftAspNetCoreMvcHttpPostAttribute

A Microsoft.AspNetCore.Mvc.HttpPost attribute.

MicrosoftAspNetCoreMvcHttpPutAttribute

A Microsoft.AspNetCore.Mvc.HttpPut attribute.

MicrosoftAspNetCoreMvcIFilterMetadataInterface

The Microsoft.AspNetCore.Mvc.Filters.IFilterMetadataInterface interface.

MicrosoftAspNetCoreMvcNamespace

The Microsoft.AspNetCore.Mvc namespace.

MicrosoftAspNetCoreMvcNonActionAttribute

A Microsoft.AspNetCore.Mvc.NonAction attribute.

MicrosoftAspNetCoreMvcNonControllerAttribute

A Microsoft.AspNetCore.Mvc.NonController attribute.

MicrosoftAspNetCoreMvcOptions

The Microsoft.AspNetCore.Mvc.MvcOptions class.

MicrosoftAspNetCoreMvcRazorPageBase

A class deriving from Microsoft.AspNetCore.Mvc.Razor.RazorPageBase, implements Razor page in ASPNET Core.

MicrosoftAspNetCoreMvcRendering

The ‘Microsoft.AspNetCore.Mvc.Rendering’ namespace.

MicrosoftAspNetCoreMvcRenderingIHtmlHelperInterface

The Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper interface.

MicrosoftAspNetCoreMvcViewFeatures

The ‘Microsoft.AspNetCore.Mvc.ViewFeatures’ namespace.

MicrosoftAspNetCoreNamespace

The Microsoft.AspNetCore namespace.

ValidateAntiForgeryAttribute

An attribute whose type has a name like [Auto...]Validate[...]Anti[Ff]orgery[...Token]Attribute.

ValidateAntiforgeryTokenAuthorizationFilter

A class that has a name like [Auto...]Validate[...]Anti[Ff]orgery[...Token] and implements IFilterMetadata interface This class can be added to a collection of global MvcOptions.Filters collection.