Commit Graph

447 Commits (65748bdb4d37719bab7a437904173b870f05fec4)

Author SHA1 Message Date
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
Rick Anderson 2f52393cee
Update partial.md (#7885)
* Update partial.md

* Update partial.md

* Update partial.md
2018-07-30 20:27:15 -06:00
Luke Latham 940ea3c502 Dependency injection topic and sample updates (#7412)
* Dependency injection topic and sample updates

Updates

Updates

Updates

Updates

* React to feedback

* React to feedback

* Update

* Update ctor injection behavior section (6331)

* React to feedback

* React to feedback

* Link updates

* React to feedback

* React to feedback

React to feedback

Updates

* React to feedback

* Ping me for feedback

* Describe ActivatorUtilities

* Update

* Crosslink repository pattern
2018-07-28 16:49:23 -06:00
Scott Addie 1281270ef0 Link to partial TH name attribute examples (#7818) 2018-07-25 14:11:35 -06:00
Scott Addie 6d86549fcb UE pass on MVC Views overview doc 2018-07-23 14:50:24 -05:00
Mauricio de los Santos 8091add777 C30171: Escaping '@' character to avoid broken content in localization (#7761)
Hello, @rick-anderson ,
Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.  
"The unescaped '@' sign is breaking the code"
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-07-23 12:23:53 -06:00
Luke Latham 34b33e245b Add version to App package references (#7551)
Fixes #7532
2018-07-10 22:43:09 -05:00
Luke Latham 2059dd8b41
Add CRLF to the last line of MD topics (#7509) 2018-07-08 21:48:10 -05:00
Scott Addie fe16bb8113
Add an HTML Helper-to-Partial Tag Helper migration section (#7474)
Fixes https://github.com/aspnet/Docs/issues/7464
Fixes https://github.com/aspnet/Docs/issues/7476

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/built-in/partial-tag-helper?branch=pr-en-us-7474&view=aspnetcore-2.1#migrate-from-html-helper)
2018-07-06 10:13:30 -05:00
Scott Addie 9121516d90
UE pass on Partial views doc (#7417)
Fixes #7322 

**Changes**
- Add Partial Tag Helper info (2.1+ only)
- Simplify & improve sample app and update to 2.1
- Add **Additional resources** section
- Apply Acrolinx suggestions
- Introduce headings in **Reference a partial view** section

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/views/partial?branch=pr-en-us-7417&view=aspnetcore-2.1)
2018-07-03 14:07:33 -05:00
Scott Addie 0a812bb549
Remove unnecessary Razor character (#7439) 2018-07-03 12:58:00 -05:00
Scott Addie 09d7e5d4e8
Metadata updates to MVC docs (#7150) 2018-06-19 15:47:26 -05:00
Scott Addie 645d057bbb
Metadata updates for the Razor Pages docs (#7127)
* Metadata updates for the Razor Pages docs

* Update sample download links

* Change uid values

* Remove unnecessary redirection rule

* Fix date metadata warnings

* Add redirect entries

* Fix invalid link after rebase
2018-06-19 15:06:11 -05:00
Luke Latham 033fbf3969
MVC views DI update (#7050) 2018-06-14 09:47:12 -05:00
Peter Kellner d53a99a6ab Update intro.md (#6977)
I just tested and it does not matter whether the project in vs2017 is created with or without authentication regarding the _viewimports file. Seems odd it mentions that making the reader think that there is a difference or why would it be mentioned.  Second ,and not sure if this should be addressed because it might be the tip of the iceberg, the files are no longer in views/ but are now in pages/
2018-06-12 17:29:53 -07:00
Scott Addie 52c49c924d
Update sample apps to 2.1 RTM (#6752)
Addresses https://github.com/aspnet/Docs/issues/5495

Updates 2 web API samples and a Partial Tag Helper sample from 2.1 RC1 to 2.1 RTM.
2018-05-31 13:24:21 -05:00
Scott Addie 28c33483a9
UE edit of Razor file compilation doc (#6464)
* UE edit of Razor file compilation doc

* More edits

* Include .NET Framework csproj file

* More edits

* Apply more versioning moniker changes

* More cleanup
2018-05-18 10:08:48 -05:00
Pranav K 2d616b9bd3 Update view-compilation.md (#6379)
* Update view-compilation.md

* Update view-compilation.md (#6381)
2018-05-11 15:48:26 -10:00
Luke Latham 49e38929e5
Revert tab controls (#6350) 2018-05-10 19:58:40 -05:00
Luke Latham 7139c4fd31
Document ViewData-backed properties (#6148) 2018-05-09 15:05:43 -05:00
Rick Anderson 14506d8a3b
Update view-components.md (#6284) 2018-05-09 08:40:55 -10:00
user135711 dba37d09f0 typo (#6296)
* typo

* Quick UE pass
2018-05-09 09:44:44 -05:00
Rick Anderson cf522ea706
Update razor.md (#6286) 2018-05-08 10:16:57 -10:00
Scott Addie 2ea94bf898
Upgrade Partial Tag Helper sample app to 2.1 RC1 (#6276) 2018-05-08 08:51:14 -05:00
Rick Anderson 88ec2d7c84
Remaing includes (#6263) 2018-05-07 13:45:26 -10:00
Luke Latham 7048bb8fbf API link updates (#6149)
* API link updates

Updates

One more!

Fix bookmark

Mo updates

More updates

Updates

Updates

* Update action-return-types.md

* Update index.md

* Update concurrency.md

* Update intro.md

* Update localization.md

* Update search.md
2018-05-02 14:45:06 -05:00
Rick Anderson e534ef17aa
Update authoring.md (#6165)
* Update authoring.md

* Update authoring.md
2018-05-02 08:38:45 -10:00
user135711 511d1f7edf Deleted duplicate paragraph (#6100) 2018-04-27 08:26:07 -05:00
Luke Latham acf663cfc2 Broken and malformed links (#5992)
* Broken and mal-rendered links

* Fix @model encoding problem
2018-04-17 09:44:27 -05:00
Scott Addie 8d3802fb65 Remove deprecated DotNetToolCliReference node 2018-04-13 18:24:29 -05:00
Scott Addie f0dfbcbfd1 Fix code indentation 2018-04-13 16:07:38 -05:00
Scott Addie 2f00ad8090 Update Partial Tag Helper doc to 2.1 Preview 2 2018-04-13 14:03:36 -05:00
Scott Addie 94dabb3dfb Update include syntax 2018-04-13 10:25:29 -05:00
Scott Addie 295982c76c Add 2.1 note to Partial Tag Helper doc 2018-04-13 10:19:52 -05:00