Commit Graph

447 Commits (65748bdb4d37719bab7a437904173b870f05fec4)

Author SHA1 Message Date
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
Scott Addie 9195844920 Add monikerRange metadata to Partial Tag Helper doc 2018-04-10 14:13:53 -05:00
Rick Anderson 3efa3218e6
Update razor.md (#5918) 2018-04-09 18:32:27 -10:00
Luke Latham 21413e0687 Recommended language change (#5883) 2018-04-04 19:12:34 -10:00
Rick Anderson 1832723bd1
CI Update (#5878) 2018-04-04 13:51:35 -10:00
jconrey 31d238ffdd Update view-components.md (#5872)
altering range of code displayed to remove hanging closing } and closing table tag
2018-04-04 10:48:12 -04:00
Scott Addie 37fffb76e4
Link to .NET Core CLI publish command doc (#5864)
* Link to .NET Core CLI publish command doc

* Verbiage tweak
2018-04-03 16:14:58 -04:00
Jaxel Rojas 4697a8ab55 Update partial-tag-helper.md (#5852)
Corrected language syntax of ProductModel from cshtml to csharp.
2018-04-02 11:24:19 -04:00
Scott Addie d85d7ab486
Fix indentation in code snippet 2018-03-28 16:32:23 -04:00
Scott Addie c8126dcb30
Add async load note to partial tag helper doc (#5821)
* Add async load note to partial tag helper doc

* React to feedback

* React to feedback
2018-03-28 15:48:36 -04:00
Scott Addie 2f0ada72b2
Remove unnecessary leading space in code snippet 2018-03-28 12:56:22 -04:00
Luke Latham bdb6d7cafc Title, description, and H1 updates (4) (#5745)
* Title, description, and H1 updates (4)

* Updates

* Updates

* Drop gerunds and update link text

* Update

* Update next.md

* Update routing.md
2018-03-21 14:18:35 -10:00
Jaxel Rojas 40ea2f5767 Update highlight on dependency-injection.md (#5749)
Currently the highlight is mapping the operation of GetAveragePriority on the incorrect line:

[Statistics_Service.png](https://postimg.org/image/5m0gjw6bf/)

The correction is to highlight the previous line.
2018-03-20 14:50:40 -05:00
Scott Sauber 51b3ce4f38 Switch synchronous Partial usages to async. (#5701)
* Switch synchronous Partial usages to async.

* Update partial.md

* Update partial.md

* Clean up wording and clean out code with synchronous versions.

* Remove confusing wording

* Change wording
2018-03-17 17:29:05 -05:00
Luke Latham 6b0cf1247f Title, description, and H1 updates (2) (#5697)
Updates
2018-03-14 16:51:34 -10:00
Scott Addie 2d834fe846
Remove unnecessary hyphen 2018-03-09 21:42:00 -06:00
Scott Addie 12646adf33
Update Partial Tag Helper sample app to Preview1 (#5567) 2018-02-27 19:34:40 -06:00
Scott Addie e7c7e7a61a
Convert to CSHTML snippet types 2018-02-25 20:47:20 -06:00
Luke Latham f047169540 Drop [Main] from snippet references (#5547) 2018-02-24 10:08:11 -06:00
Scott Addie a4aa4ebb98
Add Partial Tag Helper 2.1 doc (#5533)
* Add Partial Tag Helper doc

* Minor edits

* Add missing word

* Rearrange sections and update README

* Fix author metadata value

* React to feedback
2018-02-23 15:34:22 -06:00
Scott Addie 0a2b31ebaa
Add missing forward slash 2018-02-22 12:00:44 -06:00
Scott Addie b29ffb7ffa
Fix snippet types 2018-02-20 21:38:01 -06:00
Rick Anderson ab7da9b864
Add model to TH sample (#5498)
* Add model to TH sample

Without model it looks like the TH isn't doing anything other than changing `asp-for` into `for`.

* Tag Helpers intro doc patch (#5519)
2018-02-20 16:07:23 -10:00
Luke Latham 5399bf3923 Wrong sample link in topic (#5500) 2018-02-20 10:42:49 -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
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 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 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 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 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
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
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
Scott Addie aea5ad8493 Add *.PrecompiledViews assembly text (#4929)
* Add PrecompiledViews assembly text

* Optimize screenshot
2017-12-05 08:18:27 -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
Justin Kotalik fbce5e8a49
Fix typo in MVC Views overview 2017-11-11 15:49:29 -08:00
Rick Anderson a422187ba7
Update overview.md 2017-11-06 10:08:27 -10: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
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
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
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
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 018853a4c7 React to feedback 2017-09-26 22:25:36 -05:00
Luke Latham b7923ddf46 MVC views overview update
Updates

Updates

Updates

Updates

Update
2017-09-26 13:36:20 -05: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
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
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
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
Luke Latham f9c0df0649 Minor text updates (#4246) 2017-09-11 09:37:23 -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 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 cca03c0f0b make all tabs conform (#4014) 2017-08-17 16:20:27 -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
Scott Addie 9f933e0eca Fixes #3758 (#3968) 2017-08-15 11:15:49 -05: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