Commit Graph

6607 Commits (b6cd4cecf3f90e13575e85073efa151e7016ce56)

Author SHA1 Message Date
Luke Latham b6cd4cecf3
Fix code block highlight (#9168) 2018-10-23 11:19:08 -05:00
Ahmed Yahia 460ae9a25f Update routing.md (#9161) 2018-10-23 09:38:03 -05:00
Ahmed Yahia 74387c9122 Update routing.md (#9162) 2018-10-23 09:37:44 -05:00
Ahmed Yahia fc74a5258c Update routing.md (#9163)
i think it should be "whether" not "where"
2018-10-23 09:37:13 -05:00
Rasto 8acab21019 Document allowing access with one scheme or another (#9010)
Fixes #5542
2018-10-22 22:27:17 -05:00
Mikael Mengistu 31f4e34f67 SignalR Java Client Preview 3 Docs updates (#9112)
Updating for the Preview3 SignalR Java client
[Review link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/java-client?view=aspnetcore-2.2&branch=pr-en-us-9112)
Fixes https://github.com/aspnet/Docs/issues/9117
2018-10-22 16:52:19 -05:00
Michael Randers-Pehrson c97438abfb Minor language tweak (#9145) 2018-10-22 14:04:25 -05:00
Luke Latham ab292ad0b8
Clarify IISIntegration overrides (#9033) 2018-10-20 09:14:06 -05: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
BrennanConroy 6210895547 Update DataProtection Redis docs (#8984) 2018-10-19 14:45:01 -05:00
Dave Brock 55c8bfb23b Added "Next" to "Search" button (#9118)
I noticed the "Next" button in this tutorial was not prefaced with `Next:` like the rest of the tutorials. This massive pull request resolves this.
2018-10-19 14:27:56 -05:00
Rick Anderson 36e2502ce8
UE edit of Security considerations in ASP.NET Core SignalR (#9088)
[Internal review URL](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/security?view=aspnetcore-2.1&branch=pr-en-us-9088)

- Kill long sentences. Long sentences are difficult for native speakers and impossible for MT (machine translation)
- Format code to prevent horizontal scroll bar on tablets 85 characters wide. You can simulate tablets by viewing in a browser of the maximum width that doesn't have left or right panes (TOC's).
- Prune dead wood. Avoid unnecessary words that don't add meaning to the text.
- Avoid "you" except when it make the statement more clear. 

  - For example, the following CORS policy allows a SignalR browser client hosted on `http://example.com` to access **your** SignalR app:
  -For example, the following CORS policy allows a SignalR browser client hosted on `http://example.com` to access the SignalR app hosted on `http://signalr.example.com`:
- Avoid Wikipedia links
- Code snippets

Explicit sign-off required on my security rewording below:
- [ ]  Allow cross-origin requests only from domains you trust or control. 

The following are slightly too long but I couldn't find an elegant way to shorten them (not that my other trimming was elegant):

- Applications should be configured to validate these headers to ensure that only WebSockets coming from the expected origins are allowed.
2018-10-19 09:10:45 -10:00
Dave Brock 94e7237e26 Grammar fixes (#9122) 2018-10-19 06:54:35 -05:00
Dave Brock 9546de199e Namespace correction (#9123) 2018-10-18 19:42:11 -10:00
Rick Anderson 8b6104beeb
self-closing TH (#9124)
Fixes  #6075
2018-10-18 19:41:18 -10:00
Dave Brock 00260436ce Search enhancements (#9101)
* casing fixes

* image refresh

* updates for #8000

* Update search3.md
2018-10-18 13:40:26 -10:00
Luke Latham 2fe9ca8744 Remove previous Identity Core sample app (#9115)
Fixes #9114 

We're going to keep the cookie sharing auth samples over here on the docs repo and **not** move them to the AuthSamples repo. We don't need to keep the previous Identity Core sample (and it's not linked to anything).
2018-10-18 12:35:06 -10:00
Rick Anderson 3ec2577502
Update dependency-injection.md (#9111) 2018-10-18 11:00:26 -10:00
Tom Dykstra df1548c70b
fix xrefs, finish deleting repo pattern (#9110) 2018-10-18 13:37:28 -07:00
Luke Latham c12f7b04b2
Env var patch in host topics (#9104) 2018-10-18 13:26:04 -05:00
Scott Addie a21759b52f
README updates (#9102)
* Replace aspnet/Home reference in README

* More updates

* React to feedback
2018-10-18 13:20:55 -05:00
Dave Brock 5509a97557 Moved section earlier in this tutorial (#9063)
A link to the FK section is actually provided, but it is easy to gloss over. Moving the section up in the document prevents users reading it too late to do anything about it, as said in the issue.

Fixes #7728
2018-10-18 08:19:38 -10:00
Rick Anderson 8038921da3 Update dependency-injection.md (#9090)
* Update dependency-injection.md

* Update dependency-injection.md
2018-10-18 14:17:12 -04:00
Luke Latham e88d6d6e86 Description line in the wrong spot (#9103) 2018-10-18 13:02:39 -05:00
Scott Addie b2f79137f1
Merge pull request #9087 from aspnet/scottaddie/rp-partial-view
Add detail about serving partial views named with underscores
2018-10-18 11:34:09 -05:00
Codefridge abc1555e2d Update aspnetcore/security/authorization/razor-pages-authorization/sa… (#9092)
`AuthenticateUser()` now uses the passed in email parameter, instead of the Input class property.

When checking the user entered email address, the `AuthenticateUser()` method was using the bound property `Input`, which is incorrect, the method must use the `email` parameter that is passed into the method.

PS: This is my first pull request, so is the above enough information?
2018-10-18 10:28:01 -05:00
Sean Killeen e7b59cf61d Add information on connection token vs other types (#9056)
* Add information on connection token vs other types

To disambiguate connection token vs session / auth tokens.

* Address feedback on heading

Sentence case; H4; remove "note" text.

* remove extra the; update title case.

* Incorporate feedback comments

* Incorporate feedback on last paragraph

* additional clarification

* Update heading per feedback

phrasing, capitalization, and line break under heading

* Incorporate wording feedback

* Addressing feedback: contractions
2018-10-18 09:12:59 -05:00
Luke Latham 1f3698ba45 List default services for Generic Host (#9061)
Fixes #8893 

[Internal Review Topic](https://review.docs.microsoft.com/en-us/aspnet/core/fundamentals/host/generic-host?view=aspnetcore-2.1&branch=pr-en-us-9061)

* Remove Logging from service config (given it's a default service).
* List the default services (too literal here? ... trimming needed??? 🔪)
2018-10-17 19:58:19 -05: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
Genevieve Warren 3526859844 change xref config to match aspnetcore config (#9081) 2018-10-17 16:22:55 -05:00
Andrew Stanton-Nurse 04e2b7a6bd Documentation on WebSocket Origin validation (#9080)
Added some notes on WebSocket Origin validation to ASP.NET Core SignalR documentation.

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/security?view=aspnetcore-2.1&branch=pr-en-us-9080)
2018-10-17 11:01:37 -10:00
Dave Brock 5faa50e2ff Casing fixes (#9065)
Forgot a couple casing issues from the issue the other day.
2018-10-17 13:50:20 -05:00
Tom Dykstra faccb02bf1
retire Repo Pattern and Primitives docs (#9077) 2018-10-17 10:50:50 -07:00
Luke Latham 4bba94bb63
Array support with the AKV configuration provider (#9064) 2018-10-17 12:47:33 -05:00
Scott Addie 017ba68c56
Remove middleware term from ToC link text (#9076)
Removing the "middleware" part of the link text. This was verbally approved by Dan Roth in a meeting yesterday.
2018-10-17 12:20:34 -05:00
Scott Addie 2ef24f316b Retire the Bootstrap doc (#9054)
Fixes https://github.com/aspnet/Docs/issues/3567
Fixes https://github.com/aspnet/Docs/issues/3544
Fixes https://github.com/aspnet/Docs/issues/8375

Per Dan Roth, retire the doc and redirect to the official Bootstrap site.
2018-10-16 17:17:16 -10:00
Luke Latham 6df7ad6613 Repair metadata (#9066) 2018-10-16 17:15:14 -10:00
Rick Anderson 03ccb1d809
Update getting-started.md (#9070)
Part of #8581 to lower SEO of 
how to write a ASP.NET web app
how to write a ASP.NET web application
how to program a ASP.NET web app
how to program a ASP.NET web application

Fixes #9071
2018-10-16 17:14:47 -10:00
Rick Anderson 14f4d88c5c
Update startup.md (#9069) 2018-10-16 17:14:16 -10:00
VaultHunter101 f5e7e1648c Updated index.md to add 2017 version link (#9067) 2018-10-16 15:42:34 -10:00
Rick Anderson d8fbabaae2
lower SEO (#9068)
* lower SEO

* lower SEO
2018-10-16 15:41:16 -10:00
Dave Brock 64bbba1514 Fixed `get` issue in tag helper example (#9062)
* casing fixes

* image refresh
2018-10-16 14:25:31 -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
Tom Dykstra 50863ad503 Logging article updates (#8908)
Fixes #5161
Fixes #8338 
Fixes #8620
Fixes #8803 
Fixes #8207

[Internal review link](https://review.docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/index?view=aspnetcore-2.2&branch=pr-en-us-8908)
2018-10-16 09:16:57 -10:00
Dave Brock 42c65ca477 typo fixes (#9058) 2018-10-16 13:52:52 -05:00
Antoine Griffard 1b9baea167 Fix typo in ValidationSummary (#9057) 2018-10-16 12:11:52 -05:00