Commit Graph

71 Commits (f521240adb3215d5900e95d82da75901bd038f36)

Author SHA1 Message Date
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
Joseph Woodward 3aebdc36c3 Fix incorrect syntax (#4637) 2017-10-26 20:38:37 -05:00
Scott Addie cbbb7a8071 Merge pull request #4363 from guardrex/guardrex/mvc-model-validation-update
Add Required note to model validation topic
2017-09-28 11:45:38 -05:00
Luke Latham 98d5116273 React to feedback 2017-09-28 10:53:40 -05:00
Luke Latham 63467db347 React to feedback 2017-09-28 10:45:28 -05:00
Luke Latham 6cfecd5cee Updates 2017-09-27 21:47:41 -05:00
Alexander Batishchev 4bf2319523 Update model-binding.md
Fixing type `CancelationToken` -> `CancellationToken`
2017-09-27 16:48:29 -07:00
Luke Latham f76aa0bd2d React to feedback 2017-09-27 14:58:13 -05:00
Luke Latham 139b95ff04 React to feedback 2017-09-27 10:41:54 -05:00
Luke Latham 96cca00e38 Drop literal_block comments and fix a few code blocks 2017-09-27 02:38:43 -05:00
Luke Latham cf91403960 React to feedback 2017-09-27 01:50:18 -05:00
Luke Latham 7f8596988c React to feedback
Minor update
2017-09-26 21:38:18 -05:00
Luke Latham d060967835 React to feedback 2017-09-26 15:19:22 -05:00
Luke Latham 11d5aacbda Add Required note to model validation topic
Fixes #1928
2017-09-22 21:29:11 -05:00
Luke Latham 18d1878f00 Trim keywords of keyword metadata
Patch 3
2017-09-21 02:22:29 -05:00
Scott Addie e1ec11beb0 Merge pull request #4336 from guardrex/guardrex/kill-the-bom
Kill BOM and add end newlines
2017-09-20 09:11:19 -05:00
Luke Latham d157e2ec7a Kill BOM and add end newlines 2017-09-20 02:36:55 -05:00
Scott Addie efd8b8f5a9 Fix invalid ms.date metadata values 2017-09-19 13:44:04 -05:00
Isaac Levin 854c07c430 Remove Deadlinks in aspnetcore section of repo (#4241)
* Create mvc2.md

Added temp file to house doc requested in #3809

* Initial outline of document

* Added Note for Special Tooling (VS 2017 Preview 3)

Will remove when Preview 3 is updated into Release

* Added Porting Link

* Added Core DI Sample

* added DI Section

* Added Storing Configuration Settings Section

* Adding Custom Settings samples

* part of static content

* static content section

* .net standard section

* Adding Edit in VS 2017 Image

* Samples for Startup

* startup and csproj section

* update image reference

* Updates to Migration Doc

changes per @scottaddie

* Final round of changes

Please review

* Edits

* Fix invalid xref link

* More edits

* More edits

* More edits

* More edits

* More edits

* More edits

* Move Content to different directory

* Update Code Sample Links

* change sample location

* ::

* Update Sample Filenames

* Minor edit

* Remove extra space

* More edits

* Move Static Folder

* update reference to image

* Update mvc2.md

* Minor tweaks

* Changes to sample file

* Change copy for Configuration Section

* Fix code formatting

* Remove extra line feed

* Remove extra line feed

* Fix 3xx/4xx/5xx Status Codes in aspnetcore folder

* Take out locality references in urls:

* change MSDN urls to docs.microsoft if possible

* Update aspnet-core-module.md

* Update iis.md

* Remove localization from external links
2017-09-11 20:58:51 -05:00
Luke Latham 41e3e00751 Add wwwroot assets to the ResponseFormattingSample (#4161)
* Add wwwroot assets to ResponseFormattingSample

Add-on PR due to the unexpected presence of *wwwroot* in the
*.gitignore* file.

* Delete _references.js
2017-09-01 16:03:39 -05:00
Luke Latham b7b64803d5 Remove OutputType from project files (#4163)
Removing \<OutputType> from updated 2.0 projects, as it's specified by
Sdk.Web, and we're (generally) not showing defaults in the files.

There's a chance that we'll need to make an additional  update for
*wwwroot* to match the templates. I'm checking on that now.
2017-08-31 15:47:33 -05:00
Luke Latham 5e7d6a2be8 Update ResponseFormattingSample app (#4140)
Addresses #1950

AFAICT you can't specify the global format filter as the live sample
does ... removing that line results in a properly functioning sample. It
returns both XML or JSON depending on the Accepts header; otherwise, it
(the live sample) only ever returns XML.

Sample updates
2017-08-30 08:42:20 -07:00
Luke Latham 5d641ee2cb Update ValidationSample app (#4146)
Fixes #1950

* Upgrades sample to 2.0 with minor fixes
* No significant changes made to the topic
2017-08-30 08:40:35 -07:00
Scott Addie f6dac646e1 Remove duplicated instances of 'the' (#3893) 2017-08-05 09:54:04 -04:00
Rick Anderson c23f9b383b remove /en-us/ (#3670) 2017-07-10 12:20:50 -06:00
Rick Anderson 8376f60ed3 replace GetTempFileName (#3639)
* replace GetTempFileName

* replace GetTempFileName

* good app
2017-07-06 12:23:52 -06:00
Scott Addie 515706c593 Remove wrench icon in Configuring Formatters paragraph 2017-07-03 13:39:22 -05:00
Rick Anderson 2225182397 remove | MS Docs (#3612) 2017-06-30 23:47:15 +00:00
Scott Addie 43ef7d7cf4 Remove double quotes used in addTagHelper directives (#3600) 2017-06-30 01:27:25 +00:00
Omar Maher d1a2867afd Update Startup.cs in Formatting (#3378)
* Update Startup.cs

Make default format xml

* Update Startup.cs

Make Xml global format
2017-05-24 11:24:00 -07:00
Steve Smith ff6b4b196e Custom model binding (#3275)
* Initial outline and updates to links.

* Fixing formatting

* adding sample

* sample base64 string

* Working on article and sample

* ready for initial review

* Responding to feedback

* Uncommenting attribute

* switching back to authorid

* Fixing code listing

* Updated based on feedback

* responding to feedback

* Responding to feedback. Tested simplified app and still works as expected.
2017-05-03 16:21:50 -04:00
Andy Pasic 010b730d27 Bulk metadata fix (#2871)
* meta data fix

* Revert "meta data fix"

This reverts commit ba36883476.

* meta data fix2

* test

* Update owin-oauth-20-authorization-server.md

* Update api-ref.md

* Update api-ref.md

* test

* test2
2017-03-02 14:50:36 -10:00
Tom Dykstra d429e7977e h1 update (#2844) 2017-02-27 12:40:05 -08:00
rhires 54fb316226 "off of" -> on
And remove extra "it" to improve the flow
2017-02-14 21:11:42 -05:00
Luke Latham 74a44669d5 File uploads doc update (#2576)
* Update GenerateAntiforgeryTokenCookieForAjaxAttribute.cs

* Update Startup.cs

* Update DisableFormValueModelBindingAttribute.cs

* Update StreamingController.cs

* Update UploadFilesController.cs

* Update file-uploads.md

* Update UploadFilesController.cs

* Update file-uploads.md

* Update file-uploads.md

* Update GenerateAntiforgeryTokenCookieForAjaxAttribute.cs

* Update StreamingController.cs

* Update StreamingController.cs

* Update file-uploads.md

* Update file-uploads.md

* Update file-uploads.md

* Update file-uploads.md

* Update file-uploads.md

* Minor update
2017-01-24 13:50:16 -08:00