Commit Graph

359 Commits (b4816ac7a33c5632834824a51e47d6c8922099b4)

Author SHA1 Message Date
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 9a466bff79 note about RP & MVC views with asp-page (#5075) 2018-01-02 15:30:53 -10:00
Rachel Appel ad9ce52255
added asp-page info (#5040)
* added asp-page info

* feedback mods

* removed relative path
2017-12-20 10:44:15 -05:00
Rick Anderson b40c22c376
Update authoring TH (#5042)
* Update authoring.md

* Update authoring.md
2017-12-19 10:26:36 -10:00
Rick Anderson 23c6f25672
RP - Index, remove bad link (#5033) 2017-12-19 08:30:14 -10:00
Rachel Appel 2a42c5a167
minor grammar edits (#5031) 2017-12-18 17:23:32 -05:00
Rachel Appel 0cca9f3f21
minor grammar edits (#5030)
* minor grammar edits

* correction
2017-12-18 16:37:45 -05:00
Scott Addie 415b2d6238 Clarify the FDD requirement for view compilation (#5001)
* Clarify the FDD requirement for view compilation

* Update FDD link

* Verbiage clarification
2017-12-13 09:06:17 -10:00
Daniel Roth 8d735d1ce1
Update index.md 2017-12-12 16:59:21 -08:00
Scott Addie d1572a4dcf Convert Cache tags to lowercase (#4984) 2017-12-12 11:53:22 -10:00
Rick Anderson 0b3e34ae40 Update overview.md (#4976)
* Update overview.md

* Add missing period
2017-12-12 09:04:35 -06:00
Sergey 79cbe84b04 Incorrect 'expires-on' is changed to 'expires-after' (#4982)
'expires-after' exmaple is fixed.
2017-12-12 08:58:46 -06:00
Scott Addie 20c547f4fe
Remove extra space from div tag (#4966) 2017-12-11 10:21:03 -06:00
Rick Anderson fce73ddd5c update view components to 2.1 (#4960) 2017-12-11 09:58:11 -06:00
Rick Anderson 04bc170224
Update index.md (#4931)
* Update index.md

* Update index.md

* Update index.md

* Update index.md

* Update index.md
2017-12-07 10:04:54 -10:00
Scott Addie aea5ad8493 Add *.PrecompiledViews assembly text (#4929)
* Add PrecompiledViews assembly text

* Optimize screenshot
2017-12-05 08:18:27 -10:00
Luke Latham a17c20dc02 Razor Pages Testing topic (#4832)
* Razor Pages Testing topic

* React to feedback

* Updates

Updates

* React to feedback

* Make test classes singular

Update
2017-12-02 07:06:50 -10:00
Luke Latham 374ecc35a7 Documenting Options change for 2.0 (#4797)
* Documenting Options change for 2.0

Update

Updates

Updates

* Updates

Fix link

Update TOC entry

Fix redo

Updates

* Update index.md

Simple is banned.

* Factor remaining Options out of Config topic

* React to feedback and updates

Update

Updates

Update metadata

* React to feedback

Update
2017-11-28 14:09:16 -10: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
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
Scott Addie b5c868c7a2 Merge pull request #4335 from motowilliams/feature/updates-model-binder-task-return
Updates TaskCache to Task
2017-09-27 11:00:34 -05:00
Luke Latham 139b95ff04 React to feedback 2017-09-27 10:41:54 -05:00
Luke Latham 8da43a3906 Fix one 2017-09-27 10:31:44 -05:00
Luke Latham c61b474930 React to feedback 2017-09-27 10:30:00 -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 018853a4c7 React to feedback 2017-09-26 22:25:36 -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 b7923ddf46 MVC views overview update
Updates

Updates

Updates

Updates

Update
2017-09-26 13:36:20 -05:00
Scott Addie 104ab35d53 Add closing paren and semicolon (#4406) 2017-09-26 09:19:06 -07:00
Luke Latham ba407476a3 Merge branch 'master' into guardrex/resp-caching-update 2017-09-25 14:53:21 -05:00
Luke Latham b108eb50b6 Patch note for view precomp for SCDs 2017-09-23 15:20:38 -05:00
Luke Latham 11d5aacbda Add Required note to model validation topic
Fixes #1928
2017-09-22 21:29:11 -05:00
Scott Addie eed99e5a8e Merge branch 'master' into guardrex/resp-caching-update 2017-09-21 21:42:42 -05:00
Luke Latham 18d1878f00 Trim keywords of keyword metadata
Patch 3
2017-09-21 02:22:29 -05:00
Luke Latham ffc0d0d20f Response Caching topic enhancements
Updates
2017-09-20 16:59:48 -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
Eric Williams 9a43edde43 Updates TaskCache to Task
Since [TaskCache](https://github.com/aspnet/Common/issues/238) was removed this updates the samples to use `Task.CompletedTask` instead
2017-09-18 19:35:55 -06:00
Rudi Visser 0d6e3cb775 Remove duplicated code display (#4293)
* Remove duplic

* Reduce code snippet display rather than removing
2017-09-15 15:24:24 -05:00
Toby Johnson 669347ee62 Update SampleAsyncActionFilter.cs (#4259)
The existing code sample implies that the user can access the result of the action method in `context.Result`, but that is not the case. User needs to capture the result of the `next` delegate in order to access this info.
2017-09-14 21:36:55 -05:00
Scott Addie d2f705f7a8 Updates to Razor Pages intro doc (#4262)
* Updates to Razor Pages intro doc

* More updates

* Remove @functions conversion reference

* Remove all @functions references and code

* Change code snippet type to cshtml
2017-09-13 11:06:58 -05:00
Luke Latham 588c6a6193 Add form THs to list of built-in THs (#4270)
Fixes #3700

... and gives the text a little *boost!* 😀
2017-09-13 09:26:15 -05:00
Rudi Visser ed062d8a80 Fix typo in code sample and grammar (#4273) 2017-09-13 09:19:11 -05:00
Scott Addie 0ea775dbd2 Fix invalid link 2017-09-11 21:23:10 -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
Greg Ingram b59fcb6af4 Fixed to use correct formatter. (#4251) 2017-09-11 16:05:08 -05:00
Luke Latham f9c0df0649 Minor text updates (#4246) 2017-09-11 09:37:23 -05:00
Luke Latham 267b8fc7a8 Add tilde to bs fallback href (#4247) 2017-09-11 09:36:10 -05:00
Greg Ingram 0f7270924a Fixed sample link (#4248)
It appeared to be a broken link when "sample" was capitalized when using Chrome... don't know why?
2017-09-11 09:33:45 -05:00