CodePlexProject Hosting for Open Source Software
Disable OWIN host buffering according to buffer policy (fixes #1418).
Handle web host routing exceptions by default (fixes #1355).
Log and return an error when TryComputeLength throws (fixes #1320).
Incorporate code review feedback.
Correct format used when Html5DateRenderingMode==RFC3339- http://aspnetwebstack.codeplex.com/workitem/479- "EditorFor Date Value Does Not Output Correct Date Format As Per RFC 3339"- Reported issue was a bug in HtmlHandler.Html5DateRenderingMode handling- Code previously assumed any use of an edit format string indicated anexplicit [DisplayFormat] attribute- Instead track whether edit format string came from [DataType] attributein new ModelMetadata.HasNonDefaultEditFormat property- FxCop required me to refactor DataAnnotationsModelMetadataProvider slightly
Codeplex-1417 - Throw on ambiguous controller match in WebAPI Attribute Routing
Update Microsoft.Owin references to 2.0.2
Issue1370: WebAPI AttributeRouting RoutePrefix issue - Add IRoutePrefix - Unseal RoutePrefixAttribute
Fix for Codeplex-1393Disposing the HttpRouteCollection will now dispose the HttpMessageHandlerinstances owned by those routes.We want to fix this for use in scenarios where an API might have a limitedlifetime, which is possible in selfhost/owin.
Expose IDirectRouteProvider in MVC and Web API (fixes #1360).
Fix 1362 & 1366; cache less to improve correctness and performance"MVC5 Bug: Views are not compatible with Virtual Path Providers"- https://aspnetwebstack.codeplex.com/workitem/1362- Should never cache HostingEnvironment.VirtualPathProvider; this propertymay change at any time.- This bug is a regression from MVC4."MVC bug: Bad performance of views if ViewEngines.Engines is initializedwithout HttpContext"- https://aspnetwebstack.codeplex.com/workitem/1366- ViewEngines.Engines may be read before HttpContext.Current is initialized,leading to inefficient use of the NullViewLocationCache instance.
Fixing FxCop violation
CR feedback
Temporary fix: Disable fxcop rule MW1200, because it throws nullref.
Fix 1407, combine blank option and option label in EDDL()- https://aspnetwebstack.codeplex.com/workitem/1407- "EDDL() shows extra blank option in addition to option label"- Special-case in EDDL(); don't pass option label to helper methods- Add tests for these situations- Add tests using an empty enum
Add comment for %MSBuild% setting- CR follow-up
Fix resource racing on ports in OwinHostIntegrationTest
Fix fxcop build break
Issue 762: Support IgnoreRoute in Web API on WebHost, OWIN, and Self-Host.
Do not treat HttpContent as containing chunked frames (fixes #1124).
Query support in portable libraries: CodePlex, https://aspnetwebstack.codeplex.com/workitem/1305Description: Add query support in portable library,the original support was missing because the namevaluepairclass does not exist in the portable version of .NETThis fix attempts re-use the same files and tests.
Issue 1395: MediaTypeFormatter's ReadFromStreamAsync fails when tracing isontracer tests that validate that the tracers override all the base classmethods do not take method overloads into account while verifying. Fixingthe test identified more issues with existing traces which are fixed aswell in this change.
Issue 1409: Delta<T>.PUT overwrites navigation properties as wellDelta<T> doesn't know the IEdmType or the IEdmModel of the T. HenceDelta<T>.Put resets the navigation properties to null as it cannotdistinguish between navigation and structural properties. This isincorrect behavior according to OData spec and also causes issues with EFas resetting the navigation properties might cause ForeignKey constraintviolations.Fixing this by adding a ctor that takes the list of updatableproperties and resetting only them in Delta<T>.Put. The OData formatterwhen it constructs Delta<T> during deserialization passes the structuralproperties for this list.
Issue 1128: Web Api 2-OData same variable name causes type error
Issue 670: Delta<T> should support non-settable collections.