C
C#5mo ago
Camster

✅ 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
No description
No description
No description
5 Replies
Jimmacle
Jimmacle5mo ago
might be a dumb question, but do you actually have an endpoint handling GET /?
Camster
CamsterOP5mo ago
Actually, I just figured the issue out. lol I feel so dumb. This was what I needed to read.
No description
Camster
CamsterOP5mo ago
Sorry to waste time, I'm good here. Thank you 🙂
Jimmacle
Jimmacle5mo ago
:pepeok: $close if that's all
MODiX
MODiX5mo ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server