Commit Graph

1251 Commits (56445254849cea13bc2c7fe9e3ce2a13f764f516)

Author SHA1 Message Date
Luke Latham b690c39156
Update indefinite article (#29751) 2023-07-10 09:13:36 -04:00
Rick Anderson 6a0b3b92db
Model binding with generic types /7 (#29573)
* Model binding with generic types /7

* Model binding with generic types /7

* work
2023-06-22 08:48:06 -10:00
tristan-pgit ba71597770
Added Areas paths for View Components (#29587)
* Added Areas paths for View Components

* Updates

---------

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2023-06-21 08:07:42 -10:00
Theano Petersen e09c5eeda5
fix broken links (#29569) 2023-06-20 14:39:39 -10:00
Rick Anderson b4ff9eb777
Model binding attribute <> type /7 (#29570)
* Model binding attribute <> type /7

* Model binding attribute <> type /7
2023-06-20 11:53:32 -10:00
Rick Anderson 3aed4c5759
Add generic type middleware filter /2 (#29560) 2023-06-20 08:41:37 -10:00
Rick Anderson 75bf3a1a16
Moniker prep (#29559)
* Moniker prep

* Moniker prep

* Moniker prep
2023-06-19 14:28:09 -10:00
Dan Mabee ab0269bc19
Policheck Update - June 13 | Bulk Update (#29508)
* Policheck updates

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

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

---------

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2023-06-15 09:13:09 -10:00
Tom Dykstra 99c4ece6c2
Update validation.md (#29369) 2023-05-26 10:15:03 -07:00
Luke Latham babbcc590e
Remove Open Iconic (#29331) 2023-05-23 06:07:12 -04:00
Fadi Hania a5f2f083dd
Update view-components.md
Remove unnecessary word
2023-05-21 20:17:09 +03:00
Luke Latham ba87cef77f
Updates 2023-05-20 06:31:09 -04:00
TsukiCTF 384fefb44b
Fix typo
Property is named `ObjectId` in the example shown.
2023-05-19 23:08:49 -04:00
Yue Cui 60e48bd438
Fix a typo (#29308) 2023-05-18 07:03:35 -04:00
Lee Millward 93dc4010e9
Update partial.md (#29284)
Fix grammatical error
2023-05-16 14:18:06 -10:00
Nick Scotney 350b832f0c
Update Program.cs (#29249) 2023-05-12 11:54:05 -04:00
Rick Anderson d11294854b
Validation result (#29203)
* Validation Result /2

* Validation Result /2

* Validation Result /2

* Validation Result /2

* Validation Result /2

* Validation Result /2

* Validation Result /2
2023-05-09 04:11:05 +00: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
Samson Amaugo 03bc725be4
fix: Validation result (#29197)
* added sample for validation result using error message

Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>

* added sample for validation result using error message

Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>

* deleted folder

* Changed Error Model

Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>

* Changed Error Model

Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>

---------

Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>
2023-05-08 11:13:32 -10:00
Rick Anderson f586a0c2e8
Easy test Problem /8 (#29164)
* Easy test Problem /8

* Easy test Problem /8

* Easy test Problem /8
2023-05-04 02:34:42 +00:00
Samson Amaugo c5111536e9
feat : added sample for validation result using error message (#29123)
* added sample for validation result using error message

Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>

* added sample for validation result using error message

Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>

* deleted folder

---------

Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>
2023-05-01 14:19: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
Scott Moxham d1e207a975
Sample code can be simplified (#29084)
No need to call GetTypeInfo() as Assembly is accessible from the result of typeof(MySharedController)
2023-04-26 08:34:56 -10:00
Rick Anderson b2aa74bd63
Controller lifetime (#29071)
* Update index.md

* Update actions.md
2023-04-25 09:08:56 -10:00
Shadi Alnamrouti b88179358d
Author profile link renewed (#29066) 2023-04-24 09:20:29 -10:00
Joe Krajcir f9a28b0a8c
Model validation non-nullable reference types typo (#29000) 2023-04-17 16:26:36 -10:00
Rick Anderson 091983c60a
Not latest version (#28878)
* Not latest version

* Not latest version

* Not latest version

* Apply suggestions from code review

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>

* Not latest version

* Not latest version

* Not latest version

---------

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2023-04-04 15:42:31 -10:00
Tom Dykstra 43fd66219a
Advise when to use runtime compilation (#28708)
Co-authored-by: Daniel Roth <daroth@microsoft.com>
2023-03-31 19:49:19 -07:00
cn-byn 67ee1ef19c
Remove prefix from script tag helper attribute "src" (#28802)
* Remove prefix from script tag helper attribute "src"

Document the script tag helper attribute "src" instead of the non-existent attribute "asp-src". Move description of said attribute to the top, similar to link tag helper's "href" attribute.

* Update aspnetcore/mvc/views/tag-helpers/built-in/script-tag-helper.md

---------

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2023-03-31 14:26:27 -10:00
GaryNg f4ee27ff74
Fix typos and formatting (for older version of the doc) (#28760) 2023-03-24 03:22:08 -04:00
Rick Anderson c04c830b0e
Update routing.md (#28759) 2023-03-24 02:05:30 +00:00
GaryNg af1d6c91da
Fix minor typos and formatting (#28750)
* Fix list formatting

* Formatting and typos
2023-03-23 15:56:37 -10:00
Amalkrishna Nair f051b14b54
Fix missing property accessor in code and add jump link to section (#28521)
* Add jump link to section

* Add missing property accessor

Change `model.Insert(..)` to `model.Countries.Insert(..)`
2023-03-08 13:17:00 -08:00
Daniel Roth 6fec734c31
Remove promise of future delivery of functionality that is not committed. (#28613) 2023-03-08 09:11:16 -05: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
Kyle Mitofsky ec171dd267
document conditional attribute rendering in razor (#28474)
* document conditional attribute rendering

* add example names to output

* Apply suggestions from code review

* Apply suggestions from code review

* Update aspnetcore/mvc/views/razor.md

---------

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2023-02-22 17:03:33 -10:00
Rick Anderson 2fecfdd970
Warn about routing with special chars /6 (#28213)
* Warn about routing with special chars /6

* Update aspnetcore/includes/routeSlash.md
2023-02-01 12:14:39 -10:00
vadzimdv 33f2a0a10c
DateOnly TimeOnly added to docs (#28074) 2023-01-12 18:35:05 +00:00
Luke Latham f667e9a523
Update broken link (#28043) 2023-01-09 21:01:25 +00:00
Rick Anderson fe66592cf9
Update file-uploads.md 2022-12-21 10:50:37 -10:00
Rick Anderson ee12debb38
Small VS Large /2 (#27938)
* Small VS Large /2

* Small VS Large /2

* Apply suggestions from code review

Co-authored-by: Chris Ross <chrross@microsoft.com>

* Update aspnetcore/mvc/models/file-uploads.md

Co-authored-by: Chris Ross <chrross@microsoft.com>
2022-12-20 14:18:26 -10:00
Tom Dykstra e5fe8c452f
Runtime compilation doesn't support global or implicit usings (#27859) 2022-12-16 12:59:00 -10:00
Tom Dykstra c601cb3f72
Add to the list of attributes for script tag helper (#27895) 2022-12-13 08:26:36 -08:00
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