Commit Graph

480 Commits (1ada2fc0eafcba3d5c7f13d99e233e7a7855f3a5)

Author SHA1 Message Date
Scott Addie 448e499f07
Add example of conditional Razor view compilation (#16034)
* Add example of conditional Razor view compilation

* React to feedback

* Simplify code snippet

* React to feedback
2019-12-05 14:06:25 -06:00
Rick Anderson 380023697e
Merge pull request #15961 from aspnet/master
Merge to live 12-2
2019-12-02 18:42:54 -08:00
Luke Latham 8ba150cf55
Script TH and defer attribute (#15948) 2019-12-02 13:50:41 -06:00
Scott Addie 3e503ef510
Update live with master (#15824)
Update live with master
2019-11-21 18:27:25 -06:00
Rick Anderson e240d9d139
Update script-tag-helper.md (#15819)
* Update script-tag-helper.md

* Update script-tag-helper.md

* Update script-tag-helper.md

* Update script-tag-helper.md

* Update script-tag-helper.md

* Apply suggestions from code review

Co-Authored-By: Kirk Larkin <6025110+serpent5@users.noreply.github.com>

* Update script-tag-helper.md
2019-11-21 12:54:19 -10:00
Luke Latham 503609b4e6
Priority 0/1 Blazor Updates (#15630) 2019-11-21 09:35:46 -06:00
Scott Addie f40c931105
Update live with master (#15811)
Update live with master
2019-11-21 09:29:53 -06:00
kosta-arnorsky 23a6f09e2e Fix issue #11860 - confusing RenderSection example (#15804)
As noted in the issue #11860, the RenderSection example is confusing and may create a fallacious impression that RenderSection can be used only inside other section definition. It's overloaded with information that is unnecessary for RenderSection understanding.
2019-11-20 16:48:46 -10:00
Scott Addie b3c7d5af85
Merge to live 11-19 (#15766)
Merge to live 11-19
2019-11-19 19:40:02 -06:00
Rick Anderson 6d76949bf6
Update intro.md (#15770)
* Update intro.md

* Update intro.md
2019-11-19 13:45:50 -10:00
Scott Addie 99cdd60a26
Update live with master (#15656)
Update live with master
2019-11-11 11:10:53 -06:00
David Pine 1abb32ad3d Compressed .PNG image files (#15654) 2019-11-11 10:53:59 -06:00
Scott Addie 4818385c3c
Merge to live 11-8 (#15612)
Merge to live 11-8
2019-11-08 20:16:05 -06:00
Rick Anderson 01d45238c6
Update razor.md (#15592) 2019-11-07 17:29:29 -10:00
Scott Addie eb2fe5ad2e
Update live with master (#15435)
Update live with master
2019-10-31 21:27:06 -05:00
Scott Addie 7433eb2eea
Add the supported file extension to view compilation doc (#15416) 2019-10-31 13:25:02 -05:00
Rick Anderson a166291c67
Merge pull request #15208 from aspnet/master
merge to live 10-18
2019-10-18 11:37:10 -10:00
Gary Chan 5d27fedf42 Update authoring.md (#15180) 2019-10-18 07:24:38 -05:00
Scott Addie 07d98ada57
Merge to live 10-14 (#15100)
Merge to live 10-14
2019-10-15 09:26:37 -05:00
Luke Latham fe7be41261
Fix Anchor Tag Helper topic headings (#15064) 2019-10-13 13:39:56 -05:00
Luke Latham f62014bb55
Merge pull request #14683 from aspnet/master 2019-09-28 07:05:27 -05:00
Luke Latham 0026cec332
Bookmark update (#14682) 2019-09-28 06:52:34 -05:00
Rick Anderson fae6f0e253
Merge pull request #14556 from aspnet/master
Merge to live 9-24
2019-09-24 13:36:37 -10:00
Rick Anderson 5753fa947b
Update link-tag-helper.md 2019-09-24 13:33:35 -10:00
Rick Anderson d44e6cc3e8
Link and Script TH (#12270) 2019-09-24 10:56:45 -10:00
Scott Addie e5a74f882c
Update live with master (#14446)
Update live with master
2019-09-20 16:49:28 -05:00
Luke Latham b294f7cbc1
Add @typeparam (#14421) 2019-09-19 22:04:50 -05:00
Scott Addie 215954a638
Update live with master (#14375)
Update live with master
2019-09-17 22:08:00 -05:00
Tom Pratt 62870871a3 US1591104 Loc Fix - Replace and add examples (#14311)
* replace and add examples

* Update working-with-forms.md
2019-09-17 19:47:47 -07:00
Scott Addie a50faa4056
Use dotnetcli dev lang to colorize .NET Core CLI commands (#14361) 2019-09-17 16:01:04 -05:00
Scott Addie 805f625d16
Update live with master (#14305)
Update live with master
2019-09-13 14:39:10 -05:00
John Parente 5dbbb8a789 Update partial.md (#14301) 2019-09-13 14:03:34 -05:00
Scott Addie e6bd2bbe56
Update live with master (#14124)
Update live with master
2019-09-03 16:25:34 -05:00
Rick Anderson 5df3c11d2c
Update layout.md (#14096) 2019-08-30 17:09:30 -07:00
Scott Addie 257cc3fe8c
Update live with current master (#13916)
Update live with current master
2019-08-19 12:50:30 -05:00
Peter Kellner 27ce90bbf9 Missing string append plus sign (#13904) 2019-08-18 19:56:43 -05:00
Luke Latham 2fa0ffe82a
Merge pull request #13885 from aspnet/master 2019-08-17 11:51:34 -05:00
David Pine 769d8c6ae7 Removed images that are not referenced anywhere. (#13804) 2019-08-17 10:20:41 -05:00
Rick Anderson 476ea5ad86
Merge pull request #13838 from aspnet/master
Merge to live 8-14
2019-08-14 18:00:36 -04:00
Rick Anderson f6be96b5b6
Update th-components.md (#13825)
* Update th-components.md

* Update th-components.md
2019-08-14 10:57:18 -04:00
Luke Latham 2eb605f4f2
Merge pull request #13690 from aspnet/master 2019-08-06 09:31:46 -05:00
Luke Latham 9f093fdb0b
Razor syntax updates (#13524) 2019-08-05 14:42:25 -05:00
noctwolf 0b094c6cb7 fix "No selection" (#13615)
* Update HomeController.cs

* Update working-with-forms.md

* Update HomeController.cs

* Update working-with-forms.md
2019-08-02 09:31:49 -07:00
Luke Latham cfcbfd97b7
Layout topic update (#13550) 2019-07-30 05:47:06 -05:00
Rick Anderson bca11635b9
Update view-components.md (#13540)
* Update view-components.md

* Update view-components.md

* Update view-components.md
2019-07-29 10:20:29 -07:00
Luke Latham 4033f77f63
Blazor attribute splatting and CaptureUnmatchedParameters (#13460) 2019-07-24 06:42:44 -05:00
Theano Petersen 80c03f0a00 Fixed missed and new items on CATS retest 7-11-19 (#13249) 2019-07-11 11:52:10 -07:00
Theano Petersen c969928dbe fix http to https (#13241) 2019-07-10 19:36:05 -07:00
Theano Petersen 6da4a8c004 Fix metadata issues from CATS report 6-21-19 (#13238)
* fix internal links

* fix bookmark links

* fix metadata
2019-07-10 17:45:22 -07:00
speedcodenet 7706cd44d7 Fixed spelling mistake (#13223)
mutliple -> multiple
2019-07-10 09:26:38 -05:00
Pranav K 2f3b938ebe Remove PreserveCompilationContext requirement (#12973)
* Remove PreserveCompilationContext requirement

* Update view-compilation.md

* minor edits
2019-06-20 17:20:11 -05:00
Luke Latham 7fc1e203cc
Document @ directives (#12762) 2019-06-12 13:55:32 -05:00
Ajay Bhargav Baaskaran 2cf3468f3d Update blazor docs to reflect directive attributes changes (#12756) 2019-06-12 13:29:16 -05:00
Scott Addie eb79fc3f45
Mention the Partial method for producing a PartialViewResult (#12790)
* Mention the Partial method for producing a PartialViewResult

* Minor tweaks

* Update sample project to 2.2

* Revert wording change

* Simplify code snippet

* Revert code snippet change

* Fix code snippet dev lang
2019-06-12 11:50:08 -05:00
Kanadily, Esam Abdulmajeed ca66ee7907 Update partial.md (#12746)
The sentence "An analogous capability is planned for Razor Pages in ASP.NET Core 2.2" is outdated.
2019-06-10 15:05:53 -05:00
Scott Addie c77e455367
Razor syntax patch (#12787) 2019-06-10 15:04:05 -05:00
Scott Addie e8af02d632
Simplify Razor snippet (#12781) 2019-06-10 13:49:00 -05:00
Rick Anderson 07d01d4259 Revert "Document @ directives (#12750)" (#12757)
This reverts commit 5f8262bab3.
2019-06-08 08:46:39 -05:00
Ryan Brandenburg 5f8262bab3
Document @ directives (#12750)
Document @ directives
2019-06-07 15:54:38 -07:00
Ben McCallum 97a5f25033 Fix typo (#12595) 2019-05-30 09:28:50 -05:00
Luke Latham 669a5fe172
Surface Razor Components in View Components topic (#12412) 2019-05-14 12:55:03 -05:00
Rick Anderson f603e04127
update Author TH (#12394)
* update Author TH

* update Author TH

* update Author TH

* update Author TH

* update Author TH

* Update aspnetcore/mvc/views/tag-helpers/authoring.md

Co-Authored-By: reZach <reZach@users.noreply.github.com>

* Update aspnetcore/mvc/views/tag-helpers/authoring.md

Co-Authored-By: Luke Latham <1622880+guardrex@users.noreply.github.com>

* Update authoring.md
2019-05-14 07:27:39 -10:00
Stamo Gochev ec7ccd863e Update view-compilation.md (#12397) 2019-05-14 10:43:48 -05:00
Henrik Walker Moe 0cc288b642 Adds a simpler example for view-injection (#12337)
* Adds an example for injecting configuration

* Change formatting for appsettings-file

* Update dependency-injection.md

* Update dependency-injection.md
2019-05-09 11:37:35 -10:00
Kirk Larkin bb05b407b3 Fixed line highlight. (#12335)
* Fixed line highlight.

* Update view-compilation.md
2019-05-08 10:44:55 -10:00
Mauricio de los Santos 5057c0d346 C80832: Adding two spaces at the end of a line (#12199)
* C80832: Adding two spaces at the end of a line

Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
Description: missing spaces are breaking formatting on loc pages
@guardrex

* Update
2019-05-06 10:34:46 -05:00
Rick Anderson b5cbf1d293
Update anchor-tag-helper.md (#12171) 2019-04-26 11:58:56 -10:00
Mauricio de los Santos eb73a9187a C86844: Adding two spaces after line 173 (#12178)
Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.  
Description:  missing spaces break formatting
  
Please review and merge the proposed file change to fix to target versions. If you make related fix in another PR  then share your PR number so we can confirm and close this PR.
Many thanks in advance.
cc: @rick-anderson,
2019-04-26 10:11:58 -10:00
Rick Anderson af7a6de9e1
Built in TH (#12169)
* Built in TH

* Built in TH
2019-04-25 15:14:02 -10:00
Luke Latham f0df4aaf7c React to new VS URL (#12154)
Updates
2019-04-24 15:51:50 -10:00
Luke Latham 217c6f3604 React to repo name change in repo links (#12152) 2019-04-24 14:04:39 -10:00
N. Taylor Mullen 27ad4f0735 Add docs for markup in code blocks. (#11960) 2019-04-14 07:14:58 -05:00
Martin Koudelka 423a51403a C80832: Adding two spaces at the end of a line (#11955) 2019-04-12 08:18:26 -05:00
Luke Latham f677b31262
Unclosed void elements in topics (#11881) 2019-04-09 15:22:40 -05:00
Hao Kung fb53a6c640 Note that keys are insensitive for ViewBag/ViewData (#11816) 2019-04-03 17:43:05 -05:00
Nick Schonning d125525ff2 fix: MD038/no-space-in-code (#11583)
- Replace ` with %60 in xref links
- Remove spaces inside code span elements
2019-03-21 15:04:23 -05:00
Nick Schonning d6246ca38d fix: MD031/blanks-around-fences (#11605) 2019-03-20 10:32:05 -05:00
Nick Schonning 33aac670ec fix: MD022/blanks-around-headings/blanks-around-headers (#11603) 2019-03-19 15:18:13 -05:00
Nick Schonning 188fdb2abe fix: MD012/no-multiple-blanks (#11596)
Multiple consecutive blank lines
2019-03-19 13:56:32 -05:00
Nick Schonning f2348c69ea fix: MD010/no-hard-tabs (#11592) 2019-03-19 13:27:16 -05:00
Nick Schonning 32bf4679b3 fix: MD033/no-inline-html (#11586)
* fix: MD033/no-inline-html

Doesn't remove actual inline HTML, but escapes Generics and examples in braces

* Apply suggestions from code review

Co-Authored-By: nschonni <nschonni@gmail.com>
2019-03-19 13:17:14 -05:00
Nick Schonning 6adf175e80 fix: MD006/ul-start-left (#11591)
* fix: MD006/ul-start-left

* fix: MD007/ul-indent

* minor edit
2019-03-19 13:15:35 -05:00
Nick Schonning aaec2b3275 fix: MD039/no-space-in-links (#11582)
Spaces inside link text
2019-03-19 10:21:48 -05:00
Nick Schonning 3d916b8868 typo: necessarly -> necessarily (#11570) 2019-03-19 09:34:09 -05:00
Scott Addie ce994db4b0
Remove inaccurate Label Tag Helper description (#11546) 2019-03-18 13:26:59 -05:00
MSDev_NilTor 201ebff98e Update view-compilation.md (#11428)
now,there has not AddMvcRazorRuntimeCompilation,but AddRazorRuntimeCompilation!
2019-03-15 19:40:04 -10:00
Luke Latham fc901eeb67 Migration section on runtime comp (#11235)
Fixes #11232

This heading ...

> \#\# Moving from WebHostBuilder to HostBuilder

... didn't seem to make sense because the prior section is addressing the same migration aspect. These two sections were probably added at different times (guessing), which would explain the (accidental) appearance of both.

I see a handful of little super-nits in the view comp file beyond the few that I touch here (mostly punctuation on this PR), but I'll leave those unless you want me to edit the file.
2019-03-02 13:05:08 -10:00
N. Taylor Mullen a8dd0cdcba Add Form Action Tag Helper docs (#11192)
- Utilized the `AnchorTagHelper` docs to consistenly describe the `asp-` attributes used to control how links get generated.
- Updated the built in TagHelper list doc to include the FormAction TagHelper.

#10593 
[Review URL](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/views/working-with-forms?view=aspnetcore-2.2&branch=pr-en-us-11192#the-form-action-tag-helper)
2019-02-28 08:25:40 -10:00
Rick Anderson 751c0e3fb2
Update view-compilation.md (#11144)
Fixes #11142
2019-02-26 11:07:40 -10:00
Pranav K 030932e6cc Add docs about runtime compilation (#11135)
Fixes #11130
2019-02-26 10:36:33 -10:00
Luke Latham 391eacdb9c
Directly link partial view discovery in Layouts (#11117) 2019-02-26 12:58:29 -06:00
Rick Anderson 7c66313c56
Update view-components.md (#10956)
* Update view-components.md

* Update aspnetcore/mvc/views/view-components.md

Co-Authored-By: Rick-Anderson <riande@microsoft.com>
2019-02-15 10:28:49 -10:00
Tom Dykstra a3e9ce7f03 Remove unneeded links to third-party sites (#10970)
Fixes #10668
2019-02-15 09:50:59 -10:00
Luke Latham 432555a6cd API 2.2 links (#10930)
Update
2019-02-13 14:28:34 -10:00
Shadi Namrouti 3fad4097dd Further to #10601 (#10782)
* Fixes #10657

* Further to #10601

* add new line
2019-02-04 08:41:17 -10:00
Rick Anderson 1d9d15b7da
Update Contact.cshtml (#10734) 2019-01-31 16:39:38 -10:00
Julio 88d02c50d4 Fix LF in ./aspnetcore/mvc/views/razor/sample/Views/Home/Contact.cshtml (#10679)
Fixes https://github.com/aspnet/Docs/issues/10671
2019-01-31 11:32:14 -10:00
Shadi Namrouti 063d48753a Update partial-tag-helper.md (#10700)
Remove a repeated sentence.
2019-01-30 11:23:55 -10:00
Shadi Namrouti 28e6882988 Fixes #10657 (#10688) 2019-01-30 11:22:57 -10:00
Rick Anderson 702f1f45b9
Update view-components.md (#10690) 2019-01-30 11:20:55 -10:00
Julio 50eacad29e view-components samples: folder `Todo` renamed `ToDo` for case sensitive OS (#10637)
Fix https://github.com/aspnet/Docs/issues/10636

### Question

@Rick-Anderson 

Under 7f52e7646a/aspnetcore/mvc/views/view-components.md (specifying-a-view-name) 

I don't know why there is the sentance`Update Views/ToDoList/Index.cshtml:` Maybe we must say instead `Update Views/ToDo/Index.cshtml:`

Furthermore, there is a comment ` <!-- Views/ToDoList/Index.cshtml is never imported, so change to test tutorial -->` . But the Views/TodoList doesn't exist ? Should we delete this comment?

Sorry, I don't understand well…
2019-01-28 15:07:06 -10:00
Shadi Namrouti a510fead7d Updating About.cshtml and authoring.md (#10634)
* Update About.cshtml

The WebsiteContext instance was initialized inside a C# code block to avoid a possible problem when one of its attributes is a string.

* Update authoring.md

Update highlights and ranges after updating the relevant source code:
authoring/sample/AuthoringTagHelpers/src/AuthoringTagHelpers/Views/Home/About.cshtml
2019-01-28 15:05:34 -10:00
Shadi Namrouti 772b05adfe Update view-components.md (#10656) 2019-01-28 07:18:41 -06:00
Luke Latham 95521a68cd
Document AllowRecompilingViewsOnFileChange (#10580) 2019-01-24 09:57:10 -06:00
Shadi Namrouti 999f01e736 Update EmailTagHelperMailTo.cs (#10588) 2019-01-23 14:35:22 -10:00
Shadi Namrouti 31ede7c9c6 Update authoring.md (#10585) 2019-01-23 11:40:40 -10:00
Rick Anderson 9dc222fee7
Update view-components.md (#10533) 2019-01-22 08:02:55 -10:00
Shadi Namrouti 408bd4c207 Update razor.md (#10467) 2019-01-17 17:15:17 -06:00
Rick Anderson 552b76ec38
Update working-with-forms.md (#10260) 2019-01-08 08:17:30 -10:00
Scott Addie 99f94f96e6
Add example of asp-area with a Razor Pages area (#10048)
* Add example of asp-area with a Razor Pages area

* Minor edits

* Fix code snippet include

* Add example of AllowAreas property

* Update aspnetcore/mvc/views/tag-helpers/built-in/anchor-tag-helper.md

Co-Authored-By: scottaddie <10702007+scottaddie@users.noreply.github.com>
2018-12-18 14:01:05 -06:00
Dave Brock ad13990b1e fixing formatting error (#9896) 2018-12-07 13:04:32 -10:00
stefanhamburger 0293f9b498 Fix formatting in razor.md (#9885) 2018-12-07 09:57:11 -06:00
buddhacatmonk 7220a5cc38 Update view-components.md (#9781)
* Update view-components.md

* Nits
2018-12-03 14:39:27 -10:00
Luke Latham 3ab0f7da0f Document support for Razor templates (#9643)
Fixes #9618 

[Internal Review Topic (Templated Razor delegates section)](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-1.0&branch=pr-en-us-9643#templated-razor-delegates)
2018-11-20 09:44:12 -06:00
Jakub Gutkowski 5762417b5f removing used char (#9428) 2018-11-04 15:25:17 -06:00
Rick Anderson 0ee6b101d9
delete map and min files (#9310) 2018-10-31 14:26:48 -10:00
Luke Latham 7ede6dfbd2 Add missing `await` to example code (#9338)
Fixes #9336 

<!--
When creating a new PR, please do the following:

* Reference the issue number if there is one, e.g.:

Fixes #Issue_Number

The "Fixes #nnn" syntax in the PR description allows GitHub to automatically close the issue when this PR is merged.

NOTE: This is a comment; please type your descriptions above or below it.
-->
2018-10-30 15:41:28 -05:00
SONG WONSEOK ca1e5fba4e Update cache-tag-helper.md (#9311)
Fixes #6971

<!--
When creating a new PR, please do the following:

* Reference the issue number if there is one, e.g.:

Fixes #Issue_Number

The "Fixes #nnn" syntax in the PR description allows GitHub to automatically close the issue when this PR is merged.

NOTE: This is a comment; please type your descriptions above or below it.
-->
2018-10-30 13:21:12 -05:00
Rick Anderson 04867c4f17
Update authoring.md (#9273)
* Update authoring.md

* Update authoring.md
2018-10-29 14:57:19 -10:00
Rick Anderson 375e422f2c
Update working-with-forms.md (#9241)
Fixes #3863
2018-10-29 10:51:44 -10:00
Tom Dykstra b6ba3d220c Table of Contents reorg (#9133)
* overview

* whats new to end

* fix migration node

* split fundamentals, move to end

* glob & loc, get started

* security node name

* security section

* azure, client-side, host

* several more sections

* redistribute tutorials

* proofread fixes

* move how to download section

* index files delete and redirect

* fix errors

* reorder some nodes

* scott feedback, flatten main tutorials node

* fix missed feedback items + other issues

* unflatten tutorials node

* move 'how to download'

* more tutorials node tweaks

* standardize view sample links

* db --> DB

* fix build error

* remove link from a parent node

* streamline node names

* xref links

* typos

* typo

* typos and revert some xref links

* scott feedback

* scott feedback

* feedback

* change node name

* safe storage-->protect
2018-10-26 18:34:40 -10:00
Scott Addie cdff41e456
Add Razor SDK info to generated class section (#9254)
Fixes https://github.com/aspnet/Docs/issues/8839

**Internal Review Pages**
- [2.1+](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-2.1&branch=pr-en-us-9254#inspect-the-razor-c-class-generated-for-a-view)
- [<= 2.0](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-2.0&branch=pr-en-us-9254#inspect-the-razor-c-class-generated-for-a-view)
2018-10-26 16:17:43 -05:00
Charmis Varghese 0a25471bbf Updated vary-by-query (#9249) 2018-10-26 11:51:37 -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
Luke Latham 7120a2f985
Azure Apps troubleshooting title change (#9199) 2018-10-24 14:26:16 -05:00
Pranav K c12382315f Update partial.md (#9132)
React to https://github.com/aspnet/Mvc/issues/8617
2018-10-19 16:12:30 -05:00
Rick Anderson 8b6104beeb
self-closing TH (#9124)
Fixes  #6075
2018-10-18 19:41:18 -10:00
Scott Addie 4a56fc9fe1 Add another sentence about @page 2018-10-17 19:39:56 -05:00
Scott Addie 00b6296b45 React to feedback 2018-10-17 19:35:19 -05:00
Scott Addie 6e91c3b28d Verbiage tweak 2018-10-17 17:24:10 -05:00
Scott Addie ccab23fe53 Add detail about serving partial views named with underscores 2018-10-17 17:14:06 -05:00
Dave Brock 7905e9981d Add RP to layout (#9016)
I will not lie: this was not enjoyable. With the realization that this page might be shuffled around to a new spot in the TOC, it was a delicate act balancing Razor pages and traditional MVC without getting too intrusive about it.

As such, I:

* Included a note at the top of the document outlining the subtle differences, so I can just casually reference them later and don't have to explain which is which
* Replaced wording of "views" with "pages or views"
* Changed controller wording to "the folder where the handler method (or controller) exists."
I also updated the *_Layout.cshtml* sample file. It's a little different, two years later.

I expect some back-and-forth about this—let me know what you think, @Rick-Anderson.

Fixes #8030
2018-10-16 14:21:31 -10:00
Mauricio de los Santos 8f3977e662 CC71738: Escaping components names to avoid broken format in translation pages (#8597)
Hello, @rick-anderson,
Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
Description: Some of the "folder names" inside \<\> are not displaying well in localized pages, and also those terms are not blocked for localization.

Please review and merge the proposed file change to fix to target versions. If you make related fix in another PR  then share your PR number so we can confirm and close this PR.
Many thanks in advance.
2018-10-13 12:58:39 -10:00
Luke Latham 441cc474c0
Tag Helpers: Enhance cross-links and UE pass (#8964) 2018-10-12 11:17:59 -05:00
Luke Latham 8e6dd4a7f4 Drop version from App package (#8881)
Addresses #8579 

I might be getting the hang of **_find and replace_** now. 😝

This doesn't touch a couple that ref 2.2.0. I'll tidy those up on https://github.com/aspnet/Docs/issues/8518 after 2.2 RTM.
2018-10-06 17:10:28 -10:00
Dave Brock 8ba0f07c5c
Update `IndexOption` to `Index`
The first `IndexOption` reference in the article is changed to `Index.` The second reference stays intact and is correct.
2018-10-04 20:40:36 -05:00
Luke Latham fdbee59807
Surface synchronous approach for view components (#8686) 2018-09-24 16:06:11 -05:00
Luke Latham 26286236f9
Response Compression updates (+Brotli) (#8560) 2018-09-21 17:12:21 -05:00
Scott Addie 388cfb4982
Add Tag Helper Components doc to ToC (#8598)
Fixes #4033 
Fixes https://github.com/aspnet/Docs/issues/5475
Fixes https://github.com/aspnet/Docs/issues/5476
2018-09-18 15:03:09 -05:00
Rick Anderson 65eaf9d153 Add Tag Helper Components doc (#7922)
Addresses #4033 
Addresses https://github.com/aspnet/Docs/issues/5475

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/th-components?view=aspnetcore-2.1&branch=pr-en-us-7922)
2018-09-18 14:25:52 -05:00
Luke Latham 190c62af0c Add blank lines around versioning lines (#8548)
Fixes #8540 

Now, I'm off to buy some J&J stock ... the parent company of a popular eye care product! 😣
2018-09-16 09:14:07 -10:00
Eduardo Cogo da Rocha d4aa7adb05 View components in ASP.NET Core (#8549) 2018-09-15 12:09:40 -05:00
Luke Latham 45b378e907
Partial views topic update (#8493) 2018-09-14 11:25:55 -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
Rick Anderson c9e3d29a88
Update view-compilation.md (#8246)
* Update view-compilation.md

* Update view-compilation.md

* Update view-compilation.md

* Update view-compilation.md
2018-08-23 14:52:42 -07:00
Scott Addie 5381137960
Remove unnecessary @ symbols in Tag Helper example (#8175)
Related to https://github.com/aspnet/Docs/pull/4599.

Removed unnecessary `@` symbols, added missing double quotes, and replaced inline code snippet with code import.
2018-08-20 11:28:12 -05:00
Luke Latham 232d345f9e
Specify "Core" for ASP.NET Core refs (#8110) 2018-08-15 22:30:29 -05:00
Rick Anderson aa06c906ab
Update view-components.md (#8108) 2018-08-15 16:46:41 -07:00
Rick Anderson e3f4cb5697
Update partial.md (#7937)
Fixes #7931
2018-08-07 10:36:14 -06:00