Learn how to use the ASP.NET framework to develop model-view-controller (MVC) web applications.
Objectives
At the end of this course, participants will be able to develop model-view-controller web applications on any platform using ASP .NET Core.
Is it for you ?
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.
Your benefits
Content
In this course, you'll learn how to build an ASP.NET Core model-view-controller application using Visual Studio 2022 and Microsoft's latest .NET 8 framework. You'll see how to build views using the various ASP.NET Core components, and how to integrate libraries such as Bootstrap CSS to format your HTML. You'll also be able to build forms with form validation. You'll see how to integrate Entity Framework Core into an ASP.NET Core application to provide a data access layer enabling you to interact with a database.
Components of the .NET 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
See more + / -
ASP.NET Core features
- 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
ASP.NET Core components
- 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
Designing an ASP.NET Core model-view-controller (MVC) application
- 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
View formatting
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)
Model binding and validation
- 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)
Exception handling, configuration and logging
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
Data access using Entity Framework Core
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
Enhanced user interface
- Filtering data in a list
- Add pagination
- Using the jQuery library to introduce some AJAX notions in views.
Introduction to Web APIs with ASP.NET Core
- Designing a first Web API controller
Overview of security in ASP.NET Core
Explain the basic principles of security in an ASP.NET Core application and how to secure controllers and actions.
💡 Useful information
Our training sessions are offered in Montreal or Quebec City, in person or in virtual format. Dates and locations are provided when you select your session below. If you have any questions regarding registration, schedules, the language of instruction, or cancellation policies, please consult our FAQ .
Trainers
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 quote