Controller action not being hit in Dotnet core based app


Debugging tips

a) Check your project sdk - this is a good thing to do in case you just converted your dll or console based application to a webapi based application.

Originally it might look like this



The correct settings :-




b) route - check your route in your controller.



Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type