在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:featherhttp/framework开源软件地址:https://github.com/featherhttp/framework开源编程语言:C# 100.0%开源软件介绍:Feather HTTPA lightweight low ceremony APIs for .NET Core applications.
Hello Worldusing System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
var app = WebApplication.Create(args);
app.MapGet("/", async http =>
{
await http.Response.WriteAsync("Hello World");
});
await app.RunAsync(); TutorialThe tutorial will walk you through building an HTTP API for a todo application using FeatherHttp. Using CI BuildsTo use the
Once you've installed the template, run:
This will create a new project using FeatherHttp. To use CI builds add the following nuget feed: <?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="featherhttp" value="https://f.feedz.io/featherhttp/framework/nuget/index.json" />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration> See the list of versions |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论