NuGet package | Owin.Framework.Pages.Core |
GitHub source | OwinFramework.Pages.Core |
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.
[IsPage("page2")] [Option(OptionType.Method, "GET", "Returns the html for page 2
")] [Route("/page2", Method.Get)] internal class Page2 { }