Commented Issue: AntiForgery with AJAX support [299]
AntiForgery should support tokens coming in by AJAX from the headers. I'd like to modify the classes and contribute. How do I go about this or will Microsoft do it?Comments: An example could be found...
View ArticleCommented Issue: Make `IActionHttpMethodProvider` public [240]
In MVC, HTTP method constraints inherit the ActionMethodSelectorAttribute, which is a public class 3rd party libraries can inherit from to implement their own versions of the constraints. This is...
View ArticleCommented Issue: Make `IActionHttpMethodProvider` public [240]
In MVC, HTTP method constraints inherit the ActionMethodSelectorAttribute, which is a public class 3rd party libraries can inherit from to implement their own versions of the constraints. This is...
View ArticleCreated Issue: Unit of Range header changes when sent to server [300]
If I create a request and use HttpClient to send to a server, value of the Unit changes to "bytes" regardless of the value set:request = new HttpRequestMessage(HttpMethod.Get,...
View ArticleCreated Issue: User IP Address in Web API RC [301]
I've seen on various MS forums and Stack Overflow, the way to retrieve the user's IP address in Web API, requires falling back to the untestable (without mocking) static context object model by doing...
View ArticleCreated Issue: Re-enable FxCop rule CA1062 [302]
Strict.ruleset is currently disabling CA1062 which enforces parameter checking.This task involves removing that line from Strict.ruleset and fixing all violations across the product
View ArticleCreated Issue: Bug: serialisation-deserialisation loses UserAgent.Count [303]
When I deserialise-serialise-deserialise and compare request and request2 in code below, UserAgent header has the correct .ToString() value but count is 0. So my unit test was failing: var stream = new...
View ArticleCreated Issue: Razor layout page does not throw a exception if layout is it...
Hi!Lets say I have a razor layout-page (A), and I by mistake have set the layout to be the same location as A, it does not throw a exception, but crashing (locally, my computer freeze)Keep up the good...
View ArticleEdited Issue: Nested controller type won't be discovered in Web API [150]
Define nested types like:public class Class1{ public class NestedController : ApiController { }}The NestedController won't recognized as a controller in web api
View ArticleCreated Issue: Make HostedHttpRoute public [305]
Hi,I'm the author of AttributeRouting, an open-source project that lets users specify routes using attributes in Mvc, Http.WebHost, and Http.SelfHost scenarios. When generating route for Http.WebHost...
View ArticleCommented Issue: Make HostedHttpRoute public [305]
Hi,I'm the author of AttributeRouting, an open-source project that lets users specify routes using attributes in Mvc, Http.WebHost, and Http.SelfHost scenarios. When generating route for Http.WebHost...
View ArticleCommented Issue: Make HostedHttpRoute public [305]
Hi,I'm the author of AttributeRouting, an open-source project that lets users specify routes using attributes in Mvc, Http.WebHost, and Http.SelfHost scenarios. When generating route for Http.WebHost...
View ArticleCommented Issue: Bug: serialisation-deserialisation loses UserAgent.Count [303]
When I deserialise-serialise-deserialise and compare request and request2 in code below, UserAgent header has the correct .ToString() value but count is 0. So my unit test was failing: var stream = new...
View ArticleCommented 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 ArticleCommented Issue: Make HostedHttpRoute public [305]
Hi,I'm the author of AttributeRouting, an open-source project that lets users specify routes using attributes in Mvc, Http.WebHost, and Http.SelfHost scenarios. When generating route for Http.WebHost...
View ArticleCommented Issue: Make HostedHttpRoute public [305]
Hi,I'm the author of AttributeRouting, an open-source project that lets users specify routes using attributes in Mvc, Http.WebHost, and Http.SelfHost scenarios. When generating route for Http.WebHost...
View ArticleCreated Issue: DisplayName attribute from Resources? [306]
Based on sample below, this code is not working very well:<h2>@Html.DisplayNameFor(model => model.Profile)</h2>ENTITY MODEL public class Profile { [Column(TypeName = "UNIQUEIDENTIFIER")]...
View ArticleEdited Issue: DisplayName attribute from Resources? [306]
Based on sample below, this code is not working very well:<h2>@Html.DisplayNameFor(model => model.Profile)</h2>ENTITY MODEL public class Profile { [Column(TypeName = "UNIQUEIDENTIFIER")]...
View ArticleCreated Issue: Make HttpError key string literals public [307]
HttpError has several private key string literals, such as MessageDetails, Exception, etc.They should be public so that other code can access those key/valye pairs (HttpError is a dictionary).
View ArticleCreated Issue: Parse function in jquery.validate.unobtrusive.js performance...
The jquery statement $(selector).find(":input[data-val=true]").each(....) - line 173 jquery.validate.unobtrusive.js within the Parse(selector) method.Provides better performance if it is re-written as...
View Article