Working with ASP.NET Web API Routes and Controllers


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
In this course, you will learn how to register and configure ASP.NET Web API routes, how to implement ASP.NET Web API controller HTTP methods in Visual Studio 2017.

Target Audience
Web developers seeking an introductory guide to developing efficient, secure, distributed web applications with adaptive user interfaces using the ASP.NET MVC and MVC 5 frameworks in Visual Studio 2017, and individuals preparing for exam 70-486: Developing ASP.NET MVC Web Applications

Prerequisites
None

Expected Duration (hours)
0.9

Lesson Objectives

Working with ASP.NET Web API Routes and Controllers

  • Start the course
  • implement a default Web API controller route in an ASP.NET MVC web application
  • implement a custom Web API route that uses a controller action name in its route template in ASP.NET MVC web application
  • register Web API controller routes with the Web API framework in an ASP.NET MVC web application
  • use the NonAction attribute to prevent a controller method from being invoked as an action in an ASP.NET MVC web application
  • use the ActionName attribute to override Web API controller action names in an ASP.NET MVC web application
  • use the HttpRouteUrl helper to generate URLs in an MVC view that invoke Web API controller methods in an ASP.NET MVC web application
  • implement an HTTP GET method for a Web API controller in an ASP.NET MVC web application
  • define an HTTP PUT method on a Web API controller to update a resource in an ASP.NET MVC web application
  • configure the main view so that application data can be modified using view bindings to model properties in an ASP.NET MVC web application
  • define an HTTP POST method on a Web API controller to create a new resource in an ASP.NET MVC web application
  • configure the main view so that new application data can be added using view bindings to model properties in an ASP.NET MVC web application
  • implement an HTTP DELETE method on a Web API controller to delete an existing resource in an ASP.NET MVC web application
  • configure the main view so that application data can be deleted using view bindings to model properties in an ASP.NET MVC web application
  • define an HTTP PUT method on a Web API controller in a ASP.NET MVC web appplication in Visual Studio 2017
  • Course Number:
    wd_dmvc_a06_it_enus

    Expertise Level
    Intermediate