Objectives of the training
At the end of this course, participants will be able to develop model-view-controller web applications on any platform using ASP .NET Core.Targeted audience
Developers and other web specialists.Prerequisite
Application development experience with Visual Basic .NET (MN204 course) or Visual C# .NET (MN201 course). Basic knowledge of the Web and HTML, CSS and JavaScript.Trainers
Course architecture
Overview of the components of the .NET architecture and the main features of the new ASP .NET Core development platform.
- .NET Framework vs .NET (aka .NET Core) vs .NET standard
- History of ASP.NET / ASP.NET Core
- Development tools
- Overview of ASP.NET Core features:
- Routing
- Data binding
- Model validation
- Dependency injection
- Filters
- Areas
- Razor display engine
- Tag and HTML helpers
- ViewComponents
- Web API
- Understand the different components of an ASP.NET Core application.
- Startup" class
- Dependency injection (services)
- Middleware
- Host
- Server
- Configuration
- Environment
- Logging
- Routing
- Error handling
- Content root and Web root
- Structure of an ASP.NET Core project with .NET 8 and Visual Studio 2022
- Default configuration
- Role of the model, view and controller
- Controller and action types
- Routing and endpoint system
Master the various components used to build views.
- Razor view engine and syntax
- Page layout
- Tag and HTML helpers
- Bootstrap CSS integration
- Partial view
- Display components (ViewComponent)
- Understand how model binding works in ASP.NET Core and how to use data annotations for model validation.
- Model binding
- Model validation (server side)
- Displaying model error messages
- Model validation (client side)
Learn how to handle exceptions and provide a customized error page based on the type of exception.
How configurations work and how to retrieve values from configurations.
Use logging in an ASP.NET Core application with the ILogger object and dependency injection.
- Exception handling and custom error pages
- Configuration
- Logging
- Dependency injection
Use and integrate Entity Framework Core into an ASP.NET Core project to provide the data access layer enabling us to perform data addition, deletion and modification operations.
- Overview of Entity Framework Core
- Integrating Entity Framework Core into an ASP.NET Core project
- Filtering data in a list
- Add pagination
- Using the jQuery library to introduce some AJAX notions in views.
- Designing a first Web API controller
Explain the basic principles of security in an ASP.NET Core application and how to secure controllers and actions.
Pedagogical details
Type of training
Private or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quotePrivate or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quote