Edited Issue: ApiExplorer not providing descriptions for route parameters not...
For the following ValuesController and default Web API route, the help page is getting generated as expected.public class ValuesController : ApiController{// GET api/values public...
View ArticleEdited Issue: Make IActionMethodSelector public - AjaxOnlyAttribute [25]
Currently, Web API contains IActionMethodSelector but unfortunately it's internal. So, you cannot use action method selector or action name selector in Web API. But you can easily create AjaxOnly,...
View ArticleEdited Issue: Consider enforcing data annotation attributes on action...
If an empty request is sent to the action below, the parameter "p" is null, and there are no model errors, since [Required] (and I assume other Data Annotation attributes) are not enforced for action...
View ArticleEdited Issue: Delay loading Json.NET type for JsonMediaTypeFormatter [149]
Currently Json.NET is always loaded even if the JSON formatter is removed from the formatter collection:// Setup server configuration var baseAddress = "http://localhost:8080/";// Json.NET gets loaded...
View ArticleClosed Issue: Provide support for specifying required action parameter from...
Currently the [Required] attribute can be used on properties but not on the type itself or on the parameter. So when sending a request with empty body to the POST action below, the ModelState.IsValid...
View ArticleCommented Issue: DependencyScope is disposed before the HttpControllerTracer...
### Facts - I am using AutoFac as IoC container - I enabled tracing with my custom tracer. - During the trace operation, I try to get the `DependencyScope` through request.Properties collection.###...
View ArticleEdited Issue: Submit request to HttpServer in MessageHandler cause failure...
Check out the attach sample. It is built based on Brad's batching sample: http://bradwilson.typepad.com/blog/2012/06/batching-handler-for-web-api.htmlOne customized message handler is added to the...
View ArticleEdited Issue: Make the ApiControllerActionSelector more extensible [277]
The goal is to have the default action selector (ApiControllerActionSelector) expose some hooks or properties so that it's easier to customize.
View ArticleEdited Issue: DependencyScope is disposed before the HttpControllerTracer [768]
### Facts - I am using AutoFac as IoC container - I enabled tracing with my custom tracer. - During the trace operation, I try to get the `DependencyScope` through request.Properties collection.###...
View ArticleEdited Issue: Make it possible to replace the HttpControllerRouteHandler [715]
I have a requirement which requires me to provide a custom IHttpAsyncHandler but it's nearly impossible to safely replace the HttpControllerRouteHandler (as this is the one who provides the...
View ArticleCommented Issue: Make it possible to replace the HttpControllerRouteHandler...
I have a requirement which requires me to provide a custom IHttpAsyncHandler but it's nearly impossible to safely replace the HttpControllerRouteHandler (as this is the one who provides the...
View ArticleClosed Feature: Support OutputCache for web api [625]
This is a high demanded feature for web api users. It's better to make it to be a built in feature or a nuget package.Currently, there is no official sample code, blog about it. The most popular...
View ArticleCommented Issue: MVC areas do not support RouteCollection.LowercaseUrls [685]
See http://stackoverflow.com/questions/13271048/net-4-5-mvc-routecollection-lowercaseurls-breaks-when-using-area for full details.It appears that this is caused by there being multiple instance of...
View ArticleCreated Issue: Test...
The test ConventionsHelpersTests.GetUriRepresentationForValue_Works verifies the DateTimeOffset representation using the value "datetimeoffset'1600-12-31T16:00:00-08:00'" which will only work if the...
View ArticleCreated Issue: Simple membership provider tests fail [867]
The PreApplicationStartCodeTest methods StartInitializesSimpleMembershipByDefault and StartDoesNotInitializeSimpleMembershipWhenDisabled fail when additional membership providers are defined in the...
View ArticleCommented Issue: Simple membership provider tests fail [867]
The PreApplicationStartCodeTest methods StartInitializesSimpleMembershipByDefault and StartDoesNotInitializeSimpleMembershipWhenDisabled fail when additional membership providers are defined in the...
View ArticleCommented Issue: Test...
The test ConventionsHelpersTests.GetUriRepresentationForValue_Works verifies the DateTimeOffset representation using the value "datetimeoffset'1600-12-31T16:00:00-08:00'" which will only work if the...
View ArticleCreated Issue: HttpResponseException thrown at ActionFilter is being...
From here: http://stackoverflow.com/questions/15065594/error-handling-in-web-api-self-hosted-server-for-actionfilterattributeAs user mentions, when throwing HttpResponseException at the controller's...
View ArticleEdited Issue: HttpResponseException thrown at ActionFilter is being...
From here: http://stackoverflow.com/questions/15065594/error-handling-in-web-api-self-hosted-server-for-actionfilterattributeAs user mentions, when throwing HttpResponseException at the controller's...
View ArticleCommented Issue: Test...
The test ConventionsHelpersTests.GetUriRepresentationForValue_Works verifies the DateTimeOffset representation using the value "datetimeoffset'1600-12-31T16:00:00-08:00'" which will only work if the...
View Article