Module AspNetCore

Provides classes for working with Microsoft.AspNetCore.Mvc.

Import path

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.

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 subtype of Microsoft.AspNetCore.Mvc.Controller or Microsoft.AspNetCore.Mvc.ControllerBase.

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.

MicrosoftAspNetCoreMvcHtmlHelperClass

The Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper class.

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.

MicrosoftAspNetCoreMvcOptions

The Microsoft.AspNetCore.Mvc.MvcOptions class.

MicrosoftAspNetCoreMvcRazorPageBase

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

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.