E E4 4D D

baasopchoppyΑσφάλεια

5 Νοε 2013 (πριν από 3 χρόνια και 10 μήνες)

100 εμφανίσεις

E
E
4
4
D
D


L
L
E
E
A
A
R
R
N
N
I
I
N
N
G
G


L
L
T
T
D
D


E
E
X
X
P
P
E
E
R
R
T
T
S
S




D
D
E
E
S
S
I
I
G
G
N
N




D
D
E
E
V
V
E
E
L
L
O
O
P
P




D
D
E
E
B
B
U
U
G
G




D
D
E
E
P
P
L
L
O
O
Y
Y



1


ASP.NET Web API


ASP.NET Web API is a framework that makes it easy to build HTTP services
that reach a broad range of clients, including browsers and mobile devices.
ASP.NET Web API
is an ideal platform for building RESTful applications on
the .NET Framework.



Module 1:
ASP.NET Web API

Overview



ApiController Class


Calling the HTTP Service


Understanding Routing


Calling the Web API with Javascript
&

J
Query


HOL:
Web API Hello World

In this tutorial, you will create your first HTTP service using ASP.NET Web API. The
service itself will be trivial, but i
t will give you a quick introduction of ASP.NET Web
API. After that, you can follow some of the more detailed tutorials and samples.


Module
2
:
Web API

CRUD Operations



CRUD Operations


HttpResponseMessage
& HTTP Headers


Repository Patterns


Calling a Web
API From a .NET Client


HOL:
Web API
that Supports CRUD Operations

I

This tutorial shows how to support CRUD operations in an
HTTP service using
ASP.NET Web API
.

CRUD stands for "Create, Read, Update, and Delete," which are the
four basic database operations. Many HTTP services also model CRUD operations
through REST or REST
-
like APIs.


Module
3
:
Web API Routing



Routing Tables


R
outing Variations

E
E
4
4
D
D


L
L
E
E
A
A
R
R
N
N
I
I
N
N
G
G


L
L
T
T
D
D


E
E
X
X
P
P
E
E
R
R
T
T
S
S




D
D
E
E
S
S
I
I
G
G
N
N




D
D
E
E
V
V
E
E
L
L
O
O
P
P




D
D
E
E
B
B
U
U
G
G




D
D
E
E
P
P
L
L
O
O
Y
Y



2


Routing by Action Name

Module
4
:
Working with HTTP



HttpClient


Self
-
Host a Web API


HTTP Message Handlers


Module
5
:
Testing and Debugging



Tracing in ASP.NET Web API


Creating a Help Page for a Web API

Module
6
:
ASP.NET Web API
Extensibility



Web API Dependency Resolver


ApiController Internals


Media
-
Type Formatter &
Serialization


Model Binding


Content Negotiation


Configure the Media
-
Type Formatters


Validations


HOL:

Using the Web API Depende
ncy Resolver

This tutorial shows how to inject dependencies into your ASP.NET Web API controller,
using the Web API dependency resolver


HOL:
Media Formatter

This tutorial shows how support additional media formats in ASP.NET Web API.