Info
Version: | 2.8.5 |
Author(s): | Surfsky |
Last Update: | Saturday, November 28, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/surfsky/HttpApi |
NuGet Url: | https://www.nuget.org/packages/App.HttpApi |
Install
Install-Package App.HttpApi
dotnet add package App.HttpApi
paket add App.HttpApi
App.HttpApi Download (Unzip the "nupkg" after downloading)
(02) HttpApi can export class function to http interface.
(03) HttpApi can export page's method to http interface.
(04) HttpApi can auto create client javascript.
(05) HttpApi can auto create api list page, api test page.
(06) Caching: You can assign api result caching duration. And client can refresh cache by '_refresh=true' parameter.
(07) Auth: IP, Method, LoginStatus, UserName, UserRole, Token, and custom logic.
(08) Capsule: return standard APIResult object to client.
(09) Output configuration: You can config output format, such as enum, datetime, long number, error.
(10) Server site and client can assign api output data format, such as text, xml, json, file, image, base64image.
(11) Support nullable and default parameter.
(12) Support traffic control, see HttpApiAttribute.AuthTraffic
(13) Support upload file, see HttpApiAttribute.PostFile.