Steven Ao

Results 6 comments of Steven Ao

I am also trying to migrate my mvc4 project using AR to mvc5 too. I have a class which extends the IAttributeRouteFactory and assign it through routes.MapAttributeRoutes(cfg => { cfg.AddRoutesFromAssembly(Assembly.GetExecutingAssembly());...

https://github.com/ASP-NET-MVC/aspnetwebstack/blob/master/src/System.Web.Mvc/Routing/AttributeRoutingMapper.cs Take a look at the the file. It has basically a generator from attributes to route in MVC5. In MVC5, most of the core attribute route stuff is marked...

using RoutePrefixAttribute = AttributeRouting.RoutePrefixAttribute; using RouteAreaAttribute = AttributeRouting.RouteAreaAttribute; The above 2 lines should solve most of the namespace conflicts. AR routes.axd seems to be working in MVC5 fine. So, if...

well, I did some initial work to make compatible with MVC5. All tests ran okay and that was about it. I didn't do extensive test on it. Feel free to...

@di97mni: I am not sure what constitutes to your compilation issues. I assume you compiled the clone's mvc5 branch successfully and you are grabbing the generated AR library dll to...

The build is failing on one of the unit tests. Should the unit test be updated in the PR as well?