The ASP.NET Core MVC Training Course is designed to provide a comprehensive understanding of developing web applications using ASP.NET Core. Participants will gain hands-on experience in building, deploying, and managing modern web applications. The course covers essential concepts and practical skills required to develop robust and scalable web applications.
Duration: 5 days – 35 hrs.
Objectives
- Describe the Microsoft Web Technologies stack and select an appropriate technology to use to develop any given application.
- Design the architecture and implementation of a web application that will meet a set of functional requirements, user interface requirements, and address business models.
- Configure the pipeline of ASP.NET Core web applications using middleware, and leverage dependency injection across MVC application.
- Add Controllers to an MVC Application to manage user interaction, update models, and select and return Views.
- Develop a web application that uses the ASP.NET Core routing engine to present friendly URLs and a logical navigation hierarchy to users.
- Create Views in an MVC application that display and edit data and interact with Models and
- Create MVC Models and write code that implements business logic within Model methods, properties, and events.
- Connect an ASP.NET Core application to a database using Entity Framework Core.
- Implement a consistent look and feel across an entire MVC web application.
- Write JavaScript code that runs on the client-side and utilizes the jQuery script library to optimize the responsiveness of an MVC web application.
- Add client side packages and configure Task Runners.
- Run unit tests and debugging tools against a web application in Visual Studio 2017.
- Write an MVC application that authenticates and authorizes users to access content securely using Identity.
- Build an MVC application that resists malicious attacks.
- Use caching to accelerate responses to user requests.
- Use SignalR to enable two-way communication between client and server.
- Describe what a Web API is and why developers might add a Web API to an application.
- Describe how to package and deploy an ASP.NET Core MVC web application from a development computer to a web server.
- Pre-requisites:
- Experience with Visual Studio 2017.
- Experience with C# programming, and concepts such as Lambda expressions, LINQ, and anonymous types.
- Experience in using the .NET Framework.
- Experience with HTML, CSS and JavaScript.
- Experience with querying and manipulating data with ADO.NET.
- Knowledge of XML and JSON
Audience
- Developers and software engineers interested in web development
- Professionals looking to upgrade their skills in ASP.NET Core
- IT specialists involved in developing and managing web applications
Prerequisites
- Basic knowledge of C# and .NET framework
- Familiarity with web development concepts (HTML, CSS, JavaScript)
- Understanding of relational databases and SQL
- Experience with querying and manipulating data with ADO.NET.
- Knowledge of XML and JSON data structures.
Course Content
Day 1: Introduction and Exploring ASP.NET Core MVC
Introduction to ASP.NET Core
- Overview of .NET Core and ASP.NET Core
- Setting up the development environment
- Project structure and configuration
Exploring ASP.NET Core MVC
- Understanding the MVC pattern
- Creating a simple ASP.NET Core MVC application
- Routing and URL mapping
Designing ASP.NET Core MVC Web Applications
- Best practices for designing MVC applications
- Structuring applications for maintainability and scalability
- Implementing the Model-View-Controller design pattern
Configuring Middlewares and Services in ASP.NET Core
- Introduction to middleware pipeline
- Configuring and using built-in middleware
- Creating custom middleware
- Dependency Injection and Service Lifetimes
Day 2: Developing MVC Components
Developing Controllers
- Creating and managing controllers
- Action methods and routing
- Model binding and validation
- Controller base class features
Developing Views
- Razor syntax and view engines
- Creating and managing views
- View data and ViewBag
- Partial views and view components
Developing Models
- Creating models
- Data annotations and validation
- Model binding and validation
- Using ViewModels
Using Entity Framework Core in ASP.NET Core
- Introduction to Entity Framework Core
- Setting up the database context
- CRUD operations with Entity Framework Core
- Code-first and database-first approaches
Day 3: Enhancing the User Interface and Client-Side Development
Using Layouts, CSS, and JavaScript in ASP.NET Core MVC
- Creating and using layout pages
- Adding and managing CSS styles
- Integrating JavaScript and client-side libraries
Client-Side Development
- Introduction to client-side frameworks (e.g., Angular, React, Vue.js)
- Integrating client-side frameworks with ASP.NET Core
- Building interactive user interfaces
Testing and Troubleshooting
- Unit testing MVC components
- Debugging techniques and tools
- Handling exceptions and logging
- Performance tuning and optimization
Day 4: Advanced Features and Security
Managing Security
- Authentication and authorization
- Implementing ASP.NET Core Identity
- Role-based and policy-based security
- Protecting against common security threats
Performance and Communication
- Caching strategies
- Asynchronous programming
- SignalR for real-time communication
Implementing Web APIs
- Creating RESTful services with ASP.NET Core
- Routing and action selection
- Securing Web APIs
- Versioning and documenting APIs
Day 5: Unit Testing
Unit Testing
- Unit testing techniques for ASP.NET Core applications
- Testing controllers, services, and repositories
- Using mocking frameworks
- Integration testing with ASP.NET Core
Capstone Project
- Building a comprehensive ASP.NET Core MVC application
- Applying learned concepts in a real-world scenario
- Code review and feedback
Q&A and Course Wrap-Up
- Recap of key concepts
- Addressing participant queries
- Additional resources and next steps

