Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Entity Framework Tutorial (Update)

You're reading from   Entity Framework Tutorial (Update) A comprehensive guide to the Entity Framework with insight into its latest features and optimizations for responsive data access in your projects

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781783550012
Length 274 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Joydip Kanjilal Joydip Kanjilal
Author Profile Icon Joydip Kanjilal
Joydip Kanjilal
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Entity Framework Tutorial Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Introducing the ADO.NET Entity Framework FREE CHAPTER 2. Getting Started 3. Entities, Relationships, and the Entity Data Model 4. Working with Stored Procedures in the Entity Data Model 5. Working with Entity Client and Entity SQL 6. Working with LINQ to Entities 7. Working with the Object Services Layer 8. Working with WCF Data Services Advanced Concepts Index

HTTP methods, request, and response codes


The following table shows the common HTTP methods and their purposes:

Method name

Purpose

DELETE

This is used to delete a resource

GET

This is used to request a specific representation of a resource

HEAD

This is same as GET, but it retrieves only the headers and not the body

OPTIONS

This is used to retrieve the methods supported by the resource

POST

This is used to post or submit data to be processed by the resource

PUT

This is used to create or update data using a particular representation of a resource

The following table shows the HTTP status codes and their purposes:

Status code

Description

100

Informational

200

Successful

201

Created

202

Accepted

300

Redirection

304

Not modified

400

Client error

402

Payment required

404

Not found

405

Method not allowed

500

Server error

501

Not implemented

The following table shows the HTTP redirection status codes:

Status code

Description

300

Multiple choices

301

Moved permanently

302

Found (temporary redirection)

The following table shows the HTTP error status codes:

Status code

Description

400

Bad request

401

Unauthorized

403

Forbidden

404

Resource not found

405

Method not allowed

408

Request timeout

409

Conflict

413

Request entity too large

415

Unsupported media type

The following table shows the HTTP server error status codes:

Status code

Description

500

Internal server error

501

Not implemented

503

Service unavailable

505

HTTP version not supported

The following table lists some resource methods and how they can be implemented using the HTTP protocol:

Method name

Description

HTTP operation

createResource

This creates a new resource

PUT

getResourceRepresentation

This is used to retrieve the representation of a particular resource

GET

deleteResource

This deletes a resource

DELETE

modifyResource

This modifies a resource

POST

getMetaInformation

This retrieves metadata of a resource

HEAD

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images