In your ASP.NET RouteConfig do you have an entry like this to redirect all 
routes to the index view on the home controller?

routes.MapRoute(
    name: "Default",
    url: "{*url}",
    defaults: new { controller = "Home", action = "Index", id = 
UrlParameter.Optional }




On Wednesday, June 29, 2016 at 1:41:50 PM UTC-5, vijender reddy wrote:
>
> @sander Elias,
>          I did put both <base href="."> and also <base href="/"> both did 
> not fix my above issue of cannot match any routes ''
>
> On Wednesday, June 29, 2016 at 1:16:13 PM UTC-4, Sander Elias wrote:
>>
>> Did you put in in the <base href=".">? I read some people do use <base 
>> href="/"> instead. The reasoning behind it eludes me for the moment though 
>> ;)
>> Missing the base href is often a reason for problems.
>>
>> Regards
>> Sander
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to