✅ Minimal API IIS Deployment: 404 Error
I'm having difficulty deploying a minimal api project to IIS. As a test, I've created the basic API project base template with no changes. I'm able to start the API in command line without issues, but browser just fails and I cannot figure out why. The only thing I can find in Event View is a failure to redirect to https, but disabling the UseHttpsRedirection() option doesn't fix it. I've also ensured IIS_IUSRS has access to the website directory. Any help would be appreciated
5 Replies
might be a dumb question, but do you actually have an endpoint handling
GET /
?Actually, I just figured the issue out. lol I feel so dumb. This was what I needed to read.
Sorry to waste time, I'm good here. Thank you 🙂
:pepeok:
$close if that's all
If you have no further questions, please use /close to mark the forum thread as answered