App.HttpApi 2.8.5

dotnet add package App.HttpApi --version 2.8.5
                    
NuGet\Install-Package App.HttpApi -Version 2.8.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="App.HttpApi" Version="2.8.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="App.HttpApi" Version="2.8.5" />
                    
Directory.Packages.props
<PackageReference Include="App.HttpApi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add App.HttpApi --version 2.8.5
                    
#r "nuget: App.HttpApi, 2.8.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package App.HttpApi@2.8.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=App.HttpApi&version=2.8.5
                    
Install as a Cake Addin
#tool nuget:?package=App.HttpApi&version=2.8.5
                    
Install as a Cake Tool

(01) HttpApi is a convinent framework to provide data by http, It can be the upgrating replacement for WebAPI.
(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

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.8.5 1,169 11/28/2020
2.8.4 513 11/27/2020
2.8.3 571 11/17/2020
2.8.2 550 10/28/2020
2.8.1 569 10/13/2020
2.8.0 699 11/28/2019
2.7.0 670 11/26/2019
2.6.1 702 11/8/2019
2.6.0 680 11/5/2019
2.5.4 704 11/2/2019
2.5.3 679 10/26/2019
2.5.2 714 9/30/2019
2.5.1 702 9/30/2019
2.5.0 719 9/29/2019
2.4.1 670 9/29/2019
2.4.0 689 9/29/2019
2.3.9 713 8/15/2019
2.3.8 774 8/8/2019
2.3.7 687 8/7/2019
2.3.6 714 8/6/2019
2.3.5 761 7/11/2019
2.3.4 748 5/24/2019
2.3.3 866 12/3/2018
2.3.2 908 11/23/2018
2.3.1 941 11/2/2018
2.3.0 899 10/31/2018
2.2.0 889 10/23/2018
2.1.0 913 10/22/2018
2.0.2 891 10/22/2018
2.0.1 890 10/22/2018
2.0.0 939 10/22/2018
1.0.2 1,137 12/14/2017
1.0.1 1,105 12/12/2017
1.0.0 1,348 12/12/2017

+ Support AuthTraffic to defence attack (see Demo.Login)
+ Add Group property
+ Support DescriptionAttribute for method
+ Parameter  error check
+ Friendly exception