Commit Graph

105 Commits (36f6c17d4f2e2f3cd9105ddc7ea6d8ca7e7f239b)

Author SHA1 Message Date
Scott Addie 8caa93e2fb
Restore missing Model State code snippet (#10199) 2019-01-04 10:28:27 -06:00
Henrik Røn 25603327e6 ASP.NET Core MVC: Updating validation sample to 2.2 (#10021) 2018-12-17 07:56:36 -06:00
Steve Gordon 8b84b42a5f Fixing the wording of a sentence (#9569) 2018-11-13 08:34:37 -06:00
Scott Addie 01cbe3293e
Explain relationship between model validation and [ApiController] (#9377)
* Explain relationship between model validation and [ApiController]

* React to feedback in index.md

* React to more feedback
2018-11-06 11:52:38 -06:00
Rick Anderson 0ee6b101d9
delete map and min files (#9310) 2018-10-31 14:26:48 -10:00
Rick Anderson 2922d040bd Update validation.md (#9316)
* Update validation.md

* Update validation.md
2018-10-30 15:47:39 -05:00
Luke Latham 5704de168e Implicit versioning of the All package (#9223)
Fixes #9219 

@JunTaoLuo Dan calls out the implicit versioning "for 2.1 SDK or later;" however, we don't usually version the doc content by SDK release. We might need to say something for this update in the passage that I'm adding to the All topic (*aspnetcore/fundamentals/metapackage.md*) about which SDK version this applies to. I don't know if that's something that you would like to do or what version to call out.

I also remove the version from the samples. We also assume that devs are using the latest SDK with our samples.
2018-10-25 15:16:50 -10:00
Dave Brock e4a189b59f Specified where attributes can be applied (#9204)
Fixes #8574
2018-10-24 13:16:43 -10:00
Luke Latham 7120a2f985
Azure Apps troubleshooting title change (#9199) 2018-10-24 14:26:16 -05:00
Luke Latham 46f41d4774
Update All and App package versions (#8513) 2018-09-13 11:39:23 -05:00
Luke Latham 1a0f79a8fe
Update All/App package version (#8489) 2018-09-11 08:53:03 -05:00
Luke Latham f85202290b Remove HTTP links to Microsoft (#8353)
Fixes #8350
2018-08-30 11:48:27 -07:00
Luke Latham 232d345f9e
Specify "Core" for ASP.NET Core refs (#8110) 2018-08-15 22:30:29 -05:00
Pranav K 187185eeaa Add some details about ModelMetadataDetailsProvider (#8076)
* Add some details about ModelMetadataDetailsProvider

* Edit pass
2018-08-14 15:58:20 -05:00
John Osborne c2be9e481a Paramater naming convention fix (#8023)
The parameter should be camelCase.
2018-08-10 09:25:53 -05:00
Scott Addie 27e907f3ba
Remove unnecessary jQuery document.ready call (#7899)
Fixes https://github.com/aspnet/Docs/issues/7894

Also incorporated a few Acrolinx suggestions while I was in there.

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/models/validation?view=aspnetcore-2.1&branch=pr-en-us-7899#iclientmodelvalidator)
2018-07-31 11:57:38 -05:00
Scott Addie cb24febfda
Update author metadata fields to Tom (#7652)
Updates the `ms.author` and `author` metadata fields to Tom's user ID.
2018-07-16 15:09:39 -05:00
Scott Addie 09d7e5d4e8
Metadata updates to MVC docs (#7150) 2018-06-19 15:47:26 -05:00
Luke Latham 75d354fe18 Show GetErrorMessage in Model validation topic (#6911) 2018-06-07 11:12:09 +02:00
Luke Latham 7048bb8fbf API link updates (#6149)
* API link updates

Updates

One more!

Fix bookmark

Mo updates

More updates

Updates

Updates

* Update action-return-types.md

* Update index.md

* Update concurrency.md

* Update intro.md

* Update localization.md

* Update search.md
2018-05-02 14:45:06 -05:00
Scott Addie 265c04a130
Remove extra space in link syntax 2018-05-01 12:51:19 -05:00
user135711 1584a58c9b Change jquery onready to IIFE (#6094)
* Changed unobtrusive call from onready to IIFE

* Convert to shorthand document.ready function
2018-04-30 14:16:38 -05:00
user135711 13c437817e documentation for unobtrusive methods (#6096)
This blog post was all I could find for official api documentation without wasting an hour reading the 400 line unobtrusive.js file in the projects. This example makes now sense without this link (perhaps the information should be reproduced here in case it's taken down).
2018-04-26 14:17:38 -10:00
MelnikovIG e07a9ad2c8 Fix ValidationSample project compilation (#6050) 2018-04-22 19:35:50 -10:00
Scott Addie b2cdf7ff05
Relocate advanced MVC docs to Web API TOC (#5859) 2018-04-02 15:22:30 -04:00
Luke Latham bdb6d7cafc Title, description, and H1 updates (4) (#5745)
* Title, description, and H1 updates (4)

* Updates

* Updates

* Drop gerunds and update link text

* Update

* Update next.md

* Update routing.md
2018-03-21 14:18:35 -10:00
Luke Latham 6b0cf1247f Title, description, and H1 updates (2) (#5697)
Updates
2018-03-14 16:51:34 -10:00
Luke Latham f047169540 Drop [Main] from snippet references (#5547) 2018-02-24 10:08:11 -06:00
Dan Vicarel afdf3729e1 Fixed a jQuery error on the Model validation page (#5377) 2018-02-06 12:25:33 -06:00
Antoine Griffard 42c5c48cd7 Typo in MVC Model Validation (#5362)
however they wish => as they whish

Fixes #5361
2018-02-03 09:21:43 -10:00
Luke Latham abbe642741 Organize metadata (#5296)
Updates
2018-01-29 09:21:31 -06:00
Luke Latham 8e33d0e94e Remove redirected topic files (#5299)
Updates
2018-01-29 09:15:04 -06:00
Luke Latham fa24342f38 Remove smart quotes (#5294) 2018-01-28 15:49:15 -06:00
Luke Latham 313486d76f Taming the savage contraction issue (#5216)
* Form contractions

* Revert two contractions

* Additional reversions

* Additional reversions

* Additional revisions

* Additional revisions

* React to feedback
2018-01-24 09:27:24 -06:00
Luke Latham 1dd1a7fc8a
Remove localization segment from links (#5254) 2018-01-23 19:12:57 -06:00
Rachel Appel b92ed4f6f9
Updates for meta csat etc (#5236) 2018-01-22 21:06:08 +01:00
Luke Latham 31df8fcabf Remove keywords and ms.assetid metadata from ASP.NET Core topics (#5208) 2018-01-19 14:11:45 -06:00
Luke Latham d1c84324e5 Kill double-spaces (#5206) 2018-01-19 14:04:54 -06:00
Shimmy 6c653cc6e0 Making use of the ValueProviderFactoryExtensions (#5073)
* Making use of the ValueProviderFactoryExtensions

* Restored region per request

* Namespace ordering
2018-01-03 16:59:27 -10:00
Rachel Appel 2a42c5a167
minor grammar edits (#5031) 2017-12-18 17:23:32 -05:00
Duane McKibbin fa16bf4e5c Adjust sample range to show method signature (#4860)
* Adjust sample range to show method signature

The section on using IValidatableObject was missing the Validate method signature and included an extra closing } 
The range was off by 1 on both sides.

Question: The first snippet sample for "Custom validation" looks weird because it contains the class name but not the closing } , not sure how to fix that though with the ?range syntax.

* Update validation.md
2017-11-27 15:03:58 -10:00
Dan Vicarel e2a7f0b335 Added References to jQuery Validate Plugins in the Model Validation Topic (#4751)
* Added more details on remote validation to the MVC model validation page

* Described the attribute -> tag helper -> jquery unobtrusive validation -> jquery validate flow for client-side validation in a little more detail.
2017-11-20 15:35:28 -05:00
anonymousgituser a0b1f5afe4 Explanations of Model Binding Default Behavior (#4830)
* Explanations of Model Binding Default Behavior

This PR is to expound upon the default behavior of the model binding engine when values are not found.

* React to feedback

* Minor tweaks
2017-11-20 11:24:01 -06:00
Poulad d19c8af6e3 Update formatting.md (#4823) 2017-11-19 10:44:00 -10:00
Rachel Appel a7fe30958b
minor grammar fix (#4804) 2017-11-15 14:13:23 -05:00
Dan Vicarel 4fd18b286c Added Examples for Validating Dynamic Content to the Model Validation Topic (#4753) 2017-11-15 13:54:00 -05:00
Rick Anderson 034a54904e
Merge branch 'live' into master 2017-11-13 13:13:54 -10:00
Dan Vicarel b90685e708 Specified the language on two code snippets in the remote validation section (#4781) 2017-11-13 13:07:35 -10:00
Rick Anderson ccf08615ad
Update live with current master (#4772)
* Tabbifying script examples per OS (#4735)

* Command line deployment

* typo fix

* edits per review

* increased visibility of 'pub to azure' scenarios

* removed copy/paste debris

* Tabbified the local code segments

* fixed merge whoops

* attempting to fix TOC

* Fixed toc xref

* Update implementing-basic-crud-functionality-with-the-entity-framework-in-asp-net-mvc-application.md (#4745)

* Update adding-controller1.md (#4747)

* Update adding-controller1.md

* Update adding-controller1.md

* Update publish-to-azure-webapp-using-vs.md (#4746)

* Overhaul of resource-based auth doc (#4715)

* Updates to resource based auth doc

* More edits

* More edits

* Tag with mvc metadata

* Verbiage tweaks

* More edits

* More MVC edits

* More edits

* Initial commit of sample app

* Replace inline code with code imports

* Add download link to sample app

* Correct the requirement class name

* Adjust line number

* Verbiage tweak

* More edits

* Add 1.x sample

* Update sample apps folder name in link

* Minor edits

* More edits

* Fix metadata warnings

* Code cleanup

* Update description metadata

* Update property name in csproj file

* Update old namespaces in ASP.NET Core 2.x app

* Update .NET Fx target framework TODO comments

* Prevent action code from scrolling

* Add Razor Pages sample

* Fix line numbers for highlighting

* Return ForbidResult when appropriate in 2.0 app

* Add authentication assumption notes

* Update metadata

* React to Rick's feedback

* Add 1.x handler snippets

* Update adding_view1.md

* Fix broken sample apps link

* Minor improvement (#4757)

* Update using-gulp.md

* Update index.md

* Update create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on.md (#4767)

* Added Description for AdditionalFields Property of Remote Attribute (#4768)

* Updated model validation topic and example code to describe the Remote attribute AdditionalFields property

* Update validation.md

* Update update-related-data.md (#4761)
2017-11-10 15:41:52 -10:00
Dan Vicarel 29c81f521c Added Description for AdditionalFields Property of Remote Attribute (#4768)
* Updated model validation topic and example code to describe the Remote attribute AdditionalFields property

* Update validation.md
2017-11-10 14:16:20 -10:00