Generating links using route names in asp net web api

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

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

  • @rahmiul1980
    @rahmiul1980 6 месяцев назад

    Thank U Sir, I hope you are doing well, GBU

  • @PatilSandip321
    @PatilSandip321 2 года назад

    Thank you. Great explanations

  • @shuklaabhi87
    @shuklaabhi87 3 года назад

    Thanks for information. This was very helpful.

  • @MrRufus311088
    @MrRufus311088 6 лет назад +5

    i was getting such error:HTTP/1.1 405 Method Not Allowed. When i added [Route("~/api/students")] attribute before Post method, problem was solved.

  • @mhmdnayef710
    @mhmdnayef710 7 лет назад

    A lot of regards 4 U Mr Kudvenkat

  • @PlusAnand
    @PlusAnand 2 года назад

    Thanks 👍

  • @belmiris1371
    @belmiris1371 2 года назад

    Thank You!

  • @ms0161
    @ms0161 7 лет назад

    Thank you so much, Venkat Sir

  • @raqibul1000
    @raqibul1000 7 лет назад

    Thanks from Bangladesh.

  • @saurabhchauhan232
    @saurabhchauhan232 7 лет назад

    Thank you venkat.

  • @mhmdnayef710
    @mhmdnayef710 7 лет назад

    Thanks from Jordan

  • @MohanrajPeriasamy
    @MohanrajPeriasamy 7 лет назад

    Thank you Venkat..can we have videos on how to pass secured message using Web APIs...

  • @DimitarUzunov1412
    @DimitarUzunov1412 7 лет назад

    I just finished video 7 from this playlist (in the comments it was mentioned that this video solves the missing forwards slash problem) and added the "Route" code. And although the POST request now works perfectly, the GET request now always returns the full list instead of just the id you specified. It's probably something minor but I have no idea what to change to fix this, can you tell me what to add/change to make it work with the Route code included?

  • @layanjwei8532
    @layanjwei8532 4 года назад

    Can you please add a video on how to apply hateoas to this?

  • @ceruttigino
    @ceruttigino 7 лет назад

    Sir, I left this method in my code when I started the tutorial
    [Route("")]
    public IEnumerable Get()
    {
    return students;
    }
    and got this message in fiddler after a post request:
    Message=The requested resource does not support http method 'POST'.
    status code 405
    to make the post action work I had to rimove the get request. Why on earth is that?
    Thanks

    • @tomabbott9221
      @tomabbott9221 7 лет назад +1

      It's due to the fact the Route is set as ("")

  • @rafiazaheer3947
    @rafiazaheer3947 7 лет назад

    i want to fetch all data of customer which have id 4, but it show only first data of that customer, i'm using GET method in this api.. can anyone help me?

  • @gkmishra2009
    @gkmishra2009 5 лет назад

    Give video on SSIS and SSRS

  • @sovanjan
    @sovanjan 3 года назад

    HTTP/1.1 502 Fiddler - Connection Failed

  • @nasirmumtazable
    @nasirmumtazable 7 лет назад

    Thank you Venkat.