Commit Graph

495 Commits (91a2e221a9a12dbe657dc48416cafa01a8b5c40a)

Author SHA1 Message Date
Luke Latham 5399bf3923 Wrong sample link in topic (#5500) 2018-02-20 10:42:49 -06:00
Luke Latham 239aa0ba8c Remove PJ files from non-sample projects (#5502) 2018-02-20 10:38:33 -06:00
Luke Latham 8aba8221e2 Link "conventions" language to the app model topic (#5506)
* Link "conventions" language to the app model topic

* Update razor-pages-convention-features.md
2018-02-20 10:36:25 -06:00
Luke Latham cbb06a8c4a Remove orphaned file (#5501) 2018-02-17 08:42:22 -10:00
Rick Anderson d49485d975
Update working-with-forms.md (#5473)
* Update working-with-forms.md

* Update working-with-forms.md

* Update working-with-forms.md
2018-02-15 09:53:14 -10:00
Pranav K a4505e8890 Update working-with-forms.md (#5470)
* Update working-with-forms.md

* Updated

* Update working-with-forms.md

* Update working-with-forms.md

* Update working-with-forms.md
2018-02-14 14:07:50 -10:00
Sam Foo f235255b83 Remove repeated duplicate words (#5438) 2018-02-11 12:36:03 -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
Rick Anderson b97dfdf3f0
fix range - highlighting (#5337) 2018-02-02 09:16:49 -10:00
Rodigee 4a0bf9113e Fixed spelling mistake (#5328) 2018-02-01 10:24:49 -06:00
Scott Addie ec2ad2e944
Change cshtml to csharp in code snippet import 2018-01-31 22:09:33 -06:00
Scott Addie cf48b3aeec
Fix broken samples link 2018-01-31 22:05:17 -06:00
Scott Addie be46efd765
Fix asp-protocol code snippet import 2018-01-31 21:56:05 -06:00
Scott Addie f4f9cdf912
UE edit of Anchor Tag Helper doc (#5281)
* UE edit of Anchor Tag Helper doc

* Make sample project run

* Promote H3 attribute headings to H2

* Add API ref links and 2 new attributes

* Adjust metadata

* Add note about page handler name

* Verbiage tweak

* Another verbiage change

* Fix incorrect template syntax

* Add more complete code snippet

* Improve areas directory structure example

* Remove fully-qualified namespace from Index view

* Replace single quotes with double quotes

* Minor verbiage tweak

* Shorten the Razor Pages code snippets

* Rewording

* Add missing actions to controller

* Word swap

* Adjust rendered link text

* Add working examples

* More code updates

* Fix asp-page sample code

* More verbiage tweaks

* Formatting changes

* Remove custom Tag Helper

* React to feedback

* Fix build error

* Use layout file for Razor Pages
2018-01-31 14:00:31 -06:00
Luke Latham ab45f0c5d1 IMiddleware/IMiddlewareFactory topic (#5027)
* IMiddleware/IMiddlewareFactory topic

Change middleware topic filename + add crosslink

Update

Updates

* IMiddleware/IMiddlewareFactory topic

Change middleware topic filename + add crosslink

Update

Updates

* Updates

Updates

* React to feedback

* Add conventional middleware activation example
* Use Ninject to make the samp demo a real nonconforming container

* Show the default factory

* React to feedback

* Cut extraneous Ninject bits

* Updates

Update

* React to feedback

* React to feedback

* Use Simple Injector + default IMiddlewareFactory impl

* Updates

* Update

* Revert topic+sample to using the default container

Update

* Updates

* Updates

* Updates

* React to feedback

* Update
2018-01-30 10:53:14 -06: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 9d53ba5eea Remove code-behind from RP terminology (#5290)
Updates
2018-01-27 10:22:43 -10:00
Luke Latham e22c40247e Section header casing and addl resrouce links to xref (#5291)
Fix one link
2018-01-27 10:21:42 -10:00
Luke Latham 90a33ea189 Remove hyphen from e-mail (#5289) 2018-01-27 10:19:41 -10:00
Ward Durossette 2d899fa3fc Removed a duplicate "the" (#5271)
Extending my small crusade to eliminate the vile duplicity of "the the".
2018-01-25 11:38:38 -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
Rick Anderson c6fdd05d67
Update index.md 2018-01-21 14:12:36 -10:00
Rick Anderson fbb7392d7e
Merge branch 'live' into master 2018-01-19 14:17:21 -10:00
Rick Anderson dc6007c4be
Update index.md (#5222)
* Update index.md

* Update index.md
2018-01-19 11:05:48 -10:00
Rick Anderson 3e303620a1
Update live with current master (#5219)
* changes (#5218)

* Suggestion for better wording. (#5202)

* Suggestion for better wording.

While going through the tutorial on Mac, I was confused by this wording. I assumed that "command window" was something that was part of Visual Studio.

It may be clearer (especially to newcomers) to be consistent with the wording that's only a few lines above "From the command line, run the following .NET Core CLI commands:".

This is just a suggestion, now I realize that the words "Open a command window" appear in many parts of the documentation.

* Verbiage tweaks

* Verbiage tweaks

* Kill double-spaces (#5206)

* Nginx name consistency (#5214)

* Add spaces to TOC lines (#5212)

* Remove keywords and ms.assetid metadata from ASP.NET Core topics (#5208)

* Patch regex expressions (#5210)

Update
2018-01-19 10:48:55 -10: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
Rachel Appel f1c1cd4c1b
changes (#5218) 2018-01-19 13:36:10 +01:00
Eilon Lipton 495737926e Remove unneeded references to VB (#5201)
Because there is no VBHTML in ASP.NET Core.
2018-01-18 09:23:00 -06:00
Fernando 07a18c5b36 Update anchor-tag-helper.md (#5164)
I've added a ` that was missing
2018-01-11 09:53:37 -06:00
Rachel Appel 4089eab3e5
MVC doc MVC cleanup (#5136) 2018-01-08 20:29:18 -05: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 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
Daniel Silva 4693cb02d8 Update filters.md (#4238)
Fixed typo
2017-09-08 09:28:56 -05:00
anonymousgituser 498ce50f6e Update Docs/aspnetcore/mvc/views/overview.md (#4226)
* Update Docs/aspnetcore/mvc/views/overview.md

Changes to section on View Discovery: 1) Escape angle brackets causing issue with HTML rendering of this section. 2) Clarify and expound upon View(string viewName) behavior.

* Updated per gaurdrex's suggestions

Escaped angle brackets with \<> rather than encoding with &lt;&gt;

* Change for pull #4226 for better styling

Changes made per guardrex's recommendations to better conform to the styleguide.
2017-09-08 09:23:21 -05:00
Luke Latham 4d0eaec779 Update TestingControllerSample app (#4157)
* Update TestingControllerSample app

Addresses #1950

Updates

Updates

Updates

Updates

Update

Updates

Updates

Update

Update

* Drop test packages back to latest stable

* Test proj update

* Close a void element
2017-09-05 16:09:57 -05:00
Luke Latham 372d177a31 Update App Parts sample (#4195)
Addresses #1950

* Sample taken to 2.0
* Topic lightly touched; content not addressed
2017-09-05 11:04:16 -05:00
Luke Latham 6a7cb40282 Fix file path issues (#4196)
* Fix file path problems

Fixes #4192

Add one

* Revert TEMPs
2017-09-05 09:57:46 -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
Steven Moschidis 26166785ad fix broken link (#4173)
* fix broken link

not sure if this is the right way to fix it, but it's definitely broken

* update link as requested
2017-09-01 09:58:53 -05:00
Rick Anderson 87900dffec Z/ra/acr (#4168)
* never

* Clean up RP

* work

* work

* work
2017-08-31 17:14:06 -07: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
Rachel Appel 377d8cdcdd Fixes #4067: formatters added note about order;change code (#4144)
* formatters added note about order;change code

* added space between sentences
2017-08-31 14:45:30 -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
Luke Latham f6333f838a Fixes #4089
* Reverse tab order in topics with tabs (2.x first)

Fixes #4089

* Escape to the stars!

* Escape to the stars ... again!
2017-08-24 12:36:42 -05:00
Scott Addie c54da960c6 Minor tweaks to Authoring Tag Helpers doc (#4084) 2017-08-23 17:07:11 -04:00
Rick Anderson e7a03a59c2 Update intro to RP - remove preview (#4027) 2017-08-18 12:43:39 -04:00
Rick Anderson cca03c0f0b make all tabs conform (#4014) 2017-08-17 16:20:27 -04:00
Rick Anderson aa5469fbef Add CLI directions to RP intro (#3980)
* Add CLI directions to RP intro

* Add CLI directions to RP intro

* Add CLI directions to RP intro

* work

* work

* work

* work

* work

* work

* work
2017-08-17 15:09:43 -04:00
Daniel Vicarel e742f8c7f8 Clarified some wording over the "Async" naming convention (#4011)
* Clarified some wording over the "Async" naming convention

* Update index.md
2017-08-17 13:34:53 -04:00
Scott Addie 553e78577e ASP.NET Core 2.0 updates to Razor view compilation doc (#3996)
2.0 updates to Razor view compilation doc
2017-08-16 15:02:44 -05:00
Jaliya Udagedara bf27a56d6c Fixed code formatting issues. (#3988) 2017-08-16 10:42:05 -05:00
Jaliya Udagedara 181c86f588 Minor formatting. (#3985)
Added space and removed unwanted '`'.
2017-08-16 09:40:30 -05:00
Jaliya Udagedara 2f18c5507b Minor formatting. (#3986) 2017-08-16 09:38:29 -05:00
Rick Anderson 894a68603e RP install workloads (#3974)
* Update index.md

* Update index.md

* Update index.md
2017-08-15 16:29:03 -04:00
Rick Anderson aedca7601e RP install (#3971)
* RP install

* Update index.md
2017-08-15 12:31:02 -04:00
Scott Addie 9f933e0eca Fixes #3758 (#3968) 2017-08-15 11:15:49 -05:00
Rick Anderson d02d90b627 Update index.md 2017-08-14 18:50:25 -04:00
Stuart Leeks eaa94a986c Fix typo (#3953) 2017-08-14 14:28:45 -05:00
Rick Anderson 99418666c7 2.0.0 RTW install links (#3946)
* 2.0.0 RTW install links

* 2.0.0 RTW install links

* work

* work

* work

* work

* work
2017-08-14 12:59:59 -04:00
Steve Smith ddc91e96b3 Clarifying sequence behavior in short-circuiting section. (#3918) 2017-08-10 10:07:30 -04:00
Alexander Stefurishin e2d3935051 Fix type name (#3905)
Correct type name can be inferred from further article context
2017-08-07 15:56:50 -04:00
Rick Anderson 9ac76b27e6 Intro to RP part 4 (#3904)
* WIP:Intro to RP part 4

* work

* work

* work

* work

* work

* work
2017-08-07 15:08:21 -04:00
Rick Anderson 3fbd938e13 What's in a scaffolded Razor Page? (#3857)
* What's in a scaffoled Razor Page?

* 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

* work

* Add missing hyphen

* Change code snippet types to cshtml
2017-08-05 09:54:40 -04:00
Scott Addie f6dac646e1 Remove duplicated instances of 'the' (#3893) 2017-08-05 09:54:04 -04:00
Rick Anderson c2d95c5bd1 Update razor.md (#3839)
* Update razor.md

* Update razor.md

* Update razor.md

* Update razor.md
2017-08-04 15:02:43 -04:00
Scott Addie 5fe7e5418c Fix snippet content type issues (#3876) 2017-08-03 15:14:23 -04:00
Tom Dykstra 7ffe15c871 remove outdated note (#3868) 2017-08-02 07:35:09 -07:00
David Glass 6b46d02d96 Tidied up a sentence that didn't make sense (#3859) 2017-08-01 10:01:53 -05:00
Rick Anderson 559693ec9f Update index.md (#3840) 2017-07-31 15:32:10 -07:00
Rick Anderson 329ae66fc4 Update index.md (#3838) 2017-07-27 18:08:59 -07:00
Rick Anderson 81861eb61e Intro to Razor Pages (#3825)
* Intro to Razor Pages

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work
2017-07-26 09:42:18 -07:00
Rick Anderson 4096daf1c0 Update index.md 2017-07-25 14:57:09 -07:00
Rick Anderson 8b52f0bfa0 update Razor Pages image (#3818)
* update Razor Pages image

* update Razor Pages image
2017-07-25 09:27:22 -07:00
Tatsuro Shibamura 9e7c2a4b9d Update ImageTagHelper.md (#3814) 2017-07-25 10:18:27 -05:00
Rick Anderson 774ec2df9f Update intro.md 2017-07-24 07:56:01 -07:00
Scott Addie c5b6a6e14f Remove extra space 2017-07-21 16:44:02 -05:00
Hisham Bin Ateya 6cd0296ef2 Update Environment Tag Helper docs (#3794)
* Update Environment Tag Helper docs

* Update EnvironmentTagHelper.md
2017-07-21 13:27:23 -07:00
Scott Addie 85dbbbbf7e Change Razor Pages cshtml snippets to devlang cshtml (#3782) 2017-07-20 11:22:56 -07:00
Rick Anderson 2afe3c19fc 2.0 metapackage (#3735)
* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* Minor tweaks to metapackage.md

* Convert "settings" to singular form

* Remove double quotes surrounding Microsoft.NET.Sdk.Web

* work

* work

* work

* work

* work
2017-07-18 15:44:34 -06:00
Steve Smith 7db259e0ea Adding note clarifying collection property expression behavior / name generation (#3762) 2017-07-18 15:21:18 -06:00
Steve Smith 0fb5119564 added notes about htmlAttributes for Editor/EditorFor (#3766)
* added notes about htmlAttributes for Editor/EditorFor

* Update working-with-forms.md
2017-07-18 15:17:37 -06:00
Rick Anderson 0b52d857d3 Update index.md (#3756) 2017-07-18 09:22:39 -06:00
Rick Anderson 7960422b44 Update index.md 2017-07-18 09:04:57 -06:00
Rick Anderson b1c8db731f Razor Pages with VS17 (#3750)
* Razor Pages with VS17

* Razor Pages with VS17

* Razor Pages with VS17
2017-07-17 16:13:28 -06:00
Rick Anderson f4de84612e forms-gen-anti-forgery-tokens (#3743)
* forms-gen-anti-forgery-tokens

* WORK

* WORK

* WORK
2017-07-17 16:05:29 -06:00
Rick Anderson 25f776c19b broken link (#3727) 2017-07-17 15:03:06 -06:00
Rick Anderson d397e9db4f Razor Pages update (#3722)
* Razor Pages update

* work

* work

* work

* work

* work

* work

* work

* Minor tweaks to Microsoft.AspNetCore.All sentence
2017-07-17 12:19:44 -06:00
mwvdev 87617ec2ea Fixed an extra bracket in test method (#3740)
The source listing of the GetTestSessions method of [Testing Controller Logic](https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/testing) included an end bracket due to an offset error in the line numbers:

```cs
[Fact]
public async Task Index_ReturnsAViewResult_WithAListOfBrainstormSessions()
{
	// Arrange
	var mockRepo = new Mock<IBrainstormSessionRepository>();
	mockRepo.Setup(repo => repo.ListAsync()).Returns(Task.FromResult(GetTestSessions()));
	var controller = new HomeController(mockRepo.Object);

	// Act
	var result = await controller.Index();

	// Assert
	var viewResult = Assert.IsType<ViewResult>(result);
	var model = Assert.IsAssignableFrom<IEnumerable<StormSessionViewModel>>(
		viewResult.ViewData.Model);
	Assert.Equal(2, model.Count());
}
}

private List<BrainstormSession> GetTestSessions()
{
	var sessions = new List<BrainstormSession>();
	sessions.Add(new BrainstormSession()
	{
		DateCreated = new DateTime(2016, 7, 2),
		Id = 1,
		Name = "Test One"
	});
	sessions.Add(new BrainstormSession()
	{
		DateCreated = new DateTime(2016, 7, 1),
		Id = 2,
		Name = "Test Two"
	});
	return sessions;
}
```

This has been fixed by increasing the starting offset by one.
2017-07-17 07:58:06 -06:00
Scott Addie 3b18a15f31 Remove implied ToolsVersion property (#3720) 2017-07-14 09:33:50 -06:00
Rick Anderson 2001207627 Update AnchorTagHelper.md (#3715) 2017-07-13 16:01:02 -06:00
Daniel Vicarel 798520e785 Clarified some language in the 'Controlling Tag Helper scope with the *_ViewImports.cshtml* file' section. (#3712) 2017-07-13 15:25:43 -06:00
Scott Addie 94d64fbb62 Add missing xref prefix to link 2017-07-12 11:23:51 -05:00
Scott Addie e052808955 UE Edit of native Tag Helpers landing page (#3705) 2017-07-12 11:15:57 -05:00
Scott Addie 68cb2ea37f Add missing space in Tag Helpers heading 2017-07-12 11:02:08 -05:00
Rick Anderson af72b3d973 Update index.md (#3699)
* Update index.md

* Update index.md
2017-07-11 16:59:54 -06:00