원클릭으로
servicestack-service-implementation
Implements services using Service / ServiceInterface, request lifecycle, and implicit dependencies.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Implements services using Service / ServiceInterface, request lifecycle, and implicit dependencies.
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-service-implementation |
| description | Implements services using Service / ServiceInterface, request lifecycle, and implicit dependencies. |
Implement business logic in the ServiceInterface project by inheriting from the Service base class.
Service.Get, Post, Put, Delete, Any).public class MyServices : Service
{
public object Any(Hello request)
{
return new HelloResponse { Result = $"Hello, {request.Name}!" };
}
}
ServiceStack's Service base class provides easy access to commonly used resources:
Db: The OrmLite IDbConnection (auto-disposed).Cache: Access to the registered ICacheClient.AuthRepository: If an AuthFeature is enabled.SessionBag / GetSession(): Access to the user's session.Request / Response: Low-level access to the underlying IRequest/IResponse.AppHost.Configure.Async methods for I/O bound operations (e.g., GetAsync, PostAsync).ResponseStatus.