Edited Unassigned: 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 ArticleCommented Issue: Odata route versioning and service document [1367]
Following the general principle of route based versioning outlined here: http://aspnet.codeplex.com/SourceControl/latest#Samples/WebApi/ODataVersioningSample/ReadMe.txtI have the following in my v1...
View ArticleCreated 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 it's innerRoute. The...
View ArticleEdited 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 ArticleNew Post: ASP .NET MVC 5 Owin Self Hosting
Hi Mixja, no, MVC5 cannot be hosted on OWIN. Currently from Microsoft only Web API 2 and SignalR can be hosted on OWIN. However, you can still use OWIN middleware with MVC5 when hosting in IIS, just...
View ArticleEdited 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 ArticleEdited 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 ArticleEdited 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 ArticleEdited 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 ArticleEdited 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 ArticleEdited 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 ArticleEdited 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 ArticleEdited 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 ArticleEdited 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 ArticleEdited 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