Chapter
Resource-oriented architecture
Client-server architecture
Code on demand (optional)
POST versus PUT explained
Advantages and disadvantages of RESTful services
ASP.NET Core and RESTful services
Chapter 2: Building the Initial Framework – Laying the Foundation of the Application
Important points about SOAP
Server and client are independent
Setting up the environment
ASP.NET Core HTTP attributes
Single-page application model
Service-oriented architecture
Chapter 3: User Registration and Administration
Why authentication and limiting requests?
Setting up EF with the API
Generating the controller
Calling the API from a page to register the customer
Adding basic authentication to our REST API
Step 1 – Adding the (authorize) attribute
Step 2 – Designing BasicAuthenticationOptions and BasicAuthenticationHandler
Step 3 – Registering basic authentication at startup
Adding OAuth 2.0 authentication to our service
Step 1 – Designing the Config class
Step 2 – Registering Config at startup
Step 3 – Adding the [Authorize] attribute
Step 4 – Getting the token
Step 5 – Calling the API with the access token
Step 6 – Adding the ProfileService class
Client-based API-consumption architecture
Chapter 4: Item Catalogue, Cart, and Checkout
Client-side AddToCart function
UI design for placing an order
The client-side PostOrder function
Building order objects to match the model class Orders.cs
Pushing cart items into an order object as an array
PostOrders API POST method
Exposing shipping details
Chapter 5: Integrating External Components and Handling
Understanding the middleware
Adding logging to our API in middleware
Intercepting HTTP requests and responses by building our own middleware
JSON-RPC for RPC communication
Chapter 6: Testing RESTful Web Services
Test coverage and code coverage
Tasks, scenarios, and use cases
Testing the ASP.NET Core controller (unit testing)
Getting ready for the tests
Testing service calls using Postman, Advanced REST Client, and more
Performance or load testing
Chapter 7: Continuous Integration and Continuous Deployment
Introduction – deployment terminology
Build and deployment pipeline
Prerequisites for successful RESTful services deployments
The benefits of the cloud
Cloud-computing service models
Discussing the Azure environment
Adding code to the repository
CI and CD using TFS online
Initiating the CD release process
Chapter 8: Securing RESTful Web Services
Securing RESTful web services
The vulnerable areas of an unsecured web application
Cross-site scripting attacks
Fixing SQL injection attacks
Cross-site request forgery
Authentication and authorization in action
Basic authentication, token-based authorization, and other authentications
The security concerns of basic authentication
Token-based authorization
Other authentication methods
Securing services using annotations
Data encryption and storing sensitive data
Chapter 9: Scaling RESTful Services (Performance of Web Services)
Introduction to scalability
Scaling in (vertical scaling)
Scaling out (horizontal scaling)
Caching persisted data (data-tier caching)
Communication (asynchronous)
Chapter 10: Building a Web Client (Consuming Web Services)
Consuming RESTful web services
Building a REST web client
Implementing a REST web client
Chapter 11: Introduction to Microservices
Overview of microservices
Understanding microservice architecture
Communication in microservices
Why we should use microservices
How a microservice architecture works
Advantages of microservices
Prerequisites of a microservice architecture
Microservices ecosystem in ASP.NET Core
Azure Service Fabric – microservice platform
Stateless and Stateful services – a service programming model
Communication – a way to exchange data between services
Other Books You May Enjoy