Hi!
With the latest bits from myget (0809) I found a strange problem that a previously working route returned 404.
It turned out that if I've this config:
```
[RoutePrefix("accounts")]
public class AccountController : ApiController
{
[HttpGet]
public IHttpActionResult GetAccountList()
{
...
}
}
```
The /accounts request will not hit the GetAccountList method.
If I specify HttpGet("") then it works fine. I think there is a bug here, which was introduced between 07.20 and 08.09, since 07.20 build worked perfectly.
Thanks,
Attila
Comments: @attilah: yeah, right...this is an expected behavior...we made changes recently to make specifying the route template explicit...however, we are re-considering this behavior and in future would be coming up with a different design which would address this issue (issues #1204,#1205 & #1206 are related to this)..thanks again for your feedback.
With the latest bits from myget (0809) I found a strange problem that a previously working route returned 404.
It turned out that if I've this config:
```
[RoutePrefix("accounts")]
public class AccountController : ApiController
{
[HttpGet]
public IHttpActionResult GetAccountList()
{
...
}
}
```
The /accounts request will not hit the GetAccountList method.
If I specify HttpGet("") then it works fine. I think there is a bug here, which was introduced between 07.20 and 08.09, since 07.20 build worked perfectly.
Thanks,
Attila
Comments: @attilah: yeah, right...this is an expected behavior...we made changes recently to make specifying the route template explicit...however, we are re-considering this behavior and in future would be coming up with a different design which would address this issue (issues #1204,#1205 & #1206 are related to this)..thanks again for your feedback.