r.DataTokens["Namespaces"] = new string[] {"Foo"};
That really didn't work for me in my scenario. I'll just wait until the next release. I'm sure it will get better then. It looks like from the code comments MapHttpRoute should be like MapRoute but just isn't quite done yet.
trendoid
Member
7 Points
2 Posts
Re: How do I set the default namespaces in MapHttpRoute?
Mar 22, 2012 02:44 PM|LINK
r.DataTokens["Namespaces"] = new string[] {"Foo"};That really didn't work for me in my scenario. I'll just wait until the next release. I'm sure it will get better then. It looks like from the code comments MapHttpRoute should be like MapRoute but just isn't quite done yet.