Try our conversational search powered by Generative AI!

Upgrade from CMS 12.14 to CMS 12.18 causes API 404

Vote:
 

My colleague and I upgraded two projects to the latest version of CMS. The first one went great, the second one broke the API controller. There are no errors from what we can tell, it's just that the routes that worked before the update do not work any longer. 

Has anyone else experienced this, or have some idea what might cause this problem? 

#299986
Apr 12, 2023 14:05
Vote:
 

This issue has been resolved by adding 

app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
in Startup.cs. 
#300032
Edited, Apr 13, 2023 6:56
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.