I'm trying to attain this type of Url for my services:
Then when the api is updated:
I'm also trying to build this functionality into a class that uses the WebActivator.PreApplicationStartMethod(). I plan on building a NuGet package for myself so I can easily add this standard configuration to all of my future applications so I don't
have to manually work in the Global.asax file.
Where is the best way to place the routePrefix of "api/v1.0"?
I'm presently using this in the static class in my App_Start folder:
... and this doesn't seem like the best way of handling the problem:
I'm trying to encapsulate this as much as possible while maintaining best practices and flexibility. Any thoughts are welcome.