Objectives of the training
The objective of this training is to learn how to build websites using the ASP.NET Core MVC framework and to acquire best practices in C# with Visual Studio.Targeted audience
Computer scientists.Prerequisite
Knowledge of object-oriented programming is required.Trainers
Course architecture
Introduction to the .NET platform
• Module objectives
• Introduction to the architecture
• The C# language
• First project
• Demonstration – HelloWorld
The basics of the C# language
• Module objectives
• Class structure
• Properties
• Constructors
• Using a class
• Inheritance
• Generic types and collections
• Type inference and anonymous classes
• Nullable types
• Extension methods
• Extension methods and generics
• Func, Action, and lambda expressions
• Operators
• The member access operator
• The null-safe operator
• Type checking and conversion operators
• Merge operators
• Asynchronous methods
• Indexers or indexed properties
LINQ
• Module objectives
• Introduction to LINQ
• Deferred or immediate execution
• Query syntax and method syntax
• Retrieving an element
• Performing a selection
• Transforming, sorting a collection, checking a condition
• Data grouping, set operations, and joins
ASP.NET MVC
• Module objectives
• Creating a new web project
• Routing
• View
• Data binding
ASP.NET Razor
• Module objectives
• Razor syntax
• Passing information from the controller to the view
• Demonstration – Passing information from the controller to the view (ViewBag)
• Demonstration – Passing information from the controller to the view (TempData)
• Demonstration – Passing information from the controller to the view (ViewModel)
• Simplified writing to produce HTML
• Generating views and controllers using Visual Studio
• Partial views
• Forms: how they work
• Forms: controller side
• Forms: view side
• Form validation
Execution contexts and cookies
• Module objectives
• The request context
• Cookies
• The session
• The TempData property
• The application cache
Entity Framework
• Module objectives
• Introduction to Entity Framework
• Setting up Entity Framework
• Demonstration – Creating and using DbContext
• Data manipulation
• Relationships between entities
• Different types of loading
• Demonstration – Relationships between entities and different types of loading
• Entity Framework and ASP.NET Core MVC
• Demonstration – Creating a complete CRUD for a simple entity
• Fluent API
• EntityState
Authentication and Authorization
• Module objectives
• ASP.NET Core Identity
• Enabling authentication
• Individual accounts
• Demonstration – Creating a project with authentication
• User management
• Role management
• Logged-in user management
• Demonstration – Generating views for customization
• Access permission management
• Default authentication strategy
• Permission strategy manager by handler
Developing and using a web API
• Module objectives
• REST API principle
• The two approaches with ASP.NET Core
• Creating a controller-based web API: principle
• Creating a controller-based web API: request
• Creating a controller-based web API: response
• Creating a minimal web API: principle
• Creating a minimal web API: request
• Creating a minimal web API: response
• Testing web API endpoints
• Consuming a web API: sending an asynchronous request
• Consuming a web API: analyzing the response to the asynchronous request
• AJAX
Training Notes
100% remote training. Accessible anytime, anywhere. One year of access to training and digital manual.
Private or personalized training
Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.
Request a quotePrivate or personalized training
Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.
Request a quote