Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi,
I have a problem that I have been struggling with for quite some time now.
I am trying to implement a web api to our project, that should work much like episervers service api.
I've made it so far that I can get request a token, but I can't get my attribute routings to work.
What makes me confused is that I have pretty much copy/pasted episervers implemention of their service api (which works), but mine won't.
Obvisously I am missing something, or is there some kinda magic behind episervers attribute routes?
Here is the code for my Web API project:
ApplicationBuilderExtensions.cs
IntegrationInitialization.cs
BrandsController.cs
And this is Startup.cs in our Main project
And then we have a initialization module in our Main project that map the attribute routes
I am running on Episerver 10.10.4.0 and Episerver.Commerce 11.4.1.0
If you're missing some code, feel free to ask and I will update.
Thank you!
/ Kristoffer