none
WebClient .net framework 4.0 32 bit cannot call api RRS feed

  • Question

  • Hello,
    I am using webclient from desktop app with .net framework 4.0 32 bit

    The webclinet  can not call methods in api controller, it gives internal server error

    However it works well with mvc contoller.

    Sunday, April 14, 2019 2:39 PM

All replies

  • Hello,
    I am using webclient from desktop app with .net framework 4.0 32 bit

    The webclinet  can not call methods in api controller, it gives internal server error

    However it works well with mvc contoller.


    But you can't post what the error is? Where is Houdini to pull this rabbit out of the hat? 
    Sunday, April 14, 2019 5:28 PM
  • ISE means the server threw an exception. You'll need to look into the server code to see why that is. It could be related to the data you pass but in this case your API isn't doing validation properly so the issue still resides on the API side. The stack trace of the exception should help clarify what is going on but debugging the server side would work as well.

    For issues with a Web API controller please post in the ASP.NET forums.


    Michael Taylor http://www.michaeltaylorp3.net

    Monday, April 15, 2019 1:53 PM
    Moderator