Commit Graph

1208 Commits (96d01d63c1886691c96fafa4a299f01948a8ff34)

Author SHA1 Message Date
Rick Anderson b4801ef6c0
fix monikers /1 (#27788)
* fix monikers /1

* fix monikers /1
2022-11-29 16:09:47 -10:00
BlueHtml 74302c77ea
Update DateRangeTP in [ Bind with TryParse ] (#27738)
* Update DateRangeTP in [ Bind with TryParse ]

* Fix comparison of range length
2022-11-24 09:25:07 -10:00
Luke Latham 2e85bb79e9
Message size limit and prerendering state size (#27532) 2022-11-08 04:52:04 -06:00
Rick Anderson 8957acdb91
Update view-compilation.md (#27142)
* Update view-compilation.md

* Update aspnetcore/mvc/views/view-compilation.md
2022-11-04 11:55:40 -10:00
Safia Abdalla 680a261f43
Add reference to endpoint filters from MVC filters (#27481)
* Add reference to endpoint filters from MVC filters

* Add filter on controller examples
2022-11-02 21:38:59 -07:00
Rick Anderson 46fe899dcc
Define simple and complex types (#27415)
* Define simple and complex types

* Define simple and complex types

* Update aspnetcore/mvc/advanced/custom-model-binding.md

* link MB

* link MB
2022-10-29 19:16:40 -10:00
Tanay Parikh 7da6d6684d
Update working-with-forms.md (#27425)
Reopens https://github.com/dotnet/AspNetCore.Docs/pull/27399

Fixes: https://github.com/dotnet/aspnetcore/issues/43808

<img width="1416" alt="image" src="https://user-images.githubusercontent.com/14852843/198159859-7f74b9fb-1403-4ab7-87a3-2eb16e1e543e.png">
2022-10-28 21:36:13 +00:00
Rick Anderson 71ed9790f1
Update model-binding.md (#27423)
* Update model-binding.md

* Update model-binding.md
2022-10-28 09:38:22 -10:00
André Andersson 63ce9dd69e
Fix invalid anchor link (#27422) 2022-10-28 16:59:44 +00:00
Luke Latham 6cb3c91701
Constant-based route templates (#27264) 2022-10-12 13:56:42 -05:00
Bruno Oliveira 6d27336dd8
Changing route parameter name (#27245)
* Changing route parameter name

* Updating 2.x sample code
2022-10-11 08:44:37 -10:00
Alexander Wicht d5a82330f2
Updates note for emitting Razor generated files (#27155)
* Updates note for enabling emission of Razor generated files.
Fixes #26804

* Revert "Updates note for enabling emission of Razor generated files."

This reverts commit 404adf0a59.

* Updates note for enabling emission of Razor generated files

* Adds version moniker for Razor source emission behavior

* Updates

* Updates

* Updates

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2022-09-30 10:21:04 -10:00
Rick Anderson 84de07766b
Update testing.md (#27088) 2022-09-26 13:41:23 -10:00
GitHubPang 3057fe3e95
Fix spelling, spaces, and wording (#27093)
* Fix misspellings and improve wording

This syncs with line 375.

* Improve wording and fix spaces
2022-09-25 17:50:34 -07:00
Alex Buck 167954e87d
[BULK UPDATE] DocuTune - Rebranding links (#27044)
* [BULK UPDATE] DocuTune - Rebranding links

* Update cascading-values-and-parameters.md
2022-09-20 14:37:02 -10:00
Alexander Wicht 86bbca8f9e
Creates TIP explaining usage of HtmlAttributeName in custom Tag Helper (#26962)
* Adds note explaining HtmlAttributeName usage

* changes HtmlAttributeName hint to TIP

* Fixes TIP syntax

* removes link to HtmlAttributeName API docs

* Updates

* Update aspnetcore/mvc/views/tag-helpers/authoring.md

* restores f4949b6, moves down and removes TIP markup

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2022-09-14 08:40:27 -10:00
guneyizol 1b7ff6fe1c
Fix logic error in the explanation (#26892)
* Fix logic error in the explanation

If Model or LicenseId is null, the expression evaluates to true, not false.

* Update aspnetcore/mvc/views/tag-helpers/intro.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2022-09-11 10:50:37 -10:00
Neutrino 6a93b1481e
Update model-binding.md (#26899)
* Update model-binding.md

Minor correction.

* Update model-binding.md

Changed on line 883
2022-09-01 08:57:13 -10:00
GitHubPang c64c4926be
Improve wording and capitalization (#26868) 2022-08-29 15:04:34 -10:00
Rick Anderson ebb7c09561
Update model-binding.md 2022-08-12 12:26:16 -10:00
GitHubPang 8acc9a5ce2
Fix incorrect indefinite article - "a" vs "an" (#26656) 2022-08-08 05:37:22 -05:00
Rick Anderson 7c5edfff1f
TryParse /6 (#26608)
* TryParse /6

* code additions

* code additions

* code additions

* code additions

* code additions

* code additions

* code additions

* code additions

* code additions

* Update aspnetcore/mvc/models/model-binding.md

Co-authored-by: Fiyaz Bin Hasan <fiyazhasan@live.com>

* react to feedback

* react to feedback

* react to feedback

* react to feedback

Co-authored-by: Fiyaz Bin Hasan <fiyazhasan@live.com>
2022-08-04 13:27:20 -10:00
Fiyaz Bin Hasan fbca0eb370
TryParse with IParsable<TSelf> (#26534)
* work

* Update Program.cs

* Update Culture.cs

* code review changes and change of Culture to Locale

* Update WeatherForecastController.cs
2022-08-01 12:57:04 -10:00
Luke Latham c671083e5d
Custom elements support (#26587) 2022-07-29 03:43:41 -05:00
Rick Anderson ba0e704efa
Prop names of JSON used in validation /6 (#26567)
* Prop names of JSON used in validation /6

* Prop names of JSON used in validation /6

* Prop names of JSON used in validation /6

* Prop names of JSON used in validation /6

* Prop names of JSON used in validation /6

* Prop names of JSON used in validation /6

* Update aspnetcore/mvc/models/validation.md

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>

* react to feedback

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>
2022-07-28 16:42:04 -10:00
Bruno Oliveira 8ca783057c
Adding back Form Data only statement (#26581)
* Adding back Form Data only statement

* Update model-binding.md

* Update model-binding.md

* cleanup

* clean up

* Fix identation
2022-07-28 15:05:02 -10:00
Rick Anderson 61d0c15fd1 moniker prep for model validation 2022-07-27 13:41:41 -10:00
Xavier Pinho abfaa930c1
`@model T` will generate a class that inherits from `RazorPage<T>`
Shouldn't it be `T` instead of `dynamic` here?
2022-07-26 20:06:10 +01:00
Fiyaz Bin Hasan af96c3ed65
tweaks (#26499) 2022-07-21 12:55:20 -10:00
Rick Anderson 8b3b4aab66
Fix datetime culture (#26486)
* Fix datetime culture

* Fix datetime culture
2022-07-20 12:09:40 -10:00
Rick Anderson f692b3de1d
tryparse bind sample clean up (#26474) 2022-07-19 12:00:49 -10:00
Fiyaz Bin Hasan 78297afb66
Tryparse with dynamic format provider supplied from client (#26469)
* refactoring

* refactoring

* Update DateRange.cs
2022-07-19 10:55:24 -10:00
Rick Anderson 600a14fc10
moniker prep for model binding (#26435)
* moniker prep for model binding

* moniker prep for model binding

* moniker prep for model binding
2022-07-14 13:10:05 -10:00
Rick Anderson f7ce7c88cb Clean up TryParse samples 2022-07-14 11:09:03 -10:00
Fiyaz Bin Hasan 24a1b23d83 review changes 2022-07-14 09:48:50 +06:00
Fiyaz Bin Hasan e51f139e44
Bind using try parse (#26378)
* work

* work

* cleanup

* Update DateRange.cs

* refactoring
2022-07-13 13:18:50 -10:00
Rick Anderson cb6c9a7cb2
Bind TryParse (#26353) 2022-07-07 10:42:22 -10:00
Ole Wiedemann 767e4f61fa
Update routing.md (#26338) 2022-07-06 20:48:15 +00:00
Edward Brey 6e6a593d2e
Make section casing consistent (#26311) 2022-07-04 15:55:13 +00:00
Rick Anderson 39b7df2ca8
Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
dependabot[bot] 77634f9f81
Bump Newtonsoft.Json (#26211)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.2 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.2...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 12:55:16 -10:00
Luke Latham 89805783af
Runtime compilation not supported for components (#26196) 2022-06-21 13:12:17 -05:00
Rick Anderson 9a86eb3cb3
.NET 6: DI in views /4 (#26084)
* .NET 6: DI in views /4

* .NET 6: DI in views /4
2022-06-07 15:55:49 -10:00
Rick Anderson 1dca6bd991
DI in views, .NET 6 /4 (#26072)
* DI in views, .NET 6 /4

* DI in views, .NET 6 /4
2022-06-07 14:11:17 -10:00
Luke Latham e175588086
Institute global no-loc (#26036)
* Institute global no-loc

* Updates

* Updates

* Updates

* Updates

* Updates
2022-06-03 11:35:55 -10:00
Michal Altair Valášek 357e590a89
Fixed invalid attribute name. (#25996) 2022-05-28 18:58:06 -05:00
Rick Anderson 3978423769
Add TH version gen outside wwwroot (#25985)
* Add TH version gen outside wwwroot

* Add TH version gen outside wwwroot
2022-05-27 14:14:20 -10:00
Rick Anderson 1c7c3102d3
Update intro.md (#25979) 2022-05-27 12:01:13 -10:00
Rick Anderson 247bd5a1cd
Ra/display/editor/templates (#25959)
* adds draft of DisplayTemplates section

* adds link to EditorFor docs

* fixes github id and date

* Changes redundant wording

* Update aspnetcore/mvc/views/display-templates.md

* Editor and display templates /4

* Editor and display templates /4

* Editor and display templates /4

* Editor and display templates /4

* Editor and display templates /4

* Editor and display templates /4

* Editor and display templates /4

* Editor and display templates /4

Co-authored-by: alexwichti <alexwichti@gmail.com>
Co-authored-by: Alexander Wicht <148378+Ducki@users.noreply.github.com>
2022-05-26 11:58:11 -10:00
Said Haouaouchi 3cb87966a5
Fix sample code not displaying properly (#25857)
For the asp-route section the code sample wasn't displayed properly
2022-05-13 11:51:42 -07:00