.NET 8 BACKEND API: FastEndpoints & EF Core | Full Course 2024

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 8

  • @arabiceasycode
    @arabiceasycode Месяц назад +1

    i love this video

  • @keithjairam8452
    @keithjairam8452 2 месяца назад

    Great content

  • @kehindeoluwadamilare5594
    @kehindeoluwadamilare5594 2 месяца назад

    Nice Video from Nigeria...

  • @asesorwebvideos
    @asesorwebvideos Месяц назад

    Gracias saludos desde Chile....

  • @sabarimanikandan19
    @sabarimanikandan19 7 дней назад

    Hey man, I have been using fast endpoints as well, I am facing issues with adding pre processors, I have a global and a endpoint level preprocessor, global preprocessor (to validate headers) sends a response if header validation fails, but the request it is not stopping there, it still executes other pre processors as well before returning the response, I want it to be stop the execution. Could you help me with this?

    • @MircoBenthien
      @MircoBenthien  6 дней назад

      Yea I ran into that as well. That is just how it works, you need to check if the response already started like this.
      if(ctx.HttpContext.Response.HasStarted) return;
      The pink box explains it fast-endpoints.com/docs/pre-post-processors#short-circuiting-execution