Commit Graph

291 Commits (9add7f5ec62e8db4b05880ae83d3d2f4fb40c8e0)

Author SHA1 Message Date
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
MaxHorstmann 2855fc2fb8
fix typo 2017-11-26 21:50:29 -05: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
Luke Latham 1c3b4fea85 Fix and update Testing Controllers sample (#4744) 2017-11-16 11:18:00 -10:00
Jacob Kattampilly 2711ddb868 Minor URL change (#4812) 2017-11-16 10:55:15 -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
Isaac Levin 0434ff60ff RazorPages is ambiguous - rename app MyRazorPages #4695 (#4775)
* Rename RazorPages to RazorPagesSample

* fix typo

* change dbname in startup

* revert change and slight rename
2017-11-14 08:23:42 -10:00
Rick Anderson 83cb1b6dfd
Update overview.md (#4771)
* Update overview.md

* Update overview.md

* Update overview.md

* Update overview.md
2017-11-13 13:50:16 -10: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 7d092cd990
Update live with current master (#4773)
* 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)

* Fix typo in MVC Views overview

* language enhancement proposal (#4779)

* language enhancement proposal

as discussed in comments

* Update iis.md

* RP intro add tutorial link (#4764)

* RP intro add tutorial link

* Update index.md

* Update index.md

* Update adding-model.md (#4778)

Fixed a typo at line 72 (an e missing)
2017-11-13 10:58:31 -10:00
Rick Anderson b3abc96e95
RP intro add tutorial link (#4764)
* RP intro add tutorial link

* Update index.md

* Update index.md
2017-11-13 10:49:43 -10:00
Justin Kotalik fbce5e8a49
Fix typo in MVC Views overview 2017-11-11 15:49:29 -08: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
Luke Latham 65d60b9783 LoggerMessage topic (#4697)
* LoggerMessage topic

Updates

Updates

Updates

Update

Updates

Update

* React to feedback

Update

React to feedback

Update

* React to feedback

* Update loggermessage.md

* Updates

Updates

Updates

Update

* React to feedback
2017-11-06 15:41:13 -10:00
Rick Anderson a422187ba7
Update overview.md 2017-11-06 10:08:27 -10:00
Luke Latham 10478fce6a Razor Pages authorization conventions topic (#4584)
* Razor Pages auth and custom routing topic

Update

Updates

Updates

Sample update

Updates

Use absolute URLs in sample README

* React to feedback

* Filename change

* React to feedback

* Breakdown 1st sentence

* Error page update

* React to feedback

Update

Updates

* Move topic to security/authorization + add crosslinks

Update sample link

* Move topic to 3rd under Authorization in TOC
2017-11-03 12:52:31 -05:00
Isaac Levin e18d233bc7 Review all Codeplex links/mentions and update where needed (#4642)
* porting of codeplex links

* updates

* updates

* updates

* updates

* updates

* updates
2017-11-01 08:49:07 -10:00
Rick Anderson b9509ec906
RP with EF (#4451)
* RP with EF

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* finished with CRUD

* start part 3

* start part 3

* finish Sort/Group

* finish Sort/Group

* finish Sort/Group

* finish Sort/Group

* work

* removed all you

* finished with parts 1-3

* finished with parts 1-3

* finished with parts 1-3

* part 4

* finish mig

* finish mig

* complex

* complex

* complex

* complex

* complex

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback
2017-10-31 19:38:47 -10:00
Scott Addie bd49dc6321
Convert from csharp to cshtml snippet types 2017-10-31 13:14:42 -05:00
Scott Addie 8397c1d811
Convert code snippets to cshtml 2017-10-31 11:10:09 -05:00
Luke Latham be5e9dff6e Patch sample and add a note on handler name matching (#4639) 2017-10-27 10:30:41 -05:00
Joseph Woodward 3aebdc36c3 Fix incorrect syntax (#4637) 2017-10-26 20:38:37 -05:00
Luke Latham ebbde02a80 Razor Pages route and app convention features topic (#4623)
* Razor Pages auth and custom routing topic

Updates

Updates

Updates

Updates

Updates

Updates

Updates

Updates

Update

Updates

Updates

Updates

Updates

Modify one image

Use absolute URLs in the sample README

* React to feedback + add Order to AttributeRouteModels

* Error page update

* React to feedback

* React to feedback

* Correct handerName to handlerName

* Remove CDN warnings

* In-topic TOC enhancement

Update in-topic TOC

In-topic TOC update

In-topic mini-TOC update
2017-10-25 15:35:21 -05:00
Olcay Bayram 63f7bebb60 Adding optional id parameter to area route (#4628) 2017-10-25 10:31:06 -05:00
ckams f2e69f65f1 Update authoring.md (#4599) 2017-10-18 12:26:54 -10:00
Dan Vicarel a873f862c8 Added info about calling generic methods to the Razor syntax topic (#4576)
* Added info about calling generic methods to the Razor syntax topic

Info added in the sections on Razor code blocks, implicit expressions, and explicit expressions.

* Made edits suggested by reviewer @guardrex

* Update razor.md

* Update razor.md

* Update razor.md
2017-10-16 13:25:42 -10:00
Scott Addie 912a1efc8f Fix invalid bookmarks (#4570) 2017-10-13 15:50:30 -05:00
Scott Addie cf5caca007 Update link titles 2017-10-09 14:43:00 -05:00
Tien Tran cc29c55ba5 add db context 2017-10-09 16:42:28 +07:00
Luke Latham e45f8912ce MVC/Views/Razor topic updates (#4464)
* MVC/Views/Razor topic updates

Updates

Updates

* React to feedback

* React to feedback

* Update razor.md
2017-10-04 08:41:28 -07:00
Scott Addie a60a99104f Merge pull request #4465 from guardrex/guardrex/views-overview-patch
Views overview patch
2017-10-02 20:23:09 -05:00
Michael DePouw e9a9bc8553 fix Broken Link for Create and run unit tests with Visual Studio
reference #4477
2017-10-02 14:20:53 -04:00
Luke Latham 19ce81f76a Provide link to download instructions for samples 2017-09-30 20:15:54 -05:00
Luke Latham 4c0260f7cb Views overview patch
Addresses #3186

I didn't go with an IntelliSense screenshot because, as you point out,
it's a side note merely highlighting a VS/VSC feature. With the link
there to the IntelliSense topic, I think we're covered.

cc/ @rachelappel
2017-09-29 21:59:20 -05:00
Scott Addie f5cad8ab84 Merge pull request #4412 from guardrex/guardrex/views-overview-update
MVC views topic update
2017-09-29 09:13:56 -05:00
Luke Latham e29fb1a51c Updates to the intro: layouts, partials, VCs 2017-09-28 16:56:59 -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
Scott Addie 3ba32b2b64 Merge pull request #4435 from guardrex/guardrex/explain-onpostdeleteasync
Explain post delete method
2017-09-28 10:28:19 -05:00
Luke Latham 3c24eb8c42 React to feedback 2017-09-28 10:22:19 -05:00
Luke Latham c85c7fada9 Explain post delete method
Update
2017-09-28 00:03:12 -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