Giter Site home page Giter Site logo

boriphuth / webapi2book Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jamiekurtz/webapi2book

0.0 2.0 0.0 28.84 MB

Example source code that accompanies ASP.NET Web API 2: Building a REST Service from Start to Finish

Home Page: http://amzn.to/SR46eq

webapi2book's Introduction

WebApi2Book

This repository contains the example source code that accompanies ASP.NET Web API 2: Building a REST Service from Start to Finish (ISBN-13: 978-1484201107).

The book is available from Amazon: http://www.amazon.com/gp/product/1484201108.

The repository contains chapter-specific branches so that you can follow along with the implementation described in the book. The "completed" branch contains the finished solution, including the ASMX-based service and client discussed in Chapter 8.

Demo: Using the Fiddler Files

Fiddler session files are available in the doc directory. Please be sure to modify the port number in the request messages to match that of your own Web API.

Demo: Using Web API to Process SOAP Messages

  1. Make sure the following sites are running in iisexpress: WebApi2Book.Web.Api and WebApi2Book.Web.Legacy.Api.
  2. Start the WebApi2Book.Windows.Legacy.Client application.
  3. Use the application to invoke methods against the legacy SOAP-based service and against the Web.API REST service.

If you examine the client application code you'll notice that the same proxy class is being used for both services (see the MainWindow.GetServiceClient method). The only difference is the endpoint being used for the particular service.

webapi2book's People

Contributors

bwortman avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.