Commit Graph

685 Commits (90b4fb63f17e67b1fcf93c5314976566c1309e37)

Author SHA1 Message Date
Nick Schonning 3d916b8868 typo: necessarly -> necessarily (#11570) 2019-03-19 09:34:09 -05:00
Nick Schonning 871441af63 typo: Exection -> Execution (#11571) 2019-03-19 09:33:47 -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
Rick Anderson 86acdd258c
RP areas (#11199)
* RP areas

* work

* work

* work

* work
2019-03-04 19:07:26 -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 fb88516307
rewrite Areas (#10978)
Fixes #11031, Fixes #10503, Fixes #9448

[Internal review URL](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/controllers/areas?view=aspnetcore-2.2&branch=pr-en-us-10978)

@JamesNK please review when you finish your bug backlog. Next week is fine.
2019-02-25 17:01:56 -10:00
Tawfik Khalifeh 7399ac1524 Update filters.md (#11081) 2019-02-24 19:36:29 -06:00
Rick Anderson d3bc45668f
Update of controller DI rewrite (#11034)
* Fixes #10944

* Update of controller DI rewrite

* work

* work

* work

* work

* work

* work

* work

* Update aspnetcore/mvc/controllers/dependency-injection.md

Co-Authored-By: Rick-Anderson <riande@microsoft.com>

* Apply suggestions from code review

Co-Authored-By: Rick-Anderson <riande@microsoft.com>
2019-02-22 11:29:51 -10:00
Cédric Luthi 29ccbaa0b0 Link to MvcOptions doc instead of source code (#11017) 2019-02-20 05:39:25 -06:00
lindexi 472d9d0203 Fix format (#10993) 2019-02-17 20:51:23 -06:00
Nikita Potapenko 8898c40cfe Update actions.md (#10959)
Fixes #10942
2019-02-15 10:39:50 -10: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
Mark Francis 66db7e5cb3 Fixed broken link to MvcOptions source file (#10960) 2019-02-15 11:14:21 -06:00
Rick Anderson d46443b1a0
Update areas.md 2019-02-13 19:26:08 -10:00
Luke Latham 432555a6cd API 2.2 links (#10930)
Update
2019-02-13 14:28:34 -10:00
Rick Anderson fad53dba86
show IValidatableObject (#10927)
Fixes #10923
2019-02-13 09:57:29 -10:00
Rick Anderson ba632f8adc
Update filters.md (#10905)
Fixes #10906

@tdykstra 	see @guardrex 	original [here](ce55bac02e). I'm starting to think his original might be better.

It's an alway run filter, shouldn't we get that point across. My version if far too verbose but has the thoughts I want to conveigh.
2019-02-12 12:46:13 -10:00
Luke Latham 5ddd21d60c
IAlwaysRunResultFilter/IAsyncAlwaysRunResultFilter (#10803) 2019-02-12 15:03:34 -06: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
Scott Addie dfce7e1ada
Remove slash in HttpGet attribute (#10608) 2019-01-24 16:08:35 -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
Rick Anderson 38d8db2b1e
Update filters.md (#10512) 2019-01-20 11:27:09 -10:00
Rick Anderson 5396ffe10c
Update filters.md (#10387)
* Update filters.md

* Update filters.md

* Update filters.md

* Update filters.md

* Update filters.md

* Update filters.md

* Update filters.md

* Update filters.md
2019-01-18 13:34:02 -10:00
Shadi Namrouti 408bd4c207 Update razor.md (#10467) 2019-01-17 17:15:17 -06:00
Luke Latham 69306c43f9 Model Validation: Top-level nodes (#10390)
Fixes #10264
[Review URL](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/models/validation?view=aspnetcore-2.2&branch=pr-en-us-10390)

* Not too keen on "top-level node." It isn't documented anywhere, and Google Fu wasn't much help either. I've *guessed* from the API what it means (and I could be *wrong*).
* Side note: `Required` is *required* as a model property attribute to get client-side required validation to work AFAICT. Adding `Required` or `BindRequired` to the top-level node (parameter) doesn't make it work client-side. Not sure if that's an issue or not ... just a side behavior that I noticed when testing.
* `jQuery.validate()` doesn't seem to be a thing any longer. JS complains that it can't find the function with the most recent jQuery validation scripts (from the current templates). Everything seems to work without it, so I nixed it.
* The sample was *almost* updated for 2.2. This should take it across the finish line. 🏁
* In the OP, the dev said that they were missing `AddDataAnnotations`, but we don't doc that level of detail. If they go `AddMvcCore`, they're kind'a on their own to make sure that they have all of the bits in place.
2019-01-16 16:29:24 -10:00
Patrick Westerhoff dcf4f30902 Update example for TypeFilter (#10295)
This is a fix for #10292 (originally #9095). I’ve basically reused the example I already proposed except that I made it a bit more useful.

@Rick-Anderson 	edit
[Internal review URL](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/controllers/filters?view=aspnetcore-2.2&branch=pr-en-us-10295#typefilterattribute)
2019-01-09 14:58:41 -10:00
Rick Anderson 552b76ec38
Update working-with-forms.md (#10260) 2019-01-08 08:17:30 -10:00
Scott Addie 8caa93e2fb
Restore missing Model State code snippet (#10199) 2019-01-04 10:28:27 -06: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
Jacob Stamm c0aabee931 Patch 1 (#10039)
* Update GitHub links to current AspNetCore repo

* Update code sample to reference aspnet core 2.2
2018-12-18 10:47:58 -06:00
Henrik Røn 25603327e6 ASP.NET Core MVC: Updating validation sample to 2.2 (#10021) 2018-12-17 07:56:36 -06:00
Luke Latham 7bcc366948
Update compat version topic sample project file (#9927) 2018-12-10 10:25:08 -06:00
Martin Zikmund 06f38d5d16 Updated Compatibility version docs to mention version 2.2 (#9924) 2018-12-10 10:14:01 -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
Martin Koudelka f14c494595 C53600: Missing asterisk and break line (#9776) 2018-12-03 12:16:05 -06: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
Scott Addie e20f03cce1
Replace BinderModelName with ModelName (#9562)
Fixes https://github.com/aspnet/Docs/issues/9476

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/advanced/custom-model-binding?view=aspnetcore-2.1&branch=pr-en-us-9562#custom-model-binder-sample)
2018-11-13 11:23:39 -06:00
Steve Gordon 8b84b42a5f Fixing the wording of a sentence (#9569) 2018-11-13 08:34:37 -06:00
Scott Addie 70781c2027
c# --> csharp 2018-11-06 14:14:19 -06:00
Scott Addie 01cbe3293e
Explain relationship between model validation and [ApiController] (#9377)
* Explain relationship between model validation and [ApiController]

* React to feedback in index.md

* React to more feedback
2018-11-06 11:52:38 -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
Abbas M 699ebb7af1 Removed redundant word (#9362)
Removed additional `for` under `Test ActionResult<T>` section
2018-10-31 10:20:10 -10:00
Scott Addie fcf473f19a
Fix DocFX build warnings from retired index pages (#9339) 2018-10-30 15:48:01 -05:00
Rick Anderson 2922d040bd Update validation.md (#9316)
* Update validation.md

* Update validation.md
2018-10-30 15:47:39 -05: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
Scott Addie 29f0f58eb0
Replace backtick with apostrophe 2018-10-25 15:24:25 -05:00
Dave Brock e4a189b59f Specified where attributes can be applied (#9204)
Fixes #8574
2018-10-24 13:16:43 -10:00
Luke Latham 7120a2f985
Azure Apps troubleshooting title change (#9199) 2018-10-24 14:26:16 -05:00
Mark Iannucci 0c31645670 Added link to the specific file in question in case someone else is c… (#9185)
…onfused about the particular file in question, like I was
2018-10-23 16:23:22 -10:00
Rick Anderson c9a8c4b689
Update routing.md (#9125)
* Update routing.md

* Add missing comma
2018-10-19 11:55:51 -10: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
Tom Dykstra df1548c70b
fix xrefs, finish deleting repo pattern (#9110) 2018-10-18 13:37:28 -07: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
Luke Latham 6df7ad6613 Repair metadata (#9066) 2018-10-16 17:15:14 -10: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
Rick Anderson d0abcc683b Update filters.md (#8976)
Fixes #8958
2018-10-15 13:15:06 -05: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
James Newton-King ee68f3c934 Add RouteTokenTransformerConvention documentation (#8942) 2018-10-10 15:45:45 -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
Andrew Lock dcef25a7fb
Fixes for minor typos 2018-10-02 16:11:26 +01:00
Roy 8ef2cf1e97 Separate IFilterFactory from TypeFilterAttribute (#8720)
Add separate section using h3 title to separate out the IFilterFactory description from that of the TypeFilterAttribute when discussing dependency injection.
2018-09-26 15:38:44 -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
Martin Koudelka 55bf6461ea CC71490: Wrong variable name at line 47 (#8588)
Hello, @ardalis,
This proposed file change comes from https://github.com/aspnet/Docs.pt-br/pull/81 .
Could you review this contribution and help to merge if agreed?
Many thanks in advance.

When creating a new PR, please do the following and delete this template text:

* Reference the issue number if there is one:

  Fixes #Issue_Number

  > The "Fixes #nnn" syntax in the PR description causes
  > GitHub to automatically close the issue when this PR is merged.
2018-09-18 08:45:57 -05:00
Luke Latham 9ced4c858e
Test controllers topic+sample updates (#8232) 2018-09-17 19:17:53 -05:00
Luke Latham b7ba93461f
RP conventions topic+sample updates (#8523) 2018-09-17 13:26:42 -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
Luke Latham f85202290b Remove HTTP links to Microsoft (#8353)
Fixes #8350
2018-08-30 11:48:27 -07:00
Eric Stimpson 4477629f88 Update areas.md (#8351)
Consistency in list (all complete sentences instead of mix of sentences / sentence fragments).
2018-08-30 12:41:06 -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
Luke Latham 2c7f11f3af Move SetCompatibilityVersion into an MVC subtopic (#8196)
Escape an underscore

Escape more underscores

And another one
2018-08-21 12:57:06 -07:00
Brian Behm 9dc47d3b9e Update app-parts.md (#8177)
Changed misspelling of the word "behavior"
2018-08-20 11:32:19 -05: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 f5407ed1ee Remove integration testing (#8157) 2018-08-18 10:34:16 -07: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
Scott Addie 80730b78ce
Replace invalid filters diagram (#8097)
Fixes https://github.com/aspnet/Docs/issues/8053

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/controllers/filters?branch=pr-en-us-8097&view=aspnetcore-2.1#filter-types)
2018-08-15 11:25:30 -05:00
Pranav K 187185eeaa Add some details about ModelMetadataDetailsProvider (#8076)
* Add some details about ModelMetadataDetailsProvider

* Edit pass
2018-08-14 15:58:20 -05:00
John Osborne c2be9e481a Paramater naming convention fix (#8023)
The parameter should be camelCase.
2018-08-10 09:25:53 -05:00
Rick Anderson e3f4cb5697
Update partial.md (#7937)
Fixes #7931
2018-08-07 10:36:14 -06:00
Luke Latham f06dde4f03
Update code example (#7926) 2018-08-02 07:02:51 -05:00
Scott Addie 27e907f3ba
Remove unnecessary jQuery document.ready call (#7899)
Fixes https://github.com/aspnet/Docs/issues/7894

Also incorporated a few Acrolinx suggestions while I was in there.

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/models/validation?view=aspnetcore-2.1&branch=pr-en-us-7899#iclientmodelvalidator)
2018-07-31 11:57:38 -05: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
Rick Anderson 49c880ace7
Update overview.md (#7889) 2018-07-30 19:39:23 -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
Scott Addie cb24febfda
Update author metadata fields to Tom (#7652)
Updates the `ms.author` and `author` metadata fields to Tom's user ID.
2018-07-16 15:09:39 -05:00
Luke Latham 34b33e245b Add version to App package references (#7551)
Fixes #7532
2018-07-10 22:43:09 -05:00
Mauricio de los Santos 97f31c8b47 CC63734: Fixing broken link (#7539)
Hello, @rick-anderson ,
This proposed file change comes from https://github.com/aspnet/Docs.zh-tw/pull/56.

Could you review this contribution and help to merge if agreed?

Many thanks in advance.
2018-07-10 09:57:12 -06: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
Rick Anderson 30a88bd010 Update index.md (#7120)
Fixes #7122
2018-06-19 10:55:28 -05:00
Luke Latham a8b541b872 Razor Pages custom route enhancements (#7123)
Fixes #7107 

Thanks to @hrumhurum for surfacing the issue.
2018-06-19 09:42:27 -05:00
Luke Latham 91d793ffd0
Remove "features" from links (#7079) 2018-06-15 10:11:16 -05:00
Luke Latham 033fbf3969
MVC views DI update (#7050) 2018-06-14 09:47:12 -05:00
Pranav K 29126fc747 Add some details for fixing runtime compilation errors (#7027) 2018-06-13 15:11:34 -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
Brandon 711fa8b7f0 Remove difficult consecutive contractions (#6963) 2018-06-09 14:48:27 -05:00
Luke Latham 097972cff6
Add webapp alias notice (#6939) 2018-06-08 20:02:20 -05:00
Cristian Civera 6323c51896 Wrong reference to IFilter instead of IFilterMetadata (#6929) 2018-06-07 16:23:49 -05:00
Rick Anderson 8984bd4a2c
Update ui-class.md (#6924) 2018-06-07 08:30:00 -10:00
Luke Latham 75d354fe18 Show GetErrorMessage in Model validation topic (#6911) 2018-06-07 11:12:09 +02:00
Babu Annamalai dd9076dce6 Update version Microsoft.AspNetCore.Mvc version to 2.1.0 (#6871) 2018-06-05 08:50:41 -05:00
Daniel J. Summers 902f50551f RCL projects should not end in ".Views" (#6847)
Fixes #6796
2018-06-04 12:10:28 -05:00
Luke Latham f350475938
2.1 Sample Updates (Round 5) (#6803) 2018-06-01 22:36:04 -05:00