API does not deploy in debug mode
when i try to test my API in debug mode it tries to open the swagger page but i get an unable to connect. the most confusing part is this doesn't happen every time, most of the time i can restart the api (still in debug mode) and it now works, but its getting more and more frequent and i am starting to be concerned.
11 Replies
what output do you get in the terminal when you run it and it fails?
and/or, what is the specific error message?
no errors, just blank. will post a screen shot once i get back online (probubly a few hours)
of corse, now that i try to reproduce the issue its not happening :(
I've been having the same issue lately
good to know i am not crazy
eventualy it will start happening again and i will post some screen shots
you may have problem in your controller. For instance get methods with the same name or post methods. Your route could have some missmatching. It is hard to detect the problem without seeing the code.
no, the app just doesn't start
or it starts and hangs immediately
then it randomly works after a restart
yep same issue
I think it might be deadlocking on
.Result
for tasks. I had it in a few places in the initialization code. Seems to work fine after I changed it to use async throughoutjust happened to me again:
fixed itself as soon as i reloaded the page
happened again, this time reloading didnt fix it
console was empty
are you creating the db manually? can you show me the code?
or send the link to the repo
can link to a repo, nda
but i am creating my own database, SQLite