Commit Graph

128 Commits (9ca441165a8888a7a50578541bf0d23aba629a47)

Author SHA1 Message Date
Rick Anderson 1eddaebee3
Merge pull request #30286 from jkrajcir/patch-1
Clarify expected behavior of validation for non-nullable props/params in nullable contexts
2023-09-08 13:13:12 -10:00
Joe Krajcir 3fd066b609
add clarification for validation of non-nullable props/params in nullable contexts 2023-09-08 15:39:11 -05:00
Rick Anderson cbb74060a3
Update validation.md
Fixes #30276
2023-09-07 14:14:46 -10:00
Tom Dykstra 99c4ece6c2
Update validation.md (#29369) 2023-05-26 10:15:03 -07:00
Rick Anderson fded6050af
Validation Result /2 (#29202)
* Validation Result /2

* Validation Result /2

* Validation Result /2

* Validation Result /2

* Validation Result /2

* Validation Result /2
2023-05-08 17:32:25 -10:00
Rick Anderson 88c8a7b44d
Add problem details to validation (#29096)
* Update validation.md

* Update aspnetcore/mvc/models/validation.md
2023-04-26 23:59:26 +00:00
Joe Krajcir f9a28b0a8c
Model validation non-nullable reference types typo (#29000) 2023-04-17 16:26:36 -10:00
Rick Anderson 48f960fef2
Draft-WIP: ModelState.AddModelError /2 (#28445)
* changed date😎

* IResult model binding and testing /2

* work

* work

* work

* work

* work

---------

Co-authored-by: Samson Amaugo <sammychinedu2ky@gmail.com>
2023-03-02 15:49:48 -10:00
Rick Anderson b4801ef6c0
fix monikers /1 (#27788)
* fix monikers /1

* fix monikers /1
2022-11-29 16:09:47 -10:00
André Andersson 63ce9dd69e
Fix invalid anchor link (#27422) 2022-10-28 16:59:44 +00:00
GitHubPang 8acc9a5ce2
Fix incorrect indefinite article - "a" vs "an" (#26656) 2022-08-08 05:37:22 -05: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
Rick Anderson 61d0c15fd1 moniker prep for model validation 2022-07-27 13:41:41 -10:00
Rick Anderson 39b7df2ca8
Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -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
Rick Anderson 26a4fcc020 .NET 7 validation /1 2022-05-11 17:07:27 -10:00
Rick Anderson aad1e5a529
non-nullable generic requied /1 (#25841)
* non-nullable generic requied /1

* non-nullable generic requied /1

* react to feedback

* Update aspnetcore/mvc/models/validation.md

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

* react to feedback

* Update aspnetcore/mvc/models/validation.md

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

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>
2022-05-11 16:52:31 -10:00
Luke Latham 546a06a2d5
Blazor no-loc adds (#25429) 2022-03-25 18:19:18 -05:00
Kirk Larkin 2a5520dc53
Code-fence common file extensions (#25383) 2022-03-23 10:48:44 +00:00
Luke Latham 5f1743e629
Add Blazor Hybrid to no-loc metadata (#25064) 2022-02-18 07:17:09 -06:00
Kirk Larkin 2405226288
Code-fence references to Program.cs (#24995) 2022-02-14 12:16:29 -10:00
Kirk Larkin 9065b2ed8f
Add MVC example for ModelState.IsValid (#24909) 2022-02-07 08:19:32 -10:00
Kirk Larkin 2fb542406d
Update Model Validation to 6.0 (#24850)
* Update Model Validation to 6.0

* Suppress POCO NRT warnings
2022-02-02 09:39:15 -10:00
Kirk Larkin 6ba2ba7710
Prepare Model Validation for 6.0 (#24833) 2022-02-01 12:28:24 +00:00
Kirk Larkin e3c99c2fe5
Prefer :::moniker over ::: moniker (#24805) 2022-01-31 13:12:01 -10:00
Pranav K 0933b8b3f9
Remove section that demonstrates disabling validation (#23447) 2021-10-04 13:58:23 -07:00
SpiritBob 33d617798f
Improve [Required] attribute usage (#23355)
Clarifies to the end-user that for non-nullable reference types a non-default `[Required]` attribute is used, that only checks for null values.
2021-09-21 10:41:13 -07:00
SpiritBob 8cff70bb33
Fixes #23034 (#23354)
Makes it clear to the end-user that the `[Required`] attribute used for non-nullable context is not the default one, but one that only checks for null values.
2021-09-20 08:06:41 -07:00
Wade Pickett 44c9efdf1c
Broken links sweep (#23027)
* Broken links sweep

* fixed link warnings

* update visual-studio-publish-profiles.md
2021-08-16 10:46:33 -07:00
GitHubPang 3b526fb79b
Fix typos (#22994) 2021-08-10 19:20:15 -05:00
Luke Latham 9873f09e73
Fix bookmark (#22609) 2021-06-25 05:30:27 -05:00
Luke Latham 21e12d47bb
Fix broken Blazor file upload component (#22582) 2021-06-21 08:37:10 -05:00
Rick Anderson 89c93638a7
Update validation.md patch1 (#22239)
* Update validation.md

* Update Create.cshtml.cs

* Update Create.cshtml.cs

* Update aspnetcore/mvc/models/validation.md

* Apply suggestions from code review

Co-authored-by: Pranav K <prkrishn@hotmail.com>

Co-authored-by: Pranav K <prkrishn@hotmail.com>
2021-06-18 08:33:18 -07:00
Rick Anderson ad321c2700
Add Home and Privacy to no-loc (#22237)
* Add Home and Privacy to no-loc

* Add Home and Privacy to no-loc
2021-05-08 10:12:34 -10:00
Rick Anderson 6dae854bbf
Update validation.md (#22236) 2021-05-07 13:44:41 -10:00
Rick Anderson 2f00739f4e
Kestrel to no-loc (#22182) 2021-05-01 13:03:18 -10:00
Scott Addie b10d421903
Update master branch references to main and update repo org. (#21737)
* Update the aspnet/AspNetCore.Docs repo references

* Update master branch names to main
2021-03-10 10:13:00 -06:00
Scott Addie 09e3573c75 Finish default branch renaming work 2021-03-09 22:40:27 -06:00
Luke Latham c2f970aa6d
Remove extra moniker-range (#21409) 2021-02-02 07:22:25 -06:00
Pranav K e70b0fff1c
Expand nullable reference types (#21388)
* Expand nullable reference types
2021-02-01 11:29:51 -08:00
Rick Anderson 311cef0e25
appsettings.json noloc (#20320) 2020-10-27 11:27:47 -10:00
Rick Anderson 23bd8d2057
Add ASP.NET Identity to no loc (#19578)
* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc
2020-08-19 11:07:40 -10:00
Rick Anderson 3a5c8b81d4
add Cookie to no loc (#19446) 2020-08-07 14:55:26 -10:00
Luke Latham 80446f1dd8
Add Blazor WebAssembly/Server to no-loc (#18962) 2020-06-25 19:11:04 -05:00
Kirk Larkin 0d81f3e15d
Add requirement for jQuery Validation's additional-methods (#18207) 2020-05-08 09:44:29 -10:00
Luke Latham f2834015b6
Drop existing no-loc entries (#18111) 2020-05-04 12:00:16 -05:00
Kirk Larkin 8d8cf70ae7
Fix link to DataAnnotations source (#17979)
* Fix link to DataAnnotations source

* Update aspnetcore/mvc/models/validation.md

Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-04-27 15:01:25 -05:00
Scott Addie 9174ead0d3
Update aspnet org. links to reference the dotnet org. (#17077)
* Update aspnet org. links to reference the dotnet org.

* Update API ref links
2020-02-20 19:37:35 -06:00
Scott Addie 501c0cb022
Fix invalid dev langs in code snippets (#16968) 2020-02-11 15:07:13 -06:00