Tag: interviewQuestion

  • NetCoreUsefullEndpoints-part 8- adding start date

    In my NuGet NetCoreUsefullEndpoints package  I have had already registered the actual date as var rh = route.MapGet(“api/usefull/dateUTC”,(HttpContext httpContext) =>            {                return Results.Ok(DateTime.UtcNow);            }); Now I want to register also the start date – the date where the application has been started. 1. How to do this  ? 2. What will be the route ? For…