Open Daniel15 opened 11 years ago
I was waiting for someone to ask about it before implementing it, didn't want to implement something that wouldn't be used :)
How do you normally build URLs for ASP.NET WebAPI?
hahah, thanks for reply, before i started using Angular.js i was building it using Url.Action method, which is pretty cool as you get syntax intellisense with visual studio, but now after i have gone completely client side and using WebApi for Ajax calls, i am only left with manually typing url like "/api/customers".
i was hoping that your library will bring back the goodness of Url.Action Method :) thanks in advanced.
That would be nice to have :+1:
Me too. Also using angular.js + ASP.NET WebAPI :+1:
I was looking for this feature too. Actually, I see this package being useful mostly for WebApi, were most calls from client code are directed too nowadays. At the moment what I do is: I have a RouteDescriptor class with name and pattern properties. Then with razor, I put all the patterns as properties of a js object and when I want a route url I use the corresponding property doing a replace for the parameters, something like routes.Products.replace('{productId}', id); But with this package, I see it more like using controller and action names instead.
+1
Yes! Ya ya, da da da... :)
Hello! Will RouteJs support WebAPI routes?
hi, any update on this?
thanks in advanced