Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Browsing all 7925 articles
Browse latest View live

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 Article


Reviewed: v5.0 RTM (Nov 29, 2013)

Rated 5 Stars (out of 5) - That's very good!

View Article


Reviewed: v4.0 RTM (Nov 29, 2013)

Rated 5 Stars (out of 5) - That's very good!

View Article

Reviewed: v4.0 RC (Nov 29, 2013)

Rated 5 Stars (out of 5) - That's very good! Learn

View Article

Commented 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 Article


Created 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 Article

Edited 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

Reviewed: v5.0 RTM (ноя 29, 2013)

Rated 5 Stars (out of 5) - Bla bla bla ...

View Article


New 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 Article


Reviewed: v4.0 RTM (十一月 30, 2013)

Rated 5 Stars (out of 5) - 好好学asp.netmvc

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
Browsing all 7925 articles
Browse latest View live


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