Designing Evolvable Web APIs with ASP.NET
Harnessing the power of the web
Publisher: O'Reilly Media
Final Release Date: March 2014
Pages: 538

Design and build Web APIs for a broad range of clients—including browsers and mobile devices—that can adapt to change over time. This practical, hands-on guide takes you through the theory and tools you need to build evolvable HTTP services with Microsoft’s ASP.NET Web API framework. In the process, you’ll learn how design and implement a real-world Web API.

Ideal for experienced .NET developers, this book’s sections on basic Web API theory and design also apply to developers who work with other development stacks such as Java, Ruby, PHP, and Node.

  • Dig into HTTP essentials, as well as API development concepts and styles
  • Learn ASP.NET Web API fundamentals, including the lifecycle of a request as it travels through the framework
  • Design the Issue Tracker API example, exploring topics such as hypermedia support with collection+json
  • Use behavioral-driven development with ASP.NET Web API to implement and enhance the application
  • Explore techniques for building clients that are resilient to change, and make it easy to consume hypermedia APIs
  • Get a comprehensive reference on how ASP.NET Web API works under the hood, including security and testability
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyDesigning Evolvable Web APIs with ASP.NET
 
4.3

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (4)
  • Well-written (4)
  • Helpful examples (3)

Cons

No Cons

Best Uses

  • Intermediate (4)
  • Expert (3)
    • Reviewer Profile:
    • Developer (4)

Reviewed by 4 customers

Sort by

Displaying reviews 1-4

Back to top

 
4.0

Great Resource for Web API

By gelder

from Colorado Springs CO

About Me Designer, Developer

Verified Reviewer

