ASP.NET Web API: Build RESTful web applications and services on the .NET framework

An opportunity for ASP.NET web developers to advance their knowledge with a practical course, designed from the ground up, to help you investigate REST-based services with C# 5. An essential, real-world tutorial.

ASP.NET Web API: Build RESTful web applications and services on the .NET framework

Joydip Kanjilal

An opportunity for ASP.NET web developers to advance their knowledge with a practical course, designed from the ground up, to help you investigate REST-based services with C# 5. An essential, real-world tutorial.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$21.00
RRP $29.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$21.00
$49.99
$29.99p/m after trial
RRP $29.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781849689748
Paperback224 pages

Book Description

The ASP.NET Web API was designed from the ground up to meet the need of developers who want to build HTTP/RESTful services. ASP.NET Web API is an HTTP service that uses HTTP as the application protocol and can return data based on the data format requested by the client. It is a lightweight web-based architecture that provides an easy-to-use set of default options while providing a deep extensibility infrastructure to meet the demands of any scenario using HTTP.

This book is a step-by-step, practical tutorial with a simple approach to help you build RESTful web applications and Web API services based on the .NET framework quickly and efficiently. This book provides complete coverage of RESTful services and the ASP.NET Web API in a lucid language with plenty of hands-on code examples.

The book starts with a description of REST-based architecture and WCF. It then explores the new features in ASP.NET 4.5 and introduces you to the new concepts in the ASP.NET Web API. There are also plentiful code examples throughout these sections to help you learn effectively.

You will then learn how to work with WCF REST-based services and the ASP.NET Web API and how to consume those services using various clients such as ASP.NET, ASP.NET MVC, WPF, and Silverlight.

In the second half of this book, we discuss the more advanced concepts of the ASP.NET Web API, best practices, and asynchronous programming concepts and how it can be implemented in C# 5.The most important thing you will take home from reading this book is a working knowledge on RESTful services, their architecture, how to build them, and also how to consume them with plenty of tips and techniques to better utilize this technology.

Table of Contents

Chapter 1: Understanding Representational State Transfer Services
Understanding REST
Implementing RESTful services in .NET 4.5
Summary
Chapter 2: Understanding Resource and Service Oriented Architectures
Understanding SOA
A look at ROA
Resource Oriented and Service Oriented Architecture
Comparison of the three architectural styles
Summary
Chapter 3: Working with RESTful Services
Exploring Windows Communication Foundation (WCF)
Applying service behavior
New features in WCF 4.5
Making the service RESTful
Summary
Chapter 4: Consuming RESTful Services
Understanding AJAX
Introducing JSON and jQuery
Understanding Language Integrated Query (LINQ)
Security Service
Consuming Security Service
Understanding Windows Presentation Foundation
References
Summary
Chapter 5: Working with ASP.NET 4.5
Working with the OData protocol
New features in the .NET Framework 4.x
Introducing the new features in ASP.NET 4.5
Working with the ASP.NET Web API
Summary
Chapter 6: Working with RESTful Data Using Silverlight
Introducing Silverlight 5
WCF 4.5 RIA Services
Implementing a sample application
Summary
Chapter 7: Advanced Features
Best practices in using WCF
Best practices in using WCF services
Best practices in using the ASP.NET Web API
References
Summary

What You Will Learn

  • Build scalable REST-based services using the .NET framework
  • Build HTTP-based web services on the .NET platform
  • Explore the new features in Entity Framework 5 and how to work with them
  • Use the ASP.NET Web API with ASP.NET MVC 4 clients
  • Learn about the ADO.NET Entity Framework and write programs against the Entity Data Model using LINQ to perform CRUD operations
  • Implement Web API services using ASP.NET, ASP.NET MVC, WPF, and Silverlight clients

Authors

Table of Contents

Chapter 1: Understanding Representational State Transfer Services
Understanding REST
Implementing RESTful services in .NET 4.5
Summary
Chapter 2: Understanding Resource and Service Oriented Architectures
Understanding SOA
A look at ROA
Resource Oriented and Service Oriented Architecture
Comparison of the three architectural styles
Summary
Chapter 3: Working with RESTful Services
Exploring Windows Communication Foundation (WCF)
Applying service behavior
New features in WCF 4.5
Making the service RESTful
Summary
Chapter 4: Consuming RESTful Services
Understanding AJAX
Introducing JSON and jQuery
Understanding Language Integrated Query (LINQ)
Security Service
Consuming Security Service
Understanding Windows Presentation Foundation
References
Summary
Chapter 5: Working with ASP.NET 4.5
Working with the OData protocol
New features in the .NET Framework 4.x
Introducing the new features in ASP.NET 4.5
Working with the ASP.NET Web API
Summary
Chapter 6: Working with RESTful Data Using Silverlight
Introducing Silverlight 5
WCF 4.5 RIA Services
Implementing a sample application
Summary
Chapter 7: Advanced Features
Best practices in using WCF
Best practices in using WCF services
Best practices in using the ASP.NET Web API
References
Summary

Book Details

ISBN 139781849689748
Paperback224 pages
Read More

Read More Reviews

Recommended for You

Bootstrap for ASP.NET MVC Book Cover
Bootstrap for ASP.NET MVC
$ 19.99
$ 14.00
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Bootstrap for ASP.NET MVC - Second Edition Book Cover
Bootstrap for ASP.NET MVC - Second Edition
$ 31.99
$ 22.40
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Bootstrap Site Blueprints Book Cover
Bootstrap Site Blueprints
$ 26.99
$ 18.90
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00