Duration
5 days
Outline
- Getting started by ASP.NET Core
- An introduction to ASP.NET Core 6
- When to choose ASP.NET Core
- How does ASP.NET Core work?
- Choosing a platform for ASP.NET Core
- Preparing your development environment
- Your First Application
- A brief overview of an ASP.NET Core application
- Creating your first ASP.NET Core application
- Running the web application
- Understanding the project layout
- The csproj project file: defining your dependencies
- MVC middleware and the home controller
- Generating HTML with Razor template views
- Handling requests with the middleware pipeline
- What is middleware?
- Combining middleware in a pipeline
- Handling errors using middleware
- Creating web pages with MVC controllers
- An introduction to MVC
- MVC controllers and action methods
- Mapping URLs to methods using conventional routing
- What is routing?
- Routing to MVC controllers and actions
- Routing using conventions
- Handing multiple matching actions for a route
- Generating URLs from route parameters
- The binding model: retrieving and validating user input
- Understanding the M in MVC
- From request to model: making the request useful
- Handling user input with model validation
- Rendering HTML using Razor views
- Views: rendering the user interface in MVC
- Creating Razor views
- Creating dynamic web pages with Razor
- Layouts, partial views, and _ViewStart
- Building forms with Tag Helpers
- Catering to editors with Tag Helpers
- Creating forms using Tag Helpers
- Generating links with the Anchor Tag Helper
- Cache-busting with the Append Version Tag Helper
- Using conditional markup with the Environment Tag Helper
- Creating a Web API for mobile and client applications using MVC
- What is a Web API and when should you use one?
- Creating your first Web API Controller
- Applying the MVC design pattern to a Web API
- Attribute routing: taking fine-grained control of your URLs
- Enabling additional input formatters: binding to XML data
- Generating a response from a model
- Service configuration with dependency injection
- Introduction to dependency injection
- Using the dependency injection container
- Understanding lifetimes: when are services created?
- Saving data with Entity Framework Core
- Introducing Entity Framework Core
- Adding EF Core to an application
- Managing changes with migrations
- Querying data from and saving data to the database
- Using EF Core in production applications
- The MVC filter pipeline
- Understanding filters and when to use them
- Creating custom filters for your application
- Understanding pipeline short-circuiting
- Using dependency injection with filter attributes
- Authentication: adding users to your application with Identity
- Introducing authentication and authorization
- What is ASP.NET Core Identity?
- Creating a project that uses ASP.NET Core Identity
- Adding ASP.NET Core Identity to an existing project
- Managing users: adding new claims to users
- Authorization: securing your application
- Introduction to authorization
- Authorization in ASP.NET Core
- Using policies for claims-based authorization
- Creating custom policies for authorization
- Controlling access with resource-based authorization
- Hiding elements in Razor templates from unauthorized users
- Publishing and deploying your application
- Understanding the ASP.NET Core hosting model
- Publishing your app to IIS
- Hosting an application on Linux
- Configuring the URLs for your application
Programme scope, delivery arrangements and suitability are confirmed during enquiry.