Pros

  • Accurate
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly Designing Evolvable Web APIs with ASP.NET:

    There are a lot of things I like about this book. Here are some of the things I noticed right off:
    1.It is nicely organized, which makes it easier to understand.
    2.There are a large number of pictures, illustrations, and examples.
    3.The font size is readable, but a little small (this may be adjustable in an e-book reader).
    4.Different font colors are used to illustrate points of interest.
    5.Many references, other than the author's opinions, are used (e.g., Wikimedia).



    The book's point of view starts from a period in history, starting in the 1960s. I was surprised that the Web API evolved from the 1960s, I was under the impression that this was a new technology. After reading on, I realized that the 1960s was the starting point and the 1980s is where it took off. As the web started to get more demanding and the complex use of Web APIs became more useful and needed. This book provides a good understanding of the starting foundation of the technologies described.

    The book goes into detail concerning the use of RESTful technology which has grown within the last few years. The Web needs to have a decoupling technology to implement fast and non-proprietary objects in line of business solutions. The idea of being bogged down to only one type of technology is extremely discouraging and difficult to pinpoint. The authors are good to point out these trends and uses.

    This book describes many different solutions to get the job done. These provide ideal flexibility for Web developers. Developers now can communicate across platforms with ease. The ability to update and support your line of business is also improved. The authors describe these solutions well.

    HTTP-based application development has been around for several decades. Exposing this under RESTful APIs, provides for loosely coupled applications into friendly server operations. This was explained in detail with practical examples in this book.

    The book defines Client and Hosting configurations. This book references ASP.NET MVC in this regard, but since Web API can be implemented using ASP.NET Web Forms as well, it is acceptable to reference these additional points. MVC provides that obvious separation of concerns but Web Forms can also be designed with the same methodology. The authors were good to point out these vital differences.

    The book's point of view emphasizes Web API Services. There are ample diagrams and code examples illustrating the benefits of services.

    I received from this book an overall impression, which I believe the authors wanted to convey, that RESTful services may be as hard or complex as one needs to build. The book explains, that understanding the basic foundations and rules of this technology can greatly enhance your development, deployment, and implementation of line of business solutions.

    When I first looked at this book, I was intimidated due to the number of pages (500+), which tends to lose me as a reader and usually causes me to fall asleep after a few pages. After completing the book, I realized the depth of knowledge contained in all those pages; however, I suggest reading this book in sections, giving the reader a much more rewarding experience. This book is extremely detailed and complete regarding Web APIs and how they are implemented throughout the Web and business applications. I enjoyed reading this book, even though it was a bit "long-winded!"

    This book will assist you in understanding this important technology and will give you practical guidance to complete your next business solution.

    (2 of 2 customers found this review helpful)

     
    4.0

    Good primer on REST and ASP.NET WebAPI

    By Lance alot

    from Dallas, TX

    About Me Developer, Maker

    Verified Buyer

    Pros

    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate
      • Novice

      Comments about oreilly Designing Evolvable Web APIs with ASP.NET:

      The intro chapters contain a good primer on HTTP and REST that are useful not only to novices but also to those who think they know the web. The inclusion of newer RFC's (with links) is a great help to progress the state of the art of building modern REST API's. The ASP.NET WebAPI chapters are a good cohesive study of how/why the framework was built and how to use it for more than hello-world API's.

      Overall, well worth the money.

      (4 of 5 customers found this review helpful)

       
      4.0

      Great book to start with

      By greg

      from Budapest, Hungary

      About Me Developer

      Verified Reviewer

      Pros

      • Accurate
      • Easy to understand
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly Designing Evolvable Web APIs with ASP.NET:

        I think this book starts from the basics. It explains what is the purpose of an API, it explains how should an API be constructed, created and implemented. The book presents the known methods for building a web api. It is explained why apis which communicate through HTTP should be more widely used then the ones based on SOAP or REST or other protocols.

        The firs half of the book really explains the details about constructing an api, presenting the possibilities and guidelines, which API developers should keep in mind. After presenting the general guideline, the book explains the structure of the ASP.NET WebApi, what is the execution flow of the API invokes, which class should be inherited when security is the primary concern and how are different filtering layers executed. It is presented how an ASP.NET WebApi application can be hosted inside IIS or ran as a separated process where there is no need for IIS.

        There is a good explanation of the HTTP protocol, HTTP headers and the idea behind using HTTP as an overall communication protocol. The final book will contain explanations related to data formatters, the HttpClient implementation inside the .NET Framework and there will be a dedicates section for testing.

        Another thing which was really sympathetic for me is the appendix, where the different media types are presented. Inside the book the author(s) put a big accent on standardization of media types and APIs. There are presented a lot of existing media types which are not so well known, but could/should be used when designig an API.

        I review for the O'Reilly Reader Review ProgramWhen I read the book it was available as a draft and also being a draft it had great knowledge and stuff in it. I would recommend this book to anyone who knows/plans to write an API which will be used by others and will need constant improvement and feature change.

        (4 of 5 customers found this review helpful)

         
        5.0

        Great Book!

        By John

        from St. Paul MN

        About Me Developer

        Verified Reviewer

        Pros

        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about oreilly Designing Evolvable Web APIs with ASP.NET:

          This book seems to be have been a huge undertaking.

          As an ASP.net developer, this book hit a little close to home with me. I'm astounded at the capabilities of this platform. Now that it has expanded into the rest of the open-source arena with tools like Nuget, we get the same exciting abilities as the rest of the web developers.

          This ASP.net API technology (semi)recently made available just continues this movement of awesomeness. This book attempts to help advanced developers add to the fast increasing list of expandable APIs. As far as I can tell, it succeeds on all levels.

          I usually try to quickly pass over the history lesson at the beginning of programming books, but the section "Origins of Web APIs" was quite fascinating, covering the beginnings of API use in Salesforce, Ebay, Amazon, Twitter, Google, etc., etc..

          Displaying reviews 1-4

          Back to top

           
          Buy 2 Get 1 Free Free Shipping Guarantee
          Buying Options
          Immediate Access - Go Digital what's this?
          Ebook: $41.99
          Formats:  DAISY, ePub, Mobi, PDF
          Print & Ebook: $54.99
          Print: $49.99