2

I am using the ASP.NET Boilerplate framework. I have added my code to web API. I am getting an error "An internal error occurred during your request!", So, I want to debug the API. Can anyone tell me how can I do that? when I call the web API, breakpoint should come in the Service project.

2

1 Answer 1

4

Please follow the points below for the solution to your problem.

  1. You can open the browser console and in the network tab you can see that which API is getting failed and you can also see the HTTP response code.
  2. For debugging you can use the solution mentioned here.
  3. You can also see the full exception details in Logs.txt file on the Web.Host\App_Data\Logs path. For logging, you can refer this document.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.