19 KiB
Introduction
Get started
Create a web app
Create a Web API
Tutorials
Create a Razor Pages web app
Get started with Razor Pages
Add a model
Scaffolded Razor Pages
SQL Server LocalDB
Update the pages
Add search
Add a new field
Add validation
Upload files
Create an MVC web app
Get started
Add a controller
Add a view
Add a model
Work with SQL Server LocalDB
Controller methods and views
Add search
Add a new field
Add validation
Examine the Details and Delete methods
Data access - Razor Pages with EF Core
Get started
Create, Read, Update, and Delete operations
Sort, filter, page, and group
Migrations
Create a complex data model
Read related data
Update related data
Handle concurrency conflicts
Data access - MVC with EF Core
Get started
Create, Read, Update, and Delete operations
Sort, filter, page, and group
Migrations
Create a complex data model
Read related data
Update related data
Handle concurrency conflicts
Inheritance
Advanced topics
Create backend services for mobile apps
Build Web APIs
Create a Web API
ASP.NET Core Web API help pages using Swagger
Create backend services for native mobile apps
Fundamentals
Application startup
Dependency injection (services)
Middleware
Work with static files
Routing
URL rewriting middleware
Work with multiple environments
Configuration and options
Configuration
Options
Logging
Logging with LoggerMessage
Error handling
File providers
Hosting
Session and app state
Servers
Kestrel
ASP.NET Core Module
HTTP.sys
Globalization and localization
Configure Portable Object localization with Orchard Core
Request features
Primitives
Change tokens
Open Web Interface for .NET (OWIN)
WebSockets
Microsoft.AspNetCore.All metapackage
Choose between .NET Core and .NET Framework
Choose between ASP.NET Core and ASP.NET
MVC
Razor Pages
Razor syntax
Route and app convention features
Model binding
Model validation
Views
Razor syntax
View compilation
Layout
Tag Helpers
Create Tag Helpers
Use Tag Helpers in forms
Built-in Tag Helpers
Anchor Tag Helper
Cache Tag Helper
Distributed Cache Tag Helper
Environment Tag Helper
Image Tag Helper
Partial views
Dependency injection into views
View components
Controllers
Route to controller actions
File uploads
Dependency injection into controllers
Test controllers
Advanced
Work with the app model
Filters
Areas
Application parts
Custom model binding
Custom formatters
Format response data
Test and debug
Unit testing
Integration testing
Razor Pages testing
Test controllers
Remote debugging
Snapshot debugging
Data access and storage
Get started with Razor Pages and Entity Framework Core using Visual Studio
Get started with ASP.NET Core and Entity Framework Core using Visual Studio
ASP.NET Core with EF Core - new database
ASP.NET Core with EF Core - existing database
Get started with ASP.NET Core and Entity Framework 6
Azure Storage
Add Azure Storage by using Visual Studio Connected Services
Get started with Blob storage and Visual Studio Connected Services
Get Started with Queue Storage and Visual Studio Connected Services
Get Started with Table Storage and Visual Studio Connected Services
Client-side development
Use Gulp
Use Grunt
Manage client-side packages with Bower
Build responsive sites with Bootstrap
Style apps with LESS, Sass, and Font Awesome
Bundle and minify
Use Browser Link
Use JavaScriptServices for SPAs
Use the SPA project templates (RC)
Angular project template
React project template
React with Redux project template
Mobile
Create backend services for native mobile apps
Host and deploy
Host on Azure App Service
Publish to Azure with Visual Studio
Publish to Azure with CLI tools
Continuous deployment to Azure with Visual Studio and Git
Continuous deployment to Azure with VSTS
Troubleshoot ASP.NET Core on Azure App Service
Host on Windows with IIS
Troubleshoot ASP.NET Core on IIS
ASP.NET Core Module configuration reference
Development-time IIS support in Visual Studio for ASP.NET Core
IIS Modules with ASP.NET Core
Host in a Windows service
Host on Linux with Nginx
Host on Linux with Apache
Host in Docker
Build Docker images
Visual Studio Tools for Docker
Publish to a Docker image
Visual Studio publish profiles
Directory structure
Common errors reference for Azure App Service and IIS
Add app features from an external assembly using IHostingStartup
Security
Authentication
Community OSS authentication options
Introduction to Identity
Configure Identity
Configure Windows Authentication
Configure primary key type for Identity
Custom storage providers for Identity
Enable authentication using Facebook, Google, and other external providers
Facebook authentication
Twitter authentication
Google authentication
Microsoft authentication
Other authentication providers
Account confirmation and password recovery
Enable QR code generation in Identity
Two-factor authentication with SMS
Use Cookie Authentication without Identity
Azure Active Directory
Integrate Azure AD Into an ASP.NET Core web app
Call a ASP.NET Core Web API from a WPF app using Azure AD
Call a Web API in an ASP.NET Core web app using Azure AD
Secure ASP.NET Core apps with IdentityServer4
Secure ASP.NET Core apps with Azure App Service authentication (Easy Auth)
Authorization
Introduction
Create an app with user data protected by authorization
Razor Pages authorization
Simple authorization
Role-based authorization
Claims-based authorization
Policy-based authorization
Dependency injection in requirement handlers
Resource-based authorization
View-based authorization
Limit identity by scheme
Data protection
Introduction to data protection
Get started with the Data Protection APIs
Consumer APIs
####Consumer APIs overview ####Purpose strings ####Purpose hierarchy and multi-tenancy ####Password hashing ####Limit the lifetime of protected payloads ####Unprotect payloads whose keys have been revoked ###Configuration ####Configure data protection ####Default settings ####Machine-wide policy ####Non-DI aware scenarios ###Extensibility APIs ####Core cryptography extensibility ####Key management extensibility ####Miscellaneous APIs ###Implementation ####Authenticated encryption details ####Subkey derivation and authenticated encryption ####Context headers ####Key management ####Key storage providers ####Key encryption at rest ####Key immutability and changing settings ####Key storage format ####Ephemeral data protection providers ###Compatibility ####Share cookies between apps ####Replace in ASP.NET