Pages Core

NuGet packageOwin.Framework.Pages.Core
GitHub sourceOwinFramework.Pages.Core

Home |  Readme

[Option] attribute | The OWIN Framework Pages

The [Option] Attribute

You can attach this attribute to pages, services and service endpoints to include information about http methods, headers, query string parameters etc that are supported. This information will be incorporated into the self-documentation for the website.

Example Usage

[Option(OptionType.Method, "GET", "

Returns the html for page 2

")] [Route("/page2", Method.Get)] internal class Page2 { }