Interfaces

Project

Pages Restful

NuGet packageOwin.Framework.Pages.Restful
GitHub sourceOwinFramework.Pages.Restful

Home |  Readme

Endpoint parameter definition with OWIN Framework Pages

Service Endpoint Parameters

Generally speaking your service endpoints will have imputs that define their behavior. For example if your service endpoint produces an invoice in PDF format, then it might take in the customer reference number and the invoice number.

This REST framework defines an [EndpointParameter()] attribute that you can apply to service endpoints or the arguments of an endpoint method to define the data type of the parameter, the validation rules for this parameter and the ways that the caller can pass this parameter to the service.