This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
2.0.0-preview1
Pre-release
Pre-release
Features
- Support views written with C# 7 (#6149)
- Add RedirectToPage helper methods to Controller (#6117)
- Create a new attribute for Pages property binding (#6091)
- Big Rock: Template work for Pages (#6086)
- Create Item Template for Page/PageModel (#6085)
- Big Rock: View Compilation Tool for Pages (#6018)
- FormTagHelper does not apply on Razor Pages unless asp-antiforgery is explicitly set to true (#6006)
- Add convenience methods for redirecting from a Razor Page back to itself (#5953)
- Support model binding to Razor Pages properties on page and PageModel classes (#5952)
- Adding AuthorizePage & AuthorizeFolder without requiring a policy (#5936)
- Add a constructor to ModelBinderAttribute that takes in the binder type (#5932)
- Big Rock: URL generation for pages (#5921)
- Add ModelState to page, and auth stuff to RazorPageOptions (#5884)
- Add IActionResults factory methods to Page and PageModel (#5846)
- Add a PagesOption type that allows configuring the root for Page file discovery (#5785)
- Make CookieTempDataProvider the default TempData provider (#5766)
- Design a stable API for interacting with MVC Razor (#5739)
- Add and Tag Helpers (#5728)
- Productize PageResultExecutor and ExecutorFactory (#5719)
- Add MvcRazorPagesMvcBuilderExtensions and co (#5718)
- Alternative for Environment TagHeper domain (#5671)
- Move
ValidationAttributeAdapterProvider
andAttributeAdapterBase<TAttribute>
out of .Internal (#5652) - Need better way to suppress validation of properties/types during model binding (#5642)
- Make CookieName of CookieTempDataProvider configurable (#5637)
- RedirectResult should support preservation of HTTP method (#5609)
- Add a feature that allows binding properties stashed in the TempDataDictionary (#5600)
- Page instantiation: Productize prototype code for page and model activation (#5480)
- Describe JsonPatch correctly in ApiExplorer (#5464)
- View Page execution (#5357)
- Filter invocation in View Pages (#5356)
- Routing for View Pages (#5353)
- Add support for updateable ActionDescriptorCollection (#5350)
- Add constructor with a culture to RouteValueProvider (#5336)
- ModelState.IsValid reports valid model while it is null (#4750)
- RedirectToAction: add fragment support (#3988)
- Razor Pages (#494)
Bugs Fixed
- Exception when calling RedirectToPage("./Index") from a page with routed parameters (#6218)
- asp-page-handler doesn't work correctly if asp-page isn't also specified (#6208)
- Relative page URL generation doesn't support local folder relative paths prefixed with ./ (#6190)
- Move RazorViewEngineOptionsSetup to an internal namespace (#6116)
- RedirectToPage from a form-action handler includes the formaction (#6104)
- RedirectToPage doesn't trim /Index from URL (#6080)
- [TempData] Properties don't work on PageModel classes (#6074)
- Avoid redundant Assembly.Load call in DefaultAssemblyPartDiscoveryProvider (#6003)
- CacheTagHelper should not cache inner contents execution result when Exception occured (#5988)
- Page is missing some APIs that Razor calls (#5920)
- Strings that can be parsed as a Boolean should be an acceptable value for a checkbox (#5919)
- PageActionDescriptorChangeProvider does not invalidate the cache when a _PageStart outside of RazorPagesOption.BasePath is modified (#5915)
- RazorPages : Page.Path is not set (#5891)
- HTTP response code for Redirect not readily discoverable (#5855)
- Pages should trim quotes from route templates (#5835)
- Race condition in ControllerActionInvoker causes NullRef (#5807)
- In a Razor page returning View from OnGet results in a compile error. (#5802)
- @page with an @model is overly sensitive to whitespace. (#5799)
- MVC Razor tests failing since the 10th (#5794)
- Extend
ModelMetadata
to reduce ugliness (#5686) - NullException in Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeatureProvider.GetViewInfoContainerType (#5675)
- ApiExplorer expanding IFormFile into multiple ParameterDescriptions (#5673)
- Wrong docs ApiRequestFormat (#5625)
- Add an Add(this IList<...> IParameterModelConvention) extension method (#5618)
- ActionContextAccessor behaves differently under .NETStandard1.3 vs .NET 4.5.1 (#5611)
- Partial Views referenced with relative paths are not recompiled after changing the .cshtml (#5574)
- Different working in ViewComponents in v.1.1.0 (#5561)
- MediaType bounds check can overflow (#5560)
- MvcCoreServiceCollectionExtensions retrieves first registered service instead of last (#5554)
- JsonOutputFormatter adds all closing brackets when exceptions are thrown (#5413)
- Parameter in
IHtmlHelper.TextBox()
has an inconsistent parameter name (#5394) - Simple string returned by controller action is not a valid JSON! (#4945)
- Remove ViewEngine property of ViewComponentResult (it doesn't do anything) (#4916)
- Input tag helper for DateTime should use "datetime-local" instead of deprecated "datetime" (#4871)
- Improve the log message when we a route matches but cannot find an controller/action. (#4608)
GetEnumSelectList
does not appear to respect Order property of DisplayAttribute (#4297)