Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

6.0.0-alpha4

Pre-release
Pre-release
Compare
Choose a tag to compare
@danroth27 danroth27 released this 06 Oct 15:50

Features

  • Add support for flush points in Razor pages (#1042)
  • Support @Inject, @model, @using declaration in viewstart (#881)
  • RazorView.IUrlHelper makes it difficult to inject Url helper in views (#816)
  • Attribute Routing: Multiple routes per-action (#739)
  • Attribute Routing: Implement Name (#734)
  • Attribute Routing: Implement Order (#733)
  • Attribute Routing: Add ability to specify route info to Http*Attributes (#730)
  • Support extensibility for action invoker (#1007)
  • Support configuring global filters (#349)
  • Output XML Formatters (#887)
  • Revive ByteArrayModelBinder (#728)
  • Limit max number of errors in model binding (#490)
  • Incoming content negotiation based on content-type (#107)
  • Improve IHtmlHelper, HtmlHelper, et cetera public API; correct inconsistencies (#874)
  • Support [DisplayFormat(DataFormatString="{format})] (#844)
  • Add HideSurroundingHtml property to ModelMetadata (#843)
  • [Perf] ViewDataDictionary is copied and resized many times (#878)
  • [Perf] Attribute Routing: Optimize URL Generation (#741)
  • [Perf] Improve the performance of Action Selection (#641)
  • MVC should write content length by default (on IIS) (#972)
  • RoslynCompilationService to flow generated code when compilation is successful (#895)
  • ModelValidationProviders might need to be moved to MvcOptions (#879)
  • Throw a better exception when the user didn't add the MVC services (#347)
  • Move CreateSerializer out of the base class of XmlSerializer (#1075)

Bugs Fixed

  • ViewComponents should render partial views (#960)
  • RoslynCompilationService does not include path information when compiling cshtml files (#869)
  • Razor throws CompilationFailedException on X64 version of KRE (#846)
  • XML DataContract Formatter can fail to write when instance type != declaredType (#1081)
  • XML DataContract Formatter fails to write when the return type is object (#1073)
  • Action method with return type string returns in JSON format (#906)
  • Content Negotiation need to return 400 Bad Request \ 415 unsupported media type (#458)
  • Content negotiation should fallback to the first formatter that can write the type (#1033)
  • RouteGroupConstraint should only be added once for non attribute routed actions (#1035)
  • Use [Route(...)] on action methods to specify an attribute route that allows all verbs (#900)
  • TemplateRenderer should use ThrowIfFaulted when waiting for faulted task (#782)