RESTful Services with Web API using C#


Course Number: WAPI-100

Duration: 2 days (13 hours)

Format: Live, hands-on

Web API Training Overview

Accelebrate's RESTful Services with Web API using C# course teaches attendees to develop and consume ASP.NET Web API services using C# and Visual Studio 2013, 2015, 2017, or later. Students learn to use this development framework from Microsoft to easily create RESTful Web applications and HTTP services, as well as how to consume these services from a range of clients.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, online classes for individuals. See a schedule of online courses.

Objectives

  • Gain an understanding of Web API architecture and how it differs from WCF
  • Implement HTTP services using Web API and Visual Studio 2013
  • Consume HTTP services using both jQuery and the ASP.NET Web API client library
  • Handle different media formats and content variations in Web API services
  • Understand routing and binding in Web API
  • Perform validation of request data

Prerequisites

All students should have a good working knowledge of C# and the .NET Framework. Basic knowledge of ASP.NET, HTML and JavaScript is also required.

Outline

Expand All | Collapse All

Introduction to ASP.NET Web API
  • ASP.NET Web API
  • Representational State Transfer
  • REST and Web API
  • HTTP Services Using Web API
  • Using Fiddler
  • Web API vs. WCF
Web API and HTTP
  • HTTP Response Codes
  • HttpResponseException
  • Implementing POST
  • Implementing PUT
  • Implementing DELETE
Media Formatters and Content Negotiation
  • Internet Media Types
  • Media Formatters
  • JSON and XML Formatters
  • Content Negotiation
  • Accept and Content-Type Headers
  • Using the Query String
  • Custom Request Headers
  • Serialization
  • BSON Serialization
JavaScript Clients
  • Document Object Model
  • jQuery
  • Sending AJAX Requests
  • Implementing a Client
Binding, Validation, and Routing
  • Reading Raw HTTP Requests
  • Route Data, Query String and Request Body
  • Binding to Simple Types
  • Binding to Complex Types
  • Validation Using Data Annotations
  • Routing in ASP.NET Web API
  • Using Default Routes
.NET Clients
  • Web API Client Libraries
  • HttpClient
  • Issuing GET Requests
  • Issuing POST Requests
  • Other Requests
Conclusion

Training Materials:

All Web API training students receive comprehensive courseware.

Software Requirements:

  • Windows 8.1 or later with at least 8 GB RAM
  • SQL Server 2012 Express or later
  • Visual Studio 2017 or later with the latest update applied
  • If you have purchased this course, please contact us for detailed setup instructions.


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan