79770864

Date: 2025-09-21 12:37:33
Score: 1
Natty:
Report link

I am using like this in my .net project

public class News : EndpointGroupBase
{
    public override void Map(WebApplication app)
    {
        var publicGroup = app.MapGroup("/news").WithTags("news");
        publicGroup.MapGet("/", ([AsParameters]GetNews.Request request) => GetNews.HandleAsync);
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yunus