Introduction:
Use the .NET Core technologies in this 3-day ASP.NET learning to create and deploy modern applications that leverage microservice design and support multiple devices on multiple platforms. This course builds on developers’ existing knowledge of ASP.NET MVC (Active Server Pages Network Enabled Technologies Model, View, and Controller) to build ASP.NET Core and Core 5 applications, including Web Services
Objectives:
In this ASP.NET learning, you will:
- Build robust web applications using ASP.NET Core and Core 5 applications, including MVC applications.
- Leverage both RESTful (representational state transfer) and gPRC (Google Remote Procedure Calls) services.
- Exploit all the new features of ASP.NET Core, including Razor Pages, View Components, Tag Helpers, and Web service support tools.
- Use Visual Studio and Docker to create container-based applications, ready to be deployed.
- Continue learning and face new challenges with after-course one-on-one instructor coaching.
Course Outline:
Module 1: Migrating to ASP.NET Core
The Goals of Modern Application Development
- Developing complex applications for an agile world
- What’s new with .NET Core
Module 2: What’s Different in ASP.NET MVC
Updating server-side code
- Creating ASP.NET MVC Core applications
- Modifying Controllers and Views
- Dealing with configuration
Handling Infrastructure
- Implementing Session and Cache
- Changes to Authorization
- Moving modules and handlers to middleware
- Bundling JavaScript and CSS (Cascading Style Sheets)
Module 3: What’s New in ASP.NET MVC
New in Views
- Improving productivity with Tag Helpers
- Leverage Razor Pages
- Sharing resources with Razor Class Libraries
- Reusing User Interfaces and workflow logic with View Components
Changes to Project Structure
- Supporting multiple platforms with .NET standard libraries
- Short-circuiting redirects with URL Rewriting
Eliminating JavaScript with Blazor
- CSB (Client-Side Blazor) and SSB (Server-Side Blazor)
- Integrating SSB into ASP.NET Core applications
- Creating Blazor components
Protecting Your Site from Hacks
- Path Transversal
- Cross-site Request Forgery
- Malicious Redirects
Module 4: Authorizing Users
What’s New In ASP.NET Core
- Accessing the ClaimsPrincipal object in Controllers and classes
- Declaring claims-based policies
Working with Users
- Authenticating users
- Managing users and user claims
- Authenticating users declaratively and procedurally
Module 5: Implementing Services in ASP.NET Core MVC
Changes from ASP.NET Web API (Application Programming Interface) Adding services.
- Applying ApiController and ContollerBase
- Retrieving, updating, and creating objects in ASP.NET Core
Applying Standards
- Incorporating HTTP (HyperText Transfer Protocol) standards
- Choosing return types
Documenting with Swagger and the OpenAPI
- Configuring your project for OpenAPI documentation
- Accessing the generated documents with Swashbuckle
- Extending your application to provide better information
Building gRPC Services
- How gRPC improves performance
- Defining the service’s contract in ProtoBuf
- Generating client and server code in Visual Studio
- Creating and accessing a gRPC service
Module 6: Deploying with Docker
Simplifying deployment and application management with Docker
- Characteristics of Docker containers
- Creating a Docker container
- The container ecosystem
Debugging with Containers
- Running applications in containers
- Integrating applications, services, and databases with Docker Compose