ASP.net core web api debugging issue

Manoj Sahu 1 Reputation point
2021-05-18T16:34:32.22+00:00

I am struggling with Asp.net core web API IIS debugging in localhost. when I try to run it with local IIS and send a request through the postman it keeps on sending the request, I don't see any response. I have tried lot many things to make it working but still the same thing....

I have made one new asp.net core web API and this is working fine. but the one on which I am having issue is my project solution I am not sure whats going on there.

I am using windows 10. VS 2019.

Please help me out

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,138 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,201 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Duane Arnold 3,211 Reputation points
    2021-05-18T18:21:24.757+00:00

    You're actually doing what's in the link concerning Core and Local IIS debugging where the VS Web project is connected to the code local IIS is hosting?

    https://learn.microsoft.com/en-us/visualstudio/debugger/how-to-enable-debugging-for-aspnet-applications?view=vs-2017

    How much data is being sent on the request?

    Why can't you use VS debugging of hosted code on local IIS, which you can go to the browser address bar and make a request to a controller action method and see the response in the browser, by debug attaching to the WPW3.exe that is hosting the Web program and setting breakpoints?

    0 comments No comments