{"action":"closed","issue":{"url":"https://api.github.com/repos/aurelia/router/issues/259","labels_url":"https://api.github.com/repos/aurelia/router/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/router/issues/259/comments","events_url":"https://api.github.com/repos/aurelia/router/issues/259/events","html_url":"https://github.com/aurelia/router/issues/259","id":121512885,"number":259,"title":"bootstrapping Aurelia app routing from within an ASP.NET MVC route","user":{"login":"stefan505","id":10812446,"avatar_url":"https://avatars.githubusercontent.com/u/10812446?v=3","gravatar_id":"","url":"https://api.github.com/users/stefan505","html_url":"https://github.com/stefan505","followers_url":"https://api.github.com/users/stefan505/followers","following_url":"https://api.github.com/users/stefan505/following{/other_user}","gists_url":"https://api.github.com/users/stefan505/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan505/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan505/subscriptions","organizations_url":"https://api.github.com/users/stefan505/orgs","repos_url":"https://api.github.com/users/stefan505/repos","events_url":"https://api.github.com/users/stefan505/events{/privacy}","received_events_url":"https://api.github.com/users/stefan505/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurelia/router/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-10T15:36:15Z","updated_at":"2015-12-18T05:28:32Z","closed_at":"2015-12-18T05:28:32Z","body":"I've setup ASP.NET 5 MVC to route to http://localhost:12345**/app** that serves as my Aurelia app. From here, I bootstrap the router:\r\n\r\n```\r\n        config.map([\r\n            { route: 'link-a', name: 'link-a', moduleId: 'features/link-a', nav: true, title: 'Link A', settings: { auth: true } },\r\n            { route: 'link-b', name: 'link-b', moduleId: 'features/link-b', nav: true, title: 'Link B', settings: { auth: true } }\r\n        ]); \r\n```\r\n\r\nIt seems that the Aurelia router doesn't seem to work properly when trying to generate the route from within another VM (**BTW** `route.href` is undefined, so I use `route.relativeHref`, also seems strange...):\r\n\r\n``<li><a ${activeText} href=\"/app/#${route.relativeHref}\"><i class=\"fa fa-circle-o\"></i> ${route.title}</a></li>``\r\n\r\nWhen accessing that generated link, the browser does a full server request and ignores the Aurelia router completely. Is this a bug or am I missing something?"}}