In my Facebook app I'm using the CanvasAction like so:

```
<div id="my-button" onclick="location.href='@Url.CanvasAction("Index", "Facebook")'">

```

which should invoke the Index method on FacebookController:

```
[CanvasAuthorize(Permissions = ExtendedPermissions)]
public ActionResult Index()
{
    .....
}

```

Currently configured the app so that that the host is localhost. 
This used to work but all of a sudden the response is "HTTP Error 405.0 - Method Not Allowed".
I've changed my application so that it, as far as I can see, is identical to the "ASP.NET MVC3 Canvas Application without Facebook JavaScript" sample app included in the FB C# SDK which works.

It does work though if I append 'Index' to the address: <http://apps.facebook.com/myapp/Facebook/Index/>