289 lines
19 KiB
Markdown
289 lines
19 KiB
Markdown
# [Introduction](index.md)
|
|
|
|
# [Get started](getting-started.md)
|
|
## [Create a web app](xref:mvc/razor-pages/index)
|
|
## [Create a Web API](xref:tutorials/first-web-api)
|
|
|
|
# [Tutorials](tutorials/index.md)
|
|
## [Create a Razor Pages web app](xref:tutorials/razor-pages/index)
|
|
### [Get started with Razor Pages](xref:tutorials/razor-pages/razor-pages-start)
|
|
### [Add a model](xref:tutorials/razor-pages/model)
|
|
### [Scaffolded Razor Pages](xref:tutorials/razor-pages/page)
|
|
### [SQL Server LocalDB](xref:tutorials/razor-pages/sql)
|
|
### [Update the pages](xref:tutorials/razor-pages/da1)
|
|
### [Add search](xref:tutorials/razor-pages/search)
|
|
### [Add a new field](xref:tutorials/razor-pages/new-field)
|
|
### [Add validation](xref:tutorials/razor-pages/validation)
|
|
### [Upload files](xref:tutorials/razor-pages/uploading-files)
|
|
## [Create an MVC web app](tutorials/first-mvc-app/index.md)
|
|
### [Get started](tutorials/first-mvc-app/start-mvc.md)
|
|
### [Add a controller](tutorials/first-mvc-app/adding-controller.md)
|
|
### [Add a view](tutorials/first-mvc-app/adding-view.md)
|
|
### [Add a model](tutorials/first-mvc-app/adding-model.md)
|
|
### [Work with SQL Server LocalDB](tutorials/first-mvc-app/working-with-sql.md)
|
|
### [Controller methods and views](tutorials/first-mvc-app/controller-methods-views.md)
|
|
### [Add search](tutorials/first-mvc-app/search.md)
|
|
### [Add a new field](tutorials/first-mvc-app/new-field.md)
|
|
### [Add validation](tutorials/first-mvc-app/validation.md)
|
|
### [Examine the Details and Delete methods](tutorials/first-mvc-app/details.md)
|
|
|
|
## [Data access - Razor Pages with EF Core](xref:data/index)
|
|
### [Get started](xref:data/ef-rp/intro)
|
|
### [Create, Read, Update, and Delete operations](xref:data/ef-rp/crud)
|
|
### [Sort, filter, page, and group](xref:data/ef-rp/sort-filter-page)
|
|
### [Migrations](xref:data/ef-rp/migrations)
|
|
### [Create a complex data model](xref:data/ef-rp/complex-data-model)
|
|
### [Read related data](xref:data/ef-rp/read-related-data)
|
|
### [Update related data](xref:data/ef-rp/update-related-data)
|
|
### [Handle concurrency conflicts](xref:data/ef-rp/concurrency)
|
|
|
|
## [Data access - MVC with EF Core](data/ef-mvc/index.md)
|
|
### [Get started](data/ef-mvc/intro.md)
|
|
### [Create, Read, Update, and Delete operations](data/ef-mvc/crud.md)
|
|
### [Sort, filter, page, and group](data/ef-mvc/sort-filter-page.md)
|
|
### [Migrations](data/ef-mvc/migrations.md)
|
|
### [Create a complex data model](data/ef-mvc/complex-data-model.md)
|
|
### [Read related data](data/ef-mvc/read-related-data.md)
|
|
### [Update related data](data/ef-mvc/update-related-data.md)
|
|
### [Handle concurrency conflicts](data/ef-mvc/concurrency.md)
|
|
### [Inheritance](data/ef-mvc/inheritance.md)
|
|
### [Advanced topics](data/ef-mvc/advanced.md)
|
|
|
|
## [Create backend services for mobile apps](mobile/native-mobile-backend.md)
|
|
## [Build Web APIs](mvc/web-api/index.md)
|
|
## [Create a Web API](xref:tutorials/first-web-api-mac)
|
|
### [ASP.NET Core Web API help pages using Swagger](tutorials/web-api-help-pages-using-swagger.md)
|
|
### [Create backend services for native mobile apps](mobile/native-mobile-backend.md)
|
|
|
|
# [Fundamentals](fundamentals/index.md)
|
|
## [Application startup](fundamentals/startup.md)
|
|
## [Dependency injection (services)](fundamentals/dependency-injection.md)
|
|
## [Middleware](fundamentals/middleware.md)
|
|
## [Work with static files](fundamentals/static-files.md)
|
|
## [Routing](fundamentals/routing.md)
|
|
## [URL rewriting middleware](fundamentals/url-rewriting.md)
|
|
## [Work with multiple environments](fundamentals/environments.md)
|
|
## [Configuration and options](xref:fundamentals/configuration/index)
|
|
### [Configuration](xref:fundamentals/configuration/index)
|
|
### [Options](xref:fundamentals/configuration/options)
|
|
## [Logging](xref:fundamentals/logging/index)
|
|
### [Logging with LoggerMessage](xref:fundamentals/logging/loggermessage)
|
|
## [Error handling](fundamentals/error-handling.md)
|
|
## [File providers](fundamentals/file-providers.md)
|
|
## [Hosting](fundamentals/hosting.md)
|
|
## [Session and app state](fundamentals/app-state.md)
|
|
## [Servers](fundamentals/servers/index.md)
|
|
### [Kestrel](fundamentals/servers/kestrel.md)
|
|
### [ASP.NET Core Module](fundamentals/servers/aspnet-core-module.md)
|
|
### [HTTP.sys](fundamentals/servers/httpsys.md)
|
|
## [Globalization and localization](xref:fundamentals/localization)
|
|
### [Configure Portable Object localization with Orchard Core](xref:fundamentals/portable-object-localization)
|
|
## [Request features](fundamentals/request-features.md)
|
|
## [Primitives](xref:fundamentals/primitives/index)
|
|
### [Change tokens](xref:fundamentals/primitives/change-tokens)
|
|
## [Open Web Interface for .NET (OWIN)](fundamentals/owin.md)
|
|
## [WebSockets](fundamentals/websockets.md)
|
|
## [Microsoft.AspNetCore.All metapackage](xref:fundamentals/metapackage)
|
|
## [Choose between .NET Core and .NET Framework](/dotnet/articles/standard/choosing-core-framework-server)
|
|
## [Choose between ASP.NET Core and ASP.NET](choose-aspnet-framework.md)
|
|
|
|
# [MVC](mvc/overview.md)
|
|
## [Razor Pages](xref:mvc/razor-pages/index)
|
|
### [Razor syntax](mvc/views/razor.md)
|
|
### [Route and app convention features](xref:mvc/razor-pages/razor-pages-convention-features)
|
|
## [Model binding](mvc/models/model-binding.md)
|
|
### [Model validation](mvc/models/validation.md)
|
|
## [Views](mvc/views/overview.md)
|
|
### [Razor syntax](mvc/views/razor.md)
|
|
### [View compilation](mvc/views/view-compilation.md)
|
|
### [Layout](mvc/views/layout.md)
|
|
### [Tag Helpers](mvc/views/tag-helpers/intro.md)
|
|
#### [Create Tag Helpers](mvc/views/tag-helpers/authoring.md)
|
|
#### [Use Tag Helpers in forms](mvc/views/working-with-forms.md)
|
|
#### [Built-in Tag Helpers](mvc/views/tag-helpers/built-in/index.md)
|
|
##### [Anchor Tag Helper](mvc/views/tag-helpers/built-in/anchor-tag-helper.md)
|
|
##### [Cache Tag Helper](mvc/views/tag-helpers/built-in/cache-tag-helper.md)
|
|
##### [Distributed Cache Tag Helper](mvc/views/tag-helpers/built-in/distributed-cache-tag-helper.md)
|
|
##### [Environment Tag Helper](mvc/views/tag-helpers/built-in/environment-tag-helper.md)
|
|
##### [Image Tag Helper](mvc/views/tag-helpers/built-in/image-tag-helper.md)
|
|
### [Partial views](mvc/views/partial.md)
|
|
### [Dependency injection into views](mvc/views/dependency-injection.md)
|
|
### [View components](mvc/views/view-components.md)
|
|
## [Controllers](mvc/controllers/actions.md)
|
|
### [Route to controller actions](mvc/controllers/routing.md)
|
|
### [File uploads](mvc/models/file-uploads.md)
|
|
### [Dependency injection into controllers](mvc/controllers/dependency-injection.md)
|
|
### [Test controllers](mvc/controllers/testing.md)
|
|
## [Advanced](mvc/advanced/index.md)
|
|
### [Work with the app model](mvc/controllers/application-model.md)
|
|
### [Filters](mvc/controllers/filters.md)
|
|
### [Areas](mvc/controllers/areas.md)
|
|
### [Application parts](mvc/advanced/app-parts.md)
|
|
### [Custom model binding](mvc/advanced/custom-model-binding.md)
|
|
### [Custom formatters](mvc/advanced/custom-formatters.md)
|
|
### [Format response data](mvc/models/formatting.md)
|
|
|
|
# [Test and debug](xref:testing/index)
|
|
## [Unit testing](/dotnet/articles/core/testing/unit-testing-with-dotnet-test)
|
|
## [Integration testing](xref:testing/integration-testing)
|
|
## [Razor Pages testing](xref:testing/razor-pages-testing)
|
|
## [Test controllers](xref:mvc/controllers/testing)
|
|
## [Remote debugging](/visualstudio/debugger/remote-debugging-azure)
|
|
## [Snapshot debugging](/azure/application-insights/app-insights-snapshot-debugger)
|
|
|
|
# [Data access and storage](data/index.md)
|
|
## [Get started with Razor Pages and Entity Framework Core using Visual Studio](xref:data/ef-rp/intro)
|
|
## [Get started with ASP.NET Core and Entity Framework Core using Visual Studio](data/ef-mvc/index.md)
|
|
## [ASP.NET Core with EF Core - new database](https://docs.microsoft.com/ef/core/get-started/aspnetcore/new-db)
|
|
## [ASP.NET Core with EF Core - existing database](https://docs.microsoft.com/ef/core/get-started/aspnetcore/existing-db)
|
|
## [Get started with ASP.NET Core and Entity Framework 6](data/entity-framework-6.md)
|
|
## [Azure Storage](data/azure-storage/index.md)
|
|
### [Add Azure Storage by using Visual Studio Connected Services](https://azure.microsoft.com/documentation/articles/vs-azure-tools-connected-services-storage/)
|
|
### [Get started with Blob storage and Visual Studio Connected Services](https://azure.microsoft.com/documentation/articles/vs-storage-aspnet5-getting-started-blobs/)
|
|
### [Get Started with Queue Storage and Visual Studio Connected Services](https://azure.microsoft.com/documentation/articles/vs-storage-aspnet5-getting-started-queues/)
|
|
### [Get Started with Table Storage and Visual Studio Connected Services](https://azure.microsoft.com/documentation/articles/vs-storage-aspnet5-getting-started-tables/)
|
|
|
|
# [Client-side development](xref:client-side/index)
|
|
## [Use Gulp](xref:client-side/using-gulp)
|
|
## [Use Grunt](xref:client-side/using-grunt)
|
|
## [Manage client-side packages with Bower](xref:client-side/bower)
|
|
## [Build responsive sites with Bootstrap](xref:client-side/bootstrap)
|
|
## [Style apps with LESS, Sass, and Font Awesome](xref:client-side/less-sass-fa)
|
|
## [Bundle and minify](xref:client-side/bundling-and-minification)
|
|
## [Use Browser Link](xref:client-side/using-browserlink)
|
|
## [Use JavaScriptServices for SPAs](xref:client-side/spa-services)
|
|
## [Use the SPA project templates (RC)](xref:spa/index)
|
|
### [Angular project template](xref:spa/angular)
|
|
### [React project template](xref:spa/react)
|
|
### [React with Redux project template](xref:spa/react-with-redux)
|
|
|
|
# [Mobile](xref:mobile/index)
|
|
## [Create backend services for native mobile apps](xref:mobile/native-mobile-backend)
|
|
|
|
# [Host and deploy](xref:host-and-deploy/index)
|
|
## [Host on Azure App Service](xref:host-and-deploy/azure-apps/index)
|
|
### [Publish to Azure with Visual Studio](xref:tutorials/publish-to-azure-webapp-using-vs)
|
|
### [Publish to Azure with CLI tools](xref:tutorials/publish-to-azure-webapp-using-cli)
|
|
### [Continuous deployment to Azure with Visual Studio and Git](xref:host-and-deploy/azure-apps/azure-continuous-deployment)
|
|
### [Continuous deployment to Azure with VSTS](https://www.visualstudio.com/docs/build/aspnet/core/quick-to-azure)
|
|
### [Troubleshoot ASP.NET Core on Azure App Service](xref:host-and-deploy/azure-apps/troubleshoot)
|
|
## [Host on Windows with IIS](xref:host-and-deploy/iis/index)
|
|
### [Troubleshoot ASP.NET Core on IIS](xref:host-and-deploy/iis/troubleshoot)
|
|
### [ASP.NET Core Module configuration reference](xref:host-and-deploy/aspnet-core-module)
|
|
### [Development-time IIS support in Visual Studio for ASP.NET Core](xref:host-and-deploy/iis/development-time-iis-support)
|
|
### [IIS Modules with ASP.NET Core](xref:host-and-deploy/iis/modules)
|
|
## [Host in a Windows service](xref:host-and-deploy/windows-service)
|
|
## [Host on Linux with Nginx](xref:host-and-deploy/linux-nginx)
|
|
## [Host on Linux with Apache](xref:host-and-deploy/linux-apache)
|
|
## [Host in Docker](xref:host-and-deploy/docker/index)
|
|
### [Build Docker images](/dotnet/articles/core/docker/building-net-docker-images)
|
|
### [Visual Studio Tools for Docker](xref:host-and-deploy/docker/visual-studio-tools-for-docker)
|
|
### [Publish to a Docker image](https://azure.microsoft.com/documentation/articles/vs-azure-tools-docker-hosting-web-apps-in-docker/)
|
|
## [Visual Studio publish profiles](xref:host-and-deploy/visual-studio-publish-profiles)
|
|
## [Directory structure](xref:host-and-deploy/directory-structure)
|
|
## [Common errors reference for Azure App Service and IIS](xref:host-and-deploy/azure-iis-errors-reference)
|
|
## [Add app features from an external assembly using IHostingStartup](xref:host-and-deploy/ihostingstartup)
|
|
|
|
# [Security](xref:security/index)
|
|
## [Authentication](xref:security/authentication/index)
|
|
### [Community OSS authentication options](xref:security/authentication/community)
|
|
### [Introduction to Identity](xref:security/authentication/identity)
|
|
### [Configure Identity](xref:security/authentication/identity-configuration)
|
|
### [Configure Windows Authentication](xref:security/authentication/windowsauth)
|
|
### [Configure primary key type for Identity](xref:security/authentication/identity-primary-key-configuration)
|
|
### [Custom storage providers for Identity](xref:security/authentication/identity-custom-storage-providers)
|
|
### [Enable authentication using Facebook, Google, and other external providers](xref:security/authentication/social/index)
|
|
#### [Facebook authentication](xref:security/authentication/facebook-logins)
|
|
#### [Twitter authentication](xref:security/authentication/twitter-logins)
|
|
#### [Google authentication](xref:security/authentication/google-logins)
|
|
#### [Microsoft authentication](xref:security/authentication/microsoft-logins)
|
|
#### [Other authentication providers](xref:security/authentication/otherlogins)
|
|
### [Account confirmation and password recovery](xref:security/authentication/accconfirm)
|
|
### [Enable QR code generation in Identity](xref:security/authentication/identity-enable-qrcodes)
|
|
### [Two-factor authentication with SMS](xref:security/authentication/2fa)
|
|
### [Use Cookie Authentication without Identity](xref:security/authentication/cookie)
|
|
### [Azure Active Directory](xref:security/authentication/azure-active-directory/index)
|
|
#### [Integrate Azure AD Into an ASP.NET Core web app](https://azure.microsoft.com/documentation/samples/active-directory-dotnet-webapp-openidconnect-aspnetcore/)
|
|
#### [Call a ASP.NET Core Web API from a WPF app using Azure AD](https://azure.microsoft.com/documentation/samples/active-directory-dotnet-native-aspnetcore/)
|
|
#### [Call a Web API in an ASP.NET Core web app using Azure AD](https://azure.microsoft.com/documentation/samples/active-directory-dotnet-webapp-webapi-openidconnect-aspnetcore/)
|
|
### [Secure ASP.NET Core apps with IdentityServer4](https://identityserver4.readthedocs.io/)
|
|
### [Secure ASP.NET Core apps with Azure App Service authentication (Easy Auth)](https://docs.microsoft.com/azure/app-service/app-service-authentication-overview)
|
|
## [Authorization](xref:security/authorization/index)
|
|
### [Introduction](xref:security/authorization/introduction)
|
|
### [Create an app with user data protected by authorization](xref:security/authorization/secure-data)
|
|
### [Razor Pages authorization](xref:security/authorization/razor-pages-authorization)
|
|
### [Simple authorization](xref:security/authorization/simple)
|
|
### [Role-based authorization](xref:security/authorization/roles)
|
|
### [Claims-based authorization](xref:security/authorization/claims)
|
|
### [Policy-based authorization](xref:security/authorization/policies)
|
|
### [Dependency injection in requirement handlers](xref:security/authorization/dependencyinjection)
|
|
### [Resource-based authorization](xref:security/authorization/resourcebased)
|
|
### [View-based authorization](xref:security/authorization/views)
|
|
### [Limit identity by scheme](xref:security/authorization/limitingidentitybyscheme)
|
|
## [Data protection](xref:security/data-protection/index)
|
|
### [Introduction to data protection](xref:security/data-protection/introduction)
|
|
### [Get started with the Data Protection APIs](xref:security/data-protection/using-data-protection)
|
|
### [Consumer APIs](xref:security/data-protection/consumer-apis/index)
|
|
####[Consumer APIs overview](xref:security/data-protection/consumer-apis/overview)
|
|
####[Purpose strings](xref:security/data-protection/consumer-apis/purpose-strings)
|
|
####[Purpose hierarchy and multi-tenancy](xref:security/data-protection/consumer-apis/purpose-strings-multitenancy)
|
|
####[Password hashing](xref:security/data-protection/consumer-apis/password-hashing)
|
|
####[Limit the lifetime of protected payloads](xref:security/data-protection/consumer-apis/limited-lifetime-payloads)
|
|
####[Unprotect payloads whose keys have been revoked](xref:security/data-protection/consumer-apis/dangerous-unprotect)
|
|
###[Configuration](xref:security/data-protection/configuration/index)
|
|
####[Configure data protection](xref:security/data-protection/configuration/overview)
|
|
####[Default settings](xref:security/data-protection/configuration/default-settings)
|
|
####[Machine-wide policy](xref:security/data-protection/configuration/machine-wide-policy)
|
|
####[Non-DI aware scenarios](xref:security/data-protection/configuration/non-di-scenarios)
|
|
###[Extensibility APIs](xref:security/data-protection/extensibility/index)
|
|
####[Core cryptography extensibility](xref:security/data-protection/extensibility/core-crypto)
|
|
####[Key management extensibility](xref:security/data-protection/extensibility/key-management)
|
|
####[Miscellaneous APIs](xref:security/data-protection/extensibility/misc-apis)
|
|
###[Implementation](xref:security/data-protection/implementation/index)
|
|
####[Authenticated encryption details](xref:security/data-protection/implementation/authenticated-encryption-details)
|
|
####[Subkey derivation and authenticated encryption](xref:security/data-protection/implementation/subkeyderivation)
|
|
####[Context headers](xref:security/data-protection/implementation/context-headers)
|
|
####[Key management](xref:security/data-protection/implementation/key-management)
|
|
####[Key storage providers](xref:security/data-protection/implementation/key-storage-providers)
|
|
####[Key encryption at rest](xref:security/data-protection/implementation/key-encryption-at-rest)
|
|
####[Key immutability and changing settings](xref:security/data-protection/implementation/key-immutability)
|
|
####[Key storage format](xref:security/data-protection/implementation/key-storage-format)
|
|
####[Ephemeral data protection providers](xref:security/data-protection/implementation/key-storage-ephemeral)
|
|
###[Compatibility](xref:security/data-protection/compatibility/index)
|
|
####[Share cookies between apps](xref:security/data-protection/compatibility/cookie-sharing)
|
|
####[Replace <machineKey> in ASP.NET](xref:security/data-protection/compatibility/replacing-machinekey)
|
|
## [Enforce SSL](xref:security/enforcing-ssl)
|
|
## [Safe storage of app secrets during development](xref:security/app-secrets)
|
|
## [Azure Key Vault configuration provider](xref:security/key-vault-configuration)
|
|
## [Anti-request forgery](xref:security/anti-request-forgery)
|
|
## [Prevent open redirect attacks](xref:security/preventing-open-redirects)
|
|
## [Prevent Cross-Site Scripting](xref:security/cross-site-scripting)
|
|
## [Enable Cross-Origin Requests (CORS)](xref:security/cors)
|
|
|
|
# [Performance](xref:performance/index)
|
|
## [Caching](xref:performance/caching/index)
|
|
### [In-memory caching](xref:performance/caching/memory)
|
|
### [Work with a distributed cache](xref:performance/caching/distributed)
|
|
### [Response caching](xref:performance/caching/response)
|
|
### [Response caching middleware](xref:performance/caching/middleware)
|
|
## [Response compression middleware](xref:performance/response-compression)
|
|
|
|
# [Migration](xref:migration/index)
|
|
## [ASP.NET to ASP.NET Core 1.x](xref:migration/mvc)
|
|
### [Configuration](xref:migration/configuration)
|
|
### [Authentication and Identity](xref:migration/identity)
|
|
### [Web API](xref:migration/webapi)
|
|
### [HTTP modules to middleware](xref:migration/http-modules)
|
|
## [ASP.NET to ASP.NET Core 2.0](xref:migration/proper-to-2x/index)
|
|
## [ASP.NET Core 1.x to 2.0](xref:migration/1x-to-2x/index)
|
|
### [Authentication and Identity](xref:migration/1x-to-2x/identity-2x)
|
|
|
|
# [API Reference](https://docs.microsoft.com/dotnet/api/?view=aspnetcore-2.0)
|
|
|
|
# [2.0 release notes](aspnetcore-2.0.md)
|
|
## [1.1 release notes](aspnetcore-1.1.md)
|
|
## [Earlier release notes](https://github.com/aspnet/home/releases)
|
|
## [VS 2015/project.json docs](https://docs.microsoft.com/dotnet/articles/project-json)
|
|
|
|
# [Contribute](https://github.com/aspnet/Docs/blob/master/CONTRIBUTING.md)
|