一键导入
servicestack-typed-clients
Leverages typed ServiceStack clients and DTO reuse across boundaries.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Leverages typed ServiceStack clients and DTO reuse across boundaries.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Designs stable, discoverable APIs using routes, metadata, and versioning conventions.
Implements authentication using ServiceStack Auth Providers and session handling.
Applies role-, permission-, and ownership-based authorization using ServiceStack idioms.
Implements AutoQuery services, custom filters, and permission-aware querying.
Designs request/response DTOs using DTO-first, message-based ServiceStack conventions.
Controls OpenAPI / metadata exposure without compromising ServiceStack-first design.
| name | servicestack-typed-clients |
| description | Leverages typed ServiceStack clients and DTO reuse across boundaries. |
Typed clients provide a type-safe way to consume ServiceStack APIs without manual URL construction or code generation.
ServiceStack provides clients for many languages:
JsonServiceClient, JsonHttpClient.JsonServiceClient.var client = new JsonServiceClient(BaseUrl);
var response = await client.GetAsync(new GetCustomer { Id = 1 });
ServiceModel) as the server.[Route], IReturn<T>).Clients automatically handle WebServiceException and provide access to the ResponseStatus for structured error reporting.
*Async methods for better performance and scalability.ResponseStatus to provide meaningful feedback to users.