ASP.NET MVC Web Applications: Web API Routes & Controllers


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Learn how to register and configure ASP.NET Web API routes, and how to implement ASP.NET Web API controller HTTP methods in Visual Studio 2017.

Expected Duration (hours)
0.8

Lesson Objectives

ASP.NET MVC Web Applications: Web API Routes & Controllers

  • 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:
    it_wddmvc_06_enus

    Expertise Level
    Intermediate