smolesen
smolesen
Hi Sorry if I didn't explain good enough... This was not about the 'api' prefix, it's about only being able to reach the one action-method when using AR, whereas being...
Yeah, that's what I'm doing.. but inside the RouteNameBuilder, how do I know if the route is an internal route or not... Ie. how do I distinct whether I have...
No, it's saying that if route + '/' != prefix + '/' then route = prefix + route.... The service is called with product/product?name=1234567, so no need for the {name:string}...
Think some of the code got lost when pasting... I've changed it to var convention = type.GetCustomAttribute<RouteConventionAttributeBase>(true); var routeAreaAttribute = type.GetCustomAttribute<RouteAreaAttribute>(true); if (routeAreaAttribute == null && convention != null) routeAreaAttribute...