ASP.NET MVC 5 and Web API

Master the essentials of building modern, scalable web applications with our ASP.NET MVC 5 and Web API course tailored for new and experienced developers eager to leverage Models, Views, and Controllers efficiently.

Course Thumbnail

Essential Skills Gained

Checkmark

Understand the integration of URL Routing in MVC and Web API.

Checkmark

Create comprehensive MVC applications from start to finish.

Checkmark

Work proficiently with the Entity Framework for data management.

Checkmark

Develop and consume diverse Web API and REST/OData web services.

Format

  • Instructor-led
  • 5 days with lectures and hands-on labs.

Audience

  • New web developers
  • Experienced developers new to ASP.NET MVC
  • C# programmers
  • Web API developers

Description

MVC, Web API and the Entity Framework is a very complete set of tools built by Microsoft to allow you to quickly create multi-tiered modern web applications. ASP NET MVC 5 and Web API is a five-day instructor-led course is a deep dive into MVC and covers not only Models, Views and Controllers, but also covers ASP.NET Routing, Web API, REST, OData and the Entity Framework. You will get hands on with guided labs that reinforce the lecture material.

Calendar icon

Upcoming Course Dates

No upcoming dates. Please check back later.

Course Outline

Download PDF

Module 1: A Brief History of HTML, MVC and the Web

  1. MVC Versions

  2. What is MVC?

  3. MVC and “Auto-Magic”

  4. Creating a New MVC Project

  5. A Few Notes About Databases for Developers

  6. C# and Visual Studio Notes and Tips

Module 2: Routing

  1. The Routes Collection

  2. Debugging Routes

  3. Adding Routes

  4. Web API Routes

  5. Page Routes

  6. MVC Routes

  7. Attribute Based Routes

  8. Routes and Parameters

  9. Ignored Routes

  10. Routing Order

Module 3: Controllers and Actions

  1. Controllers

  2. Creating Controller Classes

  3. Actions

  4. Creating Actions

  5. Common Issues for Actions

  6. Working with Parameters

  7. Action Attributes

  8. Restricting Access to Actions and Controllers

  9. Improving Performance with Caching

  10. Dealing with Controller and Action Exceptions

  11. Passing Data to Views

  12. Action Filters

  13. Best Practices

Module 4: Entity Framework

  1. Entities?

  2. Context?

  3. Getting the Entity Framework

  4. Resources

  5. Database First, Model First and Code First

  6. Core Objects

  7. Database First

  8. Model First

  9. Code First

  10. Testing with Standard Data

  11. Calling SQL Through the Entity Framework Context

  12. Tips, Caching, Monitoring and the Fluent API

Module 5: Models

  1. Models

  2. MVC without the Entity Framework

  3. Model Tiers

  4. Model Attributes

  5. Display Attributes

  6. Validation Attributes

  7. Other Attributes

  8. Additional MVC Attributes

  9. View Models

  10. Best Practices

Module 6: Views

  1. Route to Controller to Action to View

  2. View Engines

  3. “Auto-magic” and Views

  4. Controller Helpers for Views

  5. Passing Data to Views

  6. View Bags

  7. “Model.” vs. “model.” vs. “@model”

  8. Razor

  9. HTML, CSS and Razor Views

  10. Creating Razor Views

  11. Embedded Razor Code

  12. Razor HTML Helpers

  13. HTML Helpers for Forms

  14. Mobile-Specific Views

  15. Layouts

  16. Partial Views

  17. Best Practices

Module 7: Areas

  1. Areas

  2. Creating Areas

  3. Linking between Areas

  4. HTML Helpers

Module 8: Web API

  1. A Brief History of Web Services

  2. Add Web Services to an MVC Project

  3. MVC Actions vs. Web API

  4. Data Formats – XML & JSON

  5. Consuming Web Services

  6. Calling a Web Service from Server Side Code

  7. Calling a Web Service from Ajax and jQuery

  8. Starting a new Web API or MVC plus Web API Project

  9. Adding Web API to an Existing MVC Project

  10. Web API Routing

  11. Web API Controllers

  12. HTTP Verbs

  13. Web API Actions

  14. Returning Data – Best Practices

  15. Using IHttpActionResult

  16. Web API Help Pages

  17. RESTful Web Services

  18. OData

  19. OData Queries

  20. OData Updates

  21. Differences Between a Web API Project and an OData Project

  22. Adding REST and OData to a Project

Module 9: Where to Go From Here

  1. Describe web services and ASP.NET solutions.

  2. Choose between traditional ASP.NET web services, Web API and REST/OData solutions.

  3. Create a Web API project.

  4. Plan and navigate REST URLs.

  5. Create OData queries and updates.

  6. Create REST/OData web service solutions.

Your Team has Unique Training Needs.

Your team deserves training as unique as they are.

Let us tailor the course to your needs at no extra cost.