'.NET Framework API Swashbuckle (Swagger) shows all params on iisexpress in dev but on prod IIS Server 2019 not showing all params
I have deployed it to IIS v11 on Windows Server 2019. The API itself works, it is a Web API not on .NET Core. Swashbuckle shows only 1 param in the deployed state.
It is a configuration of some sort - but which one?
This is the API:
[HttpPost]
[Route("endCitrixOnPremSession/{broker}/{uid}")]
public bool endCitrixOnPremSession(string broker, int uid)
The first screenshot is the localhost debugging IISexpress.
This screenshot is running on IIS it is not picking up the whole url
Solution 1:[1]
I found the issue. 100% a misconfig of my iis server. Solution was obfuscated by me, looking for answers in the wrong rabbit whole. Path in IIS was set to wrong drive.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jay |


