Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Browsing all 7215 articles
Browse latest View live
↧

Commented Unassigned: [Regression]: Unexpected validationError thrown when...

Here is my model[DataContract] public class ValidationModel{[Required][DataMember][Range(1, 10)] public int IntReq { get; set; }[Required][DataMember][StringLength(5)] public string StrReq { get; set;...

View Article


Commented Issue: WebApi validation ignores ErrorMessage in Required Data...

WebApi validation ignores custom Error Message in Required Data Annotation attribute.Given the code:View Model:```public class InputVM : IValidatableObject{#region Properties/// <summary>///...

View Article


Edited Unassigned: [MvcAttributeRouting]Child actions not being recognized...

This is a regression._Scenario_:Create a MVC template based project and enable MVC attribute routing in it. Decorate the AccountController with a controller-level route...

View Article

Edited Unassigned: [MvcAttributeRouting]Model state is invalid in some cases...

This is a regression._Scenario_:Scaffolded EF + MVC based controller and attribute routes decorated on them_Issue_:When a post request(creating a new person) is being made to the following controller,...

View Article

Edited Feature: Expose route builder in both MVC and Web API attribute...

__Scenario__:http://stackoverflow.com/questions/19529522/httproutebuilder-where-did-it-go-and-whyPlease note about the following bug too when trying to fix...

View Article


Edited Issue: [GlobalErrorHandling]Unhandled exception at route matching...

_Repro_:_Create a new constraint_:```public class ExceptionThrowingRoutingConstraint : IHttpRouteConstraint{ public bool Match(HttpRequestMessage request, IHttpRoute route, string parameterName,...

View Article

Edited Issue: It is not possible to store name of a route in DataTokens when...

Please store route name in DataTokens when using Attribute Routing or pass route name to HttpRouteBuilder.BuildHttpRoute method. Thank you!

View Article

Edited Issue: Trace exceptions in DefaultHttpControllerTypeResolver [1215]

DefaultHttpControllerTypeResolver swallows exceptions encountered during assembly.GetTypes(). There is no tracing there which makes debugging routing exceptions due to controller type load failures...

View Article


Edited Issue: HelpPage not showing documentation for actions which have...

From here: [http://stackoverflow.com/questions/15410057/webapi-help-page-for-complex-type-in-uri](http://stackoverflow.com/questions/15410057/webapi-help-page-for-complex-type-in-uri)Repro:Copy the...

View Article


Edited Feature: Support "Ignore Route" in Web API or remove dependency on MVC...

I have a Web API only project with no dependency on System.Web.Mvc.So that I can use Elmah I need to add an ignore route like below: routes.IgnoreRoute("{resource}.axd/{*pathInfo}");Since ignore route...

View Article

Edited Issue: Bsonformatter throws an error when passing simple types as...

Server side code public class MyController : ApiController{[AcceptVerbs("PUT", "POST", "DELETE")] public object EchoDBNullFromBody(object input) { return input;}}On the client, if I use...

View Article

Edited Issue: EditorFor converts DateTimeOffset property to text type instead...

Modelpublic class MyModel{ public int MyModelId { get; set; } public DateTime DateTime1 { get; set; } public DateTimeOffset DateTimeOffset1 { get; set; }}I scaffolded mvc5 controller and view. On F5,...

View Article

Edited Issue: Roundtripping DBNull value using Bsonformatter thrown an error...

Value I am roundtripping - DBNull.ValueAll Webapi action (POST) does is return the value.Exception{"Error writing Null value. BSON must start with an Object or Array. Path ''."}Stack Trace: at...

View Article


Edited Issue: CompareAttribute does not use custom error messages [1401]

__Scenario:__ User likes to customise/localise the error message for the Data Annotations CompareAttribute in a view model.__Issue:__ When the Data Annotations Compare attribute...

View Article

Edited Issue: Validation doesn't get triggered for values extracted from...

The issue is that model binding supports a direct mode where parameters are taken from the value providers(lets say route data) and then directly bound to the action parameters.This mode doesn't...

View Article


Edited Unassigned: OutputCache to ignore options in ChildAction within [1411]

OutputCache seems to be ignoring the Location option in ChildAction within.If you specify, such as OutputCacheLocation.None, the option not to cache on the server side, the server tries to cache the...

View Article

Edited Issue: Poor error message when a collection property is null [1328]

I get the following error when I have an entity with a nullable collection:System.ArgumentException occurred _HResult=-2147024809 _message=The argument must be of type 'IEnumerable'....

View Article


Edited Issue: Passing multiple arrays to get request? [1385]

I have a WebAPI 2 ApiController with the following GET method: public IEnumerable<MyData> Get([FromUri]string[] id, [FromUri]string[] filter, int? count)My http request looks like this:...

View Article

Commented Unassigned: ApiExplorer cannot figure out the correct URI...

ApiExplorer cannot figure out the correct URI Parameters if I plug in a custom IHttpActionSelector. A repro application is available here:...

View Article

Commented Unassigned: GenerationRoute does not return the same values as...

Hi,properties (_RouteTemplate_, _Defaults_, _Constraints_, _DataTokens_ and _Handler_) of the __GenerationRoute__ from System.Web.Http.Routing should return the same values as innerRoute. The...

View Article
Browsing all 7215 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>