World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
I finally figured it out. I had to upgrade the .net framework from 4.5 to 4.6. I have no idea why, because everything was working fine before.
Hi!
I have a web api in my EPiServer application which previously worked fine. But suddenly I can't get it to run in IIS. Localhost works fine. It seems the web api is found, but the routing is wrong. I get this error message in postman when I run (...)/api/epi/helptexts:
{
"Message": "No HTTP resource was found that matches the request URI '(...)/api/epi/helptexts'.",
"MessageDetail": "No type was found that matches the controller named 'helptexts'."
}
This is the controller:
This is the webApiConfig.cs:
This configuration works fine in another site. Can anyone point me in the right direction?