Add HttpContext to TOC/index page (#7735)

pull/7741/head
Luke Latham 2018-07-21 18:17:13 -05:00 committed by GitHub
parent 07e2dc83ff
commit 7926302442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 17 deletions

View File

@ -186,6 +186,12 @@ Background tasks are implemented as *hosted services*. A hosted service is a cla
For more information, see [Background tasks with hosted services](xref:fundamentals/host/hosted-services). For more information, see [Background tasks with hosted services](xref:fundamentals/host/hosted-services).
## Access HttpContext
Access the `HttpContext` through the [IHttpContextAccessor](/dotnet/api/microsoft.aspnetcore.http.ihttpcontextaccessor) interface and its default implementation [HttpContextAccessor](/dotnet/api/microsoft.aspnetcore.http.httpcontextaccessor).
For more information, see <xref:fundamentals/httpcontext>.
## Open Web Interface for .NET (OWIN) ## Open Web Interface for .NET (OWIN)
ASP.NET Core supports the Open Web Interface for .NET (OWIN). OWIN allows web apps to be decoupled from web servers. ASP.NET Core supports the Open Web Interface for .NET (OWIN). OWIN allows web apps to be decoupled from web servers.

View File

@ -113,42 +113,43 @@
## [Create backend services for mobile apps](mobile/native-mobile-backend.md) ## [Create backend services for mobile apps](mobile/native-mobile-backend.md)
# [Fundamentals](fundamentals/index.md) # [Fundamentals](xref:fundamentals/index)
## [Application startup](fundamentals/startup.md) ## [Application startup](xref:fundamentals/startup)
## [Dependency injection (services)](fundamentals/dependency-injection.md) ## [Dependency injection (services)](xref:fundamentals/dependency-injection)
## [Middleware](xref:fundamentals/middleware/index) ## [Middleware](xref:fundamentals/middleware/index)
### [Middleware](xref:fundamentals/middleware/index) ### [Middleware](xref:fundamentals/middleware/index)
### [Factory-based middleware](xref:fundamentals/middleware/extensibility) ### [Factory-based middleware](xref:fundamentals/middleware/extensibility)
### [Factory-based middleware with third-party container](xref:fundamentals/middleware/extensibility-third-party-container) ### [Factory-based middleware with third-party container](xref:fundamentals/middleware/extensibility-third-party-container)
## [Static files](fundamentals/static-files.md) ## [Static files](xref:fundamentals/static-files)
## [Routing](fundamentals/routing.md) ## [Routing](xref:fundamentals/routing)
## [URL rewriting middleware](fundamentals/url-rewriting.md) ## [URL rewriting middleware](xref:fundamentals/url-rewriting)
## [Use multiple environments](fundamentals/environments.md) ## [Use multiple environments](xref:fundamentals/environments)
## [Configuration and options](xref:fundamentals/configuration/index) ## [Configuration and options](xref:fundamentals/configuration/index)
### [Configuration](xref:fundamentals/configuration/index) ### [Configuration](xref:fundamentals/configuration/index)
### [Options](xref:fundamentals/configuration/options) ### [Options](xref:fundamentals/configuration/options)
### [Enhance an app from an external assembly](xref:fundamentals/configuration/platform-specific-configuration) ### [Enhance an app from an external assembly](xref:fundamentals/configuration/platform-specific-configuration)
## [Logging](xref:fundamentals/logging/index) ## [Logging](xref:fundamentals/logging/index)
### [Logging with LoggerMessage](xref:fundamentals/logging/loggermessage) ### [Logging with LoggerMessage](xref:fundamentals/logging/loggermessage)
## [Handle errors](fundamentals/error-handling.md) ## [Handle errors](xref:fundamentals/error-handling)
## [File providers](fundamentals/file-providers.md) ## [File providers](xref:fundamentals/file-providers)
## [Host](xref:fundamentals/host/index) ## [Host](xref:fundamentals/host/index)
### [Web Host](xref:fundamentals/host/web-host) ### [Web Host](xref:fundamentals/host/web-host)
### [Generic Host](xref:fundamentals/host/generic-host) ### [Generic Host](xref:fundamentals/host/generic-host)
### [Background tasks with hosted services](xref:fundamentals/host/hosted-services) ### [Background tasks with hosted services](xref:fundamentals/host/hosted-services)
## [Session and app state](fundamentals/app-state.md) ## [Session and app state](xref:fundamentals/app-state)
## [Servers](fundamentals/servers/index.md) ## [Servers](xref:fundamentals/servers/index)
### [Kestrel](fundamentals/servers/kestrel.md) ### [Kestrel](xref:fundamentals/servers/kestrel)
### [ASP.NET Core Module](fundamentals/servers/aspnet-core-module.md) ### [ASP.NET Core Module](xref:fundamentals/servers/aspnet-core-module)
### [HTTP.sys](fundamentals/servers/httpsys.md) ### [HTTP.sys](xref:fundamentals/servers/httpsys)
## [Globalization and localization](xref:fundamentals/localization) ## [Globalization and localization](xref:fundamentals/localization)
### [Configure Portable Object localization with Orchard Core](xref:fundamentals/portable-object-localization) ### [Configure Portable Object localization with Orchard Core](xref:fundamentals/portable-object-localization)
## [Initiate HTTP requests](xref:fundamentals/http-requests) ## [Initiate HTTP requests](xref:fundamentals/http-requests)
## [Request features](fundamentals/request-features.md) ## [Request features](xref:fundamentals/request-features)
## [Access HttpContext](xref:fundamentals/httpcontext)
## [Primitives](xref:fundamentals/primitives/index) ## [Primitives](xref:fundamentals/primitives/index)
### [Change tokens](xref:fundamentals/primitives/change-tokens) ### [Change tokens](xref:fundamentals/primitives/change-tokens)
## [Open Web Interface for .NET (OWIN)](fundamentals/owin.md) ## [Open Web Interface for .NET (OWIN)](xref:fundamentals/owin)
## [WebSockets](fundamentals/websockets.md) ## [WebSockets](xref:fundamentals/websockets)
## [Microsoft.AspNetCore.App metapackage](xref:fundamentals/metapackage-app) ## [Microsoft.AspNetCore.App metapackage](xref:fundamentals/metapackage-app)
## [Microsoft.AspNetCore.All metapackage](xref:fundamentals/metapackage) ## [Microsoft.AspNetCore.All metapackage](xref:fundamentals/metapackage)
## [Choose between .NET Core and .NET Framework](/dotnet/articles/standard/choosing-core-framework-server) ## [Choose between .NET Core and .NET Framework](/dotnet/articles/standard/choosing-core-framework-server)