fish-404 / fish-404.github.io

blog
https://fish-404.github.io/
0 stars 0 forks source link

Service Design #18

Open fish-404 opened 1 year ago

fish-404 commented 1 year ago

Compare:

fish-404 commented 1 year ago

Swagger:

Use Swashbucle in NuGet Package to document your Web API

Seems old .Net version can't install Microsoft.OpenApi.Models which is used in Swashbuckle.AspNetCore, should use Swashbuckle.WebApi instead. Haven't found out which lowest .Net version Microsoft.OpenApi.Models supports.

Usage:

fish-404 commented 1 year ago

Web API https://learn.microsoft.com/en-us/aspnet/web-api/ https://learn.microsoft.com/en-us/aspnet/core/web-api/?view=aspnetcore-6.0 https://lachlanbarclay.net/2018/02/throttling-your-api-in-asp-net http://restfulwebapis.org/ https://www.w3.org/2001/tag/doc/whenToUseGet.html

fish-404 commented 1 year ago

WCF

Tips:

[^1]: c# - Wcf The server was unable to process the request due to an internal error - Stack Overflow