简体   繁体   中英

How to resolve a 404 error for a asp.net web api deployed to a local file

So I have a web api project that runs perfectly locally (swagger page opens up) however when I deploy it to a local file and try to run it through IIS I get a 404 page error. I've looked through several documents but can't seem to find a fix for this issue

These are the swagger options and when you deploy your site must change "SwaggerEndPoint".

在此处输入图像描述

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