Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering ASP.NET Web API

You're reading from   Mastering ASP.NET Web API Build powerful HTTP services and make the most of the ASP.NET Core Web API platform

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781786463951
Length 330 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Malendra Hurbuns Malendra Hurbuns
Author Profile Icon Malendra Hurbuns
Malendra Hurbuns
Mithun Pattankar Mithun Pattankar
Author Profile Icon Mithun Pattankar
Mithun Pattankar
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Introduction to Microservices and Service-Oriented Architecture FREE CHAPTER 2. Understanding HTTP and REST 3. Anatomy of ASP.NET Core Web API 4. Controllers, Actions, and Models 5. Implementing Routing 6. Middleware and Filters 7. Perform Unit and Integration Testing 8. Web API Security 9. Integration with Database 10. Error Handling, Tracing, and Logging 11. Optimization and Performance 12. Hosting and Deployment 13. Modern Web Frontends

Testing PacktContacts web API

ASP.NET Core applications can be hosted and deployed in numerous ways, with options such as Local IIS, Windows Azure, Docker, standalone, cheap Linux hosting providers, virtual machines, AWS, and many more.

Until now, we have only seen the hosting and deploying of a web API application, but we have never tested one. In this section, we will test all the CRUD scenario and custom middleware functionality. We will be using the Postman tool, however, Fiddler can also be used.

The following table shows the deployed location and the URL needed to access the application:

Deployed location

Access URL

Local IIS

http://localhost:85

Standalone

http://localhost:5000

Azure App Services

http://packtcontacts.azurewebsites.net

Docker

http://192.168.99.100:85/

EC2 on AWS

http://ec2-35-164-207-251.us-west-2.compute.amazonaws.com

...
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 $19.99/month. Cancel anytime