Operation-Oriented APIs and AI Tools
This section focuses primarily on server-side application architecture.
It explains modern operation-oriented API design, automatic service discovery,
modular handler architecture, and how AI systems can discover and invoke business operations.
The material is presented as a gradual path from familiar HTTP API design
toward AI-discoverable tools.
-
From REST APIs to Operation-Oriented APIs
Explains the difference between REST resource orientation and RPC operation orientation, and why workflows and AI tools often fit RPC naturally.
-
Operation-Oriented APIs and AI Tools Fundamentals
Introduces the basic vocabulary and message structures used by modern
operation-oriented APIs and AI-discoverable tools, including requests,
responses, notifications, errors, and JSON-RPC envelopes.
-
Single Endpoint Architecture
Explains the single /rpc endpoint model and how method dispatch moves from URL routing into the message body.
-
Dependency Injection Role
Shows how method names can be mapped to handlers through a standard dependency injection.
-
One Operation, One Handler
Explains the operation-centric handler model and why it scales better than large service classes.
-
Automatic Discovery and Registration
Shows why manual registration does not scale and how assembly scanning and attributes solve the problem.
-
Swagger and RPC Discoverability
Explains what Swagger can and cannot discover when the API uses a single RPC endpoint.
-
AI-Friendly Operation Catalog
Explains how server-side applications can describe business operations
in a structured format that modern AI systems can discover and invoke automatically.
-
MCP Concepts Without the Mystery
Demystifies MCP as JSON-RPC plus capability negotiation, tool discovery, and tool invocation.
-
Plugin-Based Request Handler Assemblies
Explains how assemblies can be deployed into a plugin folder and automatically loaded as discoverable tools.
-
Production Hardening Checklist
Summarizes critical production concerns: security, validation, errors, logging, versioning, plugin trust, and observability.
-
Incremental Sample Solutions
Provides step-by-step examples of how to implement and extend the concepts discussed in previous sections.
Table of Content
Business Process Programming in .Net
© 2004–2026 Laskarzhevsky Software Inc.
Unless otherwise noted, the content of this website is licensed under the
Creative Commons Attribution 4.0 International License (CC BY 4.0).
Code examples are provided under the MIT License.
You are free to share and adapt the material provided that appropriate
credit is given and any modifications are clearly indicated.
The information provided on this website is for educational purposes only.
The author and publisher make no warranties regarding the completeness
or suitability of the information and are not responsible for any damages
resulting from its use.