.NET MinimalApi xyy123 2023-10-18 618 阅读1分钟 路由定义 get请求 app.MapGet("/",()=>"hello world!"); post请求 app.MapPost("post",()=>"post");