简体   繁体   中英

.NET 5 WebApi Swagger Executes throw 417 (iis)

  1. I deployed my API's to my local IIS
  2. I try to test them using swagger and the requests all throw a 417
  3. When I run in IIS Express I don't have that problem.

What could be going on here?

Thanks for any ideas. -Ken

It looks like I simply needed to change the name of the app pool to match my website. It started working fine after that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM