Learn how to use the ASP.NET framework to develop model-view-controller (MVC) web applications
Duration
3 days
Schedule
9h to 16h
Regular fee
$1,485
Preferential fee
A preferential rate is offered to public institutions, to members of certain professional organizations as well as to companies that do a certain amount of business with Technologia. To know more, please read the "Registration and rates" section on our FAQ page. Please note that preferential rates are not available for online training courses. Discounts cannot be combined with other offers.
$1,335
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
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.
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
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.
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.
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.
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.
Explain the basic principles of security in an ASP.NET Core application and how to secure controllers and actions.
Pedagogical details
Type of training
Skill development
Skill development and knowledge integration
Decision support
Basic knowledge
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 quoteDuration
3 days
Schedule
9h to 16h
Regular fee
$1,485
Preferential fee
A preferential rate is offered to public institutions, to members of certain professional organizations as well as to companies that do a certain amount of business with Technologia. To know more, please read the "Registration and rates" section on our FAQ page. Please note that preferential rates are not available for online training courses. Discounts cannot be combined with other offers.
$1,335
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 quote