Instructor-led training
ASP.NET Core MVC (VS2022) Training in Sea Tac, Washington
The course is an introduction to ASP.NET Core MVC programming using C#.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Sea Tac, Washington or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
What makes ASP.NET Core MVC hard to master in two days
The C# is rarely the obstacle. The difficulty is how many cooperating pieces sit between an HTTP request and a rendered page, and the syllabus builds them in a deliberate order.
The request pipeline first. The course opens with the Model-View-Controller pattern, a review of Web Forms and the trade-offs of each. It then follows one request through action methods and routing, action return types, and Razor views. Developers coming from Web Forms often look for a page lifecycle that no longer exists. In MVC, routing selects a controller action, the action returns a result, and the view only renders what it is given.
Getting data in and out. The next layer is forms, HTML helpers, model binding, input validation, nullable types and checking model validity. A common mistake is trusting a bound model without checking it. Another is mixing three ways of passing data to a view: ViewBag, a model passed directly, and dynamic or expando objects. The syllabus covers all three, so the course is a good place to compare them.
Controller mechanics. Action attributes, filters, nullable parameters and asynchronous controllers need care, because filters and async actions change when and where your code runs.
The model layer. The syllabus covers XML serialization, ADO.NET, LINQ, ADO.NET Entity Framework 6, CRUD operations and NuGet. Teams should be clear about which data-access technology a given project actually uses, since Entity Framework 6 and Entity Framework Core are separate packages.
Routing and Web API. Attribute routing, route parameters, areas and route debugging are where many apps get confusing. The Web API module then applies REST ideas to controllers: correct response codes for POST, GET, PUT and DELETE, named routes, testing with HTTP tools such as Postman, and calling the API with HttpClient.
Who it suits and what to take around it
This is a general-level, two-day course for developers who already write C# and want to build web applications and web APIs with ASP.NET Core MVC. The stated prerequisites are a good working knowledge of C# and the .NET Framework, basic HTML, and ideally some exposure to .NET Core. It also suits teams who know Web Forms and are moving to MVC.
The syllabus includes an ASP.NET Core 5.0 topic. .NET 5 is the version named for this course, and its support ended in May 2022. The course therefore fits organizations that build, maintain, support or migrate applications on that version. Teams on newer .NET releases can ask about a customized private training proposal tailored to the versions they use.
Before: if the C# or framework background is thin, .NET Framework Using C# covers the language and class library that the MVC examples assume.
After: the model module introduces ADO.NET, LINQ and CRUD operations in one pass. ADO .NET Using C# goes deeper into data access for teams whose controllers depend on it. The wider .NET courses and learning guide shows other options.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Moving a Web Forms application to MVC. A team might use the Web Forms review, the MVC pattern and the routing topics to decide how existing pages map to controllers, actions and views, and how URLs should be structured with attribute routing and areas.
- A data-entry application with validation. For example, a team building an internal records application could combine HTML helpers, model binding, validation attributes and checking model validity. Entity Framework CRUD operations would handle persistence, and filters would handle cross-cutting behavior.
- A REST service for another client. A team might expose a collection through a Web API controller. They would return the right response codes for POST, PUT and DELETE, test it with Postman, and write a small HttpClient consumer. They could then publish the result using the Azure deployment module.
AI coding assistants with these topics
AI coding assistants are good at scaffolding: controller actions, Razor views, view models, validation attributes and LINQ queries. They are less reliable where the details depend on the framework version or on how the pieces interact.
- Version drift. Generated code may use APIs or project templates from a different ASP.NET or Entity Framework generation than the one you target, for example Entity Framework Core calls in a project using Entity Framework 6. Compile against your actual target and read the generated API calls.
- Routing. Assistants often produce route templates or attributes that conflict with existing routes. Check them with the route-debugging techniques from the routing module.
- Validation and binding. Generated actions often skip the model-validity check or mishandle nullable parameters. Post bad input and confirm the action rejects it.
- Async and LINQ. Assistants can mix blocking calls into async controllers, ignore cancellation, or leave a LINQ query deferred longer than intended. Review these by hand.
- Web API semantics. Check the status codes returned for POST, PUT and DELETE against what the REST module teaches, and exercise each endpoint with an HTTP testing tool.
The habit that helps most is to write a test or an HTTP request for each generated action and run it before accepting the code.
Frequently asked questions
What level is this course?
It is a general-level, two-day introduction to ASP.NET Core MVC with C#. It covers the MVC pattern, views, models, controllers, routing and a Web API module.
What should I know before attending?
A good working knowledge of C# and the .NET Framework. Basic HTML helps, and some prior exposure to .NET Core is useful but not required.
What does the course cover?
The syllabus covers MVC architecture, Razor views, forms, model binding and validation, the model layer (ADO.NET, LINQ, Entity Framework 6), controllers and filters, routing, ASP.NET Core Web API and publishing to Azure.
Can this be delivered privately for our team?
Yes. Private training is available onsite at your location or live online, for organizations that want to train a group together.
Can the content be customized or aligned to our .NET version?
Private training can be customized and tailored to the technology versions your organization uses, including current releases. You can describe your requirements in a training proposal request.
Training locations
ASP.NET Core MVC (VS2022) training across the U.S. and beyond.
We provide private ASP.NET Core MVC (VS2022) training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all ASP.NET Core MVC (VS2022) training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.