Commit Graph

321 Commits (c8ddf0b0bf0492eef673569eae859d85da2304a3)

Author SHA1 Message Date
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