Web service
A web service is a network-accessible software service that exposes functionality or data through a defined interface using web protocols.
Building Web APIs with ASP.NET Core
A web API is an application programming interface exposed through web protocols, commonly HTTP, for communication between software systems.
- How it is used
- Provides multiple software clients with structured access to data without exposing the database directly.
- How deep it goes
- Moves from definition and architecture to project creation and controller routing, while excluding non-HTTP messaging protocols.
- Examples
- Uses a board-game catalog serving a website, mobile app, management portal, and analysis service, alongside a generated weather-forecast endpoint.
- What you can do after
- Build it from scratch with the ASP.NET Core web API template, then map controller actions and verify the application runs.
Read how Building Web APIs with ASP.NET Core explains web service →
Rust Servers, Services, and Apps
A web service is a software service that exposes functionality for network clients through web communication protocols.
- How it is used
- Provides HTTP APIs for application data, first as a server exercise and then as the backend for a separate web app.
- How deep it goes
- Builds from a limited GET-only HTTP implementation toward REST handlers, database state, and tests; the initial server is not production-ready.
- Examples
- Uses a JSON shipping-orders endpoint and a tutor API consumed by a server-rendered tutor-list page.
- What you can do after
- Build it from scratch as a limited HTTP/JSON server, then apply Actix Web and SQLx to a tested database-backed REST service.
Read how Rust Servers, Services, and Apps explains web service →
ASP.NET Core in Action, 3e
An HTTP API application exposes application functionality through endpoints that communicate using the HTTP protocol.
- How it is used
- Uses HTTP APIs to provide data and functionality to single-page applications, mobile apps, and other backend services.
- How deep it goes
- Defines HTTP APIs and their consumers, compares application approaches, and examines remote-call connection pitfalls.
- Examples
- Illustrates an email service accepting an address and message, and an e-commerce application delegating email and payment processing.
- What you can do after
- Apply it via ASP.NET Core minimal APIs and use HttpClient to call remote HTTP APIs.
Pro ASP.NET Core 7, Tenth Edition
A web service is a network-accessible software interface that exposes application functionality through web protocols.
- How it is used
- Provides application data to HTTP clients, including JavaScript and Blazor WebAssembly applications.
- How deep it goes
- Works through minimal API routes, request values, JSON bodies, responses, and tests while identifying controllers as another implementation choice.
- Examples
- Uses product GET and POST routes, browser GET requests, a PowerShell POST command, and a Blazor WebAssembly client.
- What you can do after
- Build it from scratch with ASP.NET Core endpoints, test product routes, and consume a service through HttpClient.
Read how Pro ASP.NET Core 7, Tenth Edition explains web service →
.NET in Action, Second Edition
A web service is a software service that exposes functionality or data for interaction over a network, commonly through web protocols.
- How it is used
- Positions web services as a common .NET job and a way to expose an existing console program through a browser-accessible endpoint.
- How deep it goes
- Builds a minimal ASP.NET Core service from an empty template, mapping GET routes and handling optional query input.
- Examples
- Ports an ASCII-art console program to GET endpoints, including a route that accepts text and an optional font query parameter.
- What you can do after
- Build it from scratch with ASP.NET Core’s empty web template and map GET endpoints for text-to-ASCII-art conversion.
Read how .NET in Action, Second Edition explains web service →
Pro Angular 16
A web service is a network-accessible software service that provides data or operations to clients through web protocols.
- How it is used
- Delivers SportsStore model data to Angular through asynchronous HTTP requests and supports product and order operations.
- How deep it goes
- Defines REST around HTTP verbs and URLs, compares common operations, and cautions that implementations vary.
- Examples
- Uses products and orders, a Kayak response, localhost URLs, json-server, and an HTTP verb table.
- What you can do after
- Operate/configure json-server, test product endpoints, and choose HTTP methods for collection and object operations.
Also covered in
- A Pythonic Adventure: From Python basics to a working web app
- Build Your Own Robot: Using Python, CRICKIT, and Raspberry Pi
- Tech Startup Toolkit
- Grokking Statistics
- Learn Go with Pocket-Sized Projects
- Essential TypeScript 5, Third Edition
- The Cloud at Your Service: The when, how, and why of enterprise cloud computing
- Automating API Delivery
- Rust Web Development
- Code Like a Pro in Rust
- Spring Start Here, Second EditionIn early access (MEAP)
- Go in Action, Second Edition
What to know first
- JSONJSON is a language-independent text-based data-interchange format that represents structured values using objects, arrays, strings, numbers, booleans, and null.
- HTTPHTTP is an application-layer protocol that defines request-and-response communication for transferring resource representations and related metadata between networked systems.
- contractA contract is an agreed specification of the conditions, expectations, rights, or obligations that govern behavior or interactions between parties or software components.
- web applicationA web application is software that provides functionality through web technologies and is accessed over a network, typically through a browser or other web client.
Related concepts
- HTTPuses · HTTP is an application-layer protocol that defines request-and-response communication for transferring resource representations and related metadata between networked systems.
- RESTincludes · REST is an architectural style for distributed systems that organizes interactions around identifiable resources and their representations, using a uniform interface and constraints such as statelessness and cacheability.
- providerproduced by · A provider is a software component or system that exposes capabilities, data, or processing for use by other components or systems.
- service-oriented architectureimplements · Service-oriented architecture is a software architectural style that organizes functionality into cooperating, interoperable services with defined interfaces.
- databaseuses · A database is an organized persistent data store, typically managed by software, that supports storing, retrieving, and modifying data.
Questions about web service
What is web service?
A web service is a network-accessible software service that exposes functionality or data through a defined interface using web protocols.
Which Manning books explain web service?
Building Web APIs with ASP.NET Core, Rust Servers, Services, and Apps, ASP.NET Core in Action, 3e, Pro ASP.NET Core 7, Tenth Edition, .NET in Action, Second Edition and Pro Angular 16.
What should I know before learning web service?
Manning books that teach web service usually introduce JSON, HTTP, contract and web application first.
What kinds of web service are there?
Kinds of web service include REST.
What is web service a kind of?
Web service is a kind of network-oriented service. A network-oriented service is a software service that communicates over a network and cooperates with other services while maintaining limited dependency on their internal details.
What is web service also called?
Web service is also called HTTP API, http service or web api.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.





