Commit Graph

3770 Commits (7e53e1a380a49dc1bed35314b2244831591cc09d)

Author SHA1 Message Date
James Newton-King 6ec334bc52 Add PageRouteTransformerConvention docs (#8969)
* Add PageRouteTransformerConvention docs

* Razor Pages conventions doc patch
2018-10-15 13:40:03 -05:00
Rick Anderson d0abcc683b Update filters.md (#8976)
Fixes #8958
2018-10-15 13:15:06 -05:00
Antoine Griffard 9693195d01 Typo in version-differences (#9022) 2018-10-15 12:24:50 -05:00
Luke Latham 13b70b1485
Repair code block links (#9030) 2018-10-15 11:56:23 -05:00
Antoine Griffard fc719ac941 Typo in streaming (#9021) 2018-10-15 11:41:39 -05:00
Antoine Griffard 1b16eded26 Typo in messagepackhubprotocol (#9020) 2018-10-15 11:40:54 -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
amadosoft 14f0c334b5 Update dependency-injection.md (#9008) 2018-10-13 10:27:16 -05:00
Luke Latham 7c9361bbd4
Enhance 'edge server' language (#9002) 2018-10-12 14:04:15 -05:00
Scott Addie 5b2f916cb4
Merge pull request #8985 from aspnet/tdykstra-patch-2
remove code formatting from headings
2018-10-12 12:11:05 -05:00
Luke Latham 417b677b9d
IIS Modules topic updates (+in-proc updates) (#8831) 2018-10-12 12:08:18 -05:00
Luke Latham e762fe8c57
Language enhancement to the Web Host topic (#8986) 2018-10-12 11:53:45 -05:00
Luke Latham 223f95bd10
Configuration enhancements (#8918) 2018-10-12 11:53:00 -05:00
Luke Latham 95edc2a774
Surface StatusCodes in Enforcing HTTPS topic (#8981) 2018-10-12 11:52:21 -05:00
Luke Latham 12e70e8875
Surface www redirect methods in URL Rewriting topic (#8982) 2018-10-12 11:49:09 -05:00
Luke Latham 4a38accc79
Clarify Azure App restart behavior of app settings (#8987) 2018-10-12 11:44:02 -05:00
Luke Latham 0a8f20ebdb
Update antiforgery cookie options (#8980) 2018-10-12 11:43:27 -05:00
Luke Latham 441cc474c0
Tag Helpers: Enhance cross-links and UE pass (#8964) 2018-10-12 11:17:59 -05:00
Pavel Voronin 3b5bb90d3b Update dependency-injection.md (#8996) 2018-10-12 07:52:37 -05:00
Dave Brock 7586ea1e1a Added EF Power Tools link (#8993) 2018-10-12 07:47:25 -05:00
Luke Latham f4b0be4375
Remark change in Windows Service topic (#8983) 2018-10-11 12:03:05 -05:00
Tom Dykstra e8be8e6ed2
remove code formatting from headings 2018-10-11 10:00:01 -07:00
Mark Pritchett 51b914aef2 Add launchSettings.json example to v2.0 -> v2.1 migration (#8865) 2018-10-11 06:17:57 -05:00
Kenn Jacobsen 235a9a2c89 Updates to the razor pages tutorial (#8953) 2018-10-11 06:17:07 -05:00
EthanR 2c7bc49ade Update index.md (#8975) 2018-10-11 06:11:33 -05:00
Dan Jacka caa86b9002 Typo fix: delete extraneous 'to' (#8971) 2018-10-11 06:10:51 -05:00
EthanR 7cc7b6a5b0 Update index.md (#8970) 2018-10-11 06:10:02 -05:00
EthanR c0c168784b Update benefits.md (#8968) 2018-10-11 06:06:15 -05:00
Rick Anderson 1b0872744d
Update web-api-vsc.md (#8965) 2018-10-10 17:33:32 -10:00
haidelber 97a199c5ee Fixed link description (#8962) 2018-10-10 11:23:34 -10:00
James Newton-King ee68f3c934 Add RouteTokenTransformerConvention documentation (#8942) 2018-10-10 15:45:45 -05:00
Rick Anderson e6a0c8c0a8
cache No Longer Evicts Under Memory Pressure (#8950)
* cache No Longer Evicts Under Memory Pressure

* Update memory.md
2018-10-10 09:46:53 -10:00
Mohammad Dehghan f514dc1a70 Remove duplicate word (#8952) 2018-10-10 08:05:26 -05:00
Luke Latham 5bffce9501 Clarification on Login form display scenarios (#8878) 2018-10-09 16:44:21 -10:00
Luke Latham dc26efa660 Enhance attribute table (#8943)
Fixes #8659 

[Internal Review Topic](https://review.docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-1.0&branch=pr-en-us-8943)

* Ranges added to the table.
* Add `processesPerApplication`.

Head-check on `requestTimeout` ... is the max timeout 360 hours (`360:00:00`)?
2018-10-09 16:16:17 -10:00
Luke Latham ba4b509279 Reconstitute installer flags (#8945)
Fixes #8748
2018-10-09 16:12:11 -10:00
Luke Latham 34291fb3fb Linux topic updates (#8944)
Fixes #8710 

1. Fix the `./<app_executable>` bit ... refer to the DLL.
1. Drop "mvc" from naming and go with "app."
1. Path to `/var/www/helloapp`.
2018-10-09 16:11:40 -10:00
Dave Brock 3923817574 Clarified compatibility version is in RP template by default (#8939)
Fixes #8932.
2018-10-09 11:09:09 -10:00
Luke Latham 8f74f445f9 Fix tutorial folder name (#8941)
Fixes #8937 

https://github.com/aspnet/Docs/tree/master/aspnetcore/data/ef-rp/intro/samples/cu21/Pages/Students
2018-10-09 10:47:33 -10:00
Luke Latham 477300456c Fix broken table (#8940)
Fixes #8938 

... and also escapes an underscore in a latter table cell.
2018-10-09 10:36:33 -10:00
Luke Latham d3b0a32154 In-process hosting model coverage (#8658)
Fixes #5599 
Fixes #5449 
Fixes #5403 


[Internal Review Topic (fundamentals/servers/ancm)](https://review.docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/aspnet-core-module?view=aspnetcore-1.0&branch=pr-en-us-8658)
[Internal Review Topic (fundamentals/servers/index)](https://review.docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/index?view=aspnetcore-1.0&branch=pr-en-us-8658)
[Internal Review Topic (host-and-deploy/ancm)](https://review.docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-1.0&branch=pr-en-us-8658)
[Internal Review Topic (host-and-deploy/iis/index)](https://review.docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/index?view=aspnetcore-1.0&branch=pr-en-us-8658)
2018-10-09 09:20:34 -10:00
Kyle Burns 0192359c2a Update dependency-injection.md (#8611)
Elaborated on the recommendation to avoid Service Locator pattern
2018-10-09 09:18:08 -10:00
Hisham Bin Ateya d3b9269016 Use Microsoft.AspNetCore.App & CreateWebHostBuilder in web sockets sample (#8890)
* netcoreapp1.1 -> netcoreapp2.1

* Use Microsoft.AspNetCore.All meta package

* Use CreateWebHostBuilder

* Sample versioning

* Fix target framework

* Redo unnecessary changes

* Update packages version

* Implicit version for App package

* Fix the package name

* Versioning the code snippets

* WebSocketSample -> WebSocketsSample
2018-10-09 09:15:00 -10:00
Luke Latham 91a2e221a9 Update Kestrel topic sample to use ConfigureKestrel (#8914)
Fixes #8571
2018-10-09 09:07:18 -10:00
Tom Dykstra 9cf3e6ed15 Correct note about lazy loading (#8934)
Related to #8910 
[Internal review link](https://review.docs.microsoft.com/en-us/aspnet/core/data/ef-rp/read-related-data?branch=pr-en-us-8934&tabs=visual-studio)
2018-10-09 08:51:38 -10:00
Dave Brock d138521569 redundant spacing (#8930) 2018-10-09 11:43:33 -05:00
Dave Brock 07b06e9859 Added context around HEAD requests (#8928) 2018-10-09 11:41:44 -05:00
Dave Brock d2fc112258 Remove redundant "the" (#8931) 2018-10-09 11:39:36 -05:00
Hisham Bin Ateya 273a8485ac Fix localization resources links (#8927) 2018-10-09 10:59:08 -05:00
Dominik Raniszewski 123b4f49d3 Removing emphasis from the last paragraph (#8924) 2018-10-09 10:57:28 -05:00
Luke Latham fd3151cb2e Repair link (#8899)
Fixes #8898
2018-10-07 18:48:14 -10: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
Hisham Bin Ateya b0e9ee31c5 Use CreateWebHostBuilder in localization samples (#8882) 2018-10-06 17:09:16 -10:00
John Reese bdbde265b9 Resolve grammar issues (#8879) 2018-10-06 09:20:50 -05:00
Andrew Lock 834faab848 Clarifications around ConfigureAll and named options (#8869) 2018-10-05 17:56:24 -05:00
Hisham Bin Ateya 29c39626cd Fix localization sample namespace (#8860) 2018-10-05 12:50:39 -10:00
Luke Latham 97f9e2d403
Surface SCD for preview release to App Service (#8700) 2018-10-05 10:21:59 -05: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
Rick Anderson f0bd9cedb1
Update choose-aspnet-framework.md (#8730)
* Update choose-aspnet-framework.md

* Update choose-aspnet-framework.md

* update choose between

* update choose between

* update choose between

* fix

* fix

* fix

* react to feedback

* Update choose-aspnet-framework.md
2018-10-04 15:25:35 -10:00
Rick Anderson 61f6c2735b
Update secure-data.md (#8856) 2018-10-04 15:21:58 -10:00
Tom Dykstra bf92bb67e2 Apply content model guidelines to Getting started tutorial (#8844)
Fixes #8778
2018-10-04 11:12:56 -10:00
Dave Brock 854e17807d Fix typo for #8286 (#8849)
Typo fix in code sample. 

Fixes #8286
2018-10-04 15:18:18 -05:00
Scott Addie b3eb47a2c5
Add missing period in title (#8851)
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-10-04 15:08:01 -05:00
David Pine fee5f1800b Added details, examples and docs on Gulp v4 (#8843)
Fixes https://github.com/aspnet/Docs/issues/8827
Fixes https://github.com/aspnet/Docs/issues/7632

**Internal Review Pages**
* [Use Gulp](https://review.docs.microsoft.com/en-us/aspnet/core/client-side/using-gulp?view=aspnetcore-2.1&branch=pr-en-us-8843)
* [Bundle & minify](https://review.docs.microsoft.com/en-us/aspnet/core/client-side/bundling-and-minification?view=aspnetcore-2.1&branch=pr-en-us-8843)
2018-10-04 14:40:19 -05:00
Cecil Phillip 16af294128 Update messagepackhubprotocol.md (#8847)
Fixes #8821
PR for review. I just mirrored the note in the server section
@scottaddie @anurse
2018-10-04 14:29:33 -05:00
Jimmy Bogard 08c1ed8940 Corrected download link for Visual Studio (#8841) 2018-10-04 08:48:48 -05:00
Tom Dykstra 77471a229d
Apply content model guidelines to SignalR tutorial (#8817) 2018-10-03 13:04:56 -07:00
Tom Dykstra 055b3e55c8 Move Supported platforms out of Server concepts ToC (#8828) 2018-10-03 13:31:18 -05:00
Luke Latham 3b54380932
Add Brotli compression to the sample app (#8830) 2018-10-03 13:11:45 -05:00
Tom Dykstra e5670756e3 Change to code style where italics wasn't working (#8829)
Fixes #8823
2018-10-03 13:08:04 -05:00
Tom Dykstra fa5ebeba6f
Add available clients to SignalR supported platforms (#8729) 2018-10-03 09:34:37 -07:00
Scott Addie 3b6885b420
Correct the moniker range in WebSockets doc (#8809) 2018-10-03 08:36:25 -05:00
Luke Latham a4a449b4d9
Update instruction on picking up env var change (#8638) 2018-10-02 19:13:44 -05:00
Scott Addie f473fbf8c1
Fix Razor view snippet types (#8810) 2018-10-02 15:55:57 -05:00
Steve Patches 79e90ea1b7 mention HTML sanitization as deprecated approach (#8800)
Include some content from https://github.com/aspnet/Docs/issues/7962#issuecomment-410779470 that would be helpful to those who search for this topic.
2018-10-02 15:33:10 -05:00
Corey Ford c84d142185 fixed bug during socket.onclose (#8784)
* fixed bug during socket.onclose

* More JS cleanup
2018-10-02 14:17:25 -05:00
Bruno Garcia 344f16d38d Add Sentry, FOSS error monitoring tool (#8802) 2018-10-02 13:35:40 -05:00
Andrew Lock dcef25a7fb
Fixes for minor typos 2018-10-02 16:11:26 +01:00
Luke Latham a6b3666aff
Change code example in auth policy provider topic (#8799) 2018-10-02 08:49:50 -05:00
Tushar Koshti 1f017b785b Fixed typo mistake (#8791) 2018-10-02 08:25:53 -05:00
Dave Brock 5e190547ea Cosmetic changes for multiple files (#8764)
As I was preparing to rewrite a Razor Pages topic, I came across some minor cosmetic things while running through the Razor Pages tutorial. Since they were a bunch of little things, I thought I would group it into one request. As I'm fairly new at this, if you would like me to do it a different way in the future, just let me know.

Changes of note (all others were cosmetic and not worth discussing):
* `aspnetcore/includes/RP/razor-pages-start.md`: Moved description of `_ViewStart.cshtml` after `_ViewImports.cshtml` because that is how it is displayed in Visual Studio. Also added a short description of the `Privacy` page.
* `aspnetcore/tutorials/razor-pages/model/_static/conan.png`: Updated screenshot to contain `ReleaseDate` label and not `Release Date.` The display annotation is not discussed until later in the tutorial.
* `...als/razor-pages/razor-pages-start/sample/RazorPagesMovie21/Data/RazorPagesMovieContext.cs`: Removed unused usings and also removed the unnecessary FQNs. Same for the other code samples in this pull request.

Fixes #7252
2018-10-01 11:51:52 -10:00
José Maia 6619e940e4 Point to a central page explaining all signalr clients (#8782)
Fixes #8781
2018-10-01 15:21:55 -05:00
Scott Addie 56aa3bec94
2.1 update of Web API migration doc (#8717)
* 2.1 update of Web API migration doc

* Fix list formatting

* React to feedback
2018-10-01 14:55:27 -05:00
Haryz Izzudin 124e035f10 Content fixes for ASP.NET Core Getting Started page (#8779)
Fixes #8776.
2018-10-01 13:12:20 -05:00
Sebastiaan Dammann 682fdb36f8 Clarify middleware behavior with unknown file types, fixes #8602 (#8780) 2018-10-01 12:25:21 -05:00
obayit 28bcd1a21a correct a term (#8769)
The word implement can mislead the reader into thinking that he have to implement the interface,
an alternative is the word require, which is used when talking about dependency injection

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-10-01 11:27:54 -05:00
Scott Addie e8966d448a
Remove link to retired doc (#8775) 2018-10-01 11:27:04 -05:00
Haryz Izzudin 57e9dcfa6b Fix code block showing backticks (#8772)
Indenting the code block with 4 spaces causes the Markdown parser to think that the lines with the backticks are also part of the code block, [as per the Markdown specifications](https://daringfireball.net/projects/markdown/syntax#precode). I reduced the indentation to 2 spaces to get around this problem.

Fixes #8563 

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/getting-started/?view=aspnetcore-2.1&branch=pr-en-us-8772)
2018-10-01 11:16:40 -05:00
Scott Addie c5a5a6c00a
Remove link to retired doc (#8773) 2018-10-01 11:04:46 -05:00
James Newton-King 5a87f3081f Round-tripping catch-all syntax + Parameter Transformers (#8759)
Addresses #8763

https://github.com/aspnet/Routing/issues/720

@rynowak
2018-10-01 10:53:34 -05:00
obayit cc96a62cd6 Remove UseBrowserLink (#8762) 2018-09-30 09:10:22 -05:00
Luke Latham d3db6fcd25
Fix highlighting in Background tasks code sample (#8761) 2018-09-29 19:21:21 -05:00
Rick Anderson 2e8dac2ca4
Update next.md (#8740)
* Update next.md

* Update next.md
2018-09-28 15:32:48 -10:00
Rick Anderson 2c94b676c9
Update index.md (#8731)
* Update index.md

* Update index.md
2018-09-28 15:32:21 -10:00
Dave Brock e2c39164a9 Added using for clarity (#8743)
Visual Studio does not recognize the query without using the `Microsoft.Linq` namespace, which isn't specified in the document.
2018-09-28 15:31:25 -10:00
Mark Rendle 911120b884 Add note on scaffolding all Identity UI pages from CLI (#8752) 2018-09-28 15:29:52 -10:00
Rick Anderson 4a96687c7d
Update metapackage.md (#8728)
Fixes #8312
Instructions copied from https://github.com/aspnet/Identity/issues/1870
2018-09-28 15:29:20 -10:00
Tom Dykstra 934fdbb87f Retire duplicate doc - pub to Azure using CLI (#8747)
Fixes #8723
2018-09-28 10:33:08 -10:00
Rick Anderson 20ce53d5cb
Update index.md (#8741) 2018-09-27 13:20:00 -10:00
Scott Addie 2a07c6f1df
Fix invalid Scaffold Identity link (#8739)
Fixes a link build warning introduced in https://github.com/aspnet/Docs/pull/8640.
2018-09-27 11:57:50 -05:00
Scott Addie 126bb378af
Make LibMan CLI destination path xplat (#8737)
Addresses the same problem that was fixed in https://github.com/aspnet/Docs/pull/8734.
2018-09-27 11:43:49 -05:00
Scott Addie 6ee808c991
2.1 updates to Identity PK data type doc (#8640)
* 2.1 updates to Identity PK data type doc

* Fix xref link

* Simplify doc

* Minor tweaks

* Verbiage tweaks

* Fix line highlighting

* Remove unused sample code

* Merge PK doc into larger customization doc

* Add missing property to ApplicationUser class

* Add redirect to retire PK doc

* Add missing file extension to redirect file

* Remove restriction on 2.1+

* Display lazy loading section for 2.1+

* Formatting changes

* Fix line highlighting

* Add property to ApplicationRole class

* Remove unnecessary override from ApplicationDbContext class

* Dedent code snippet

* Update customize-identity-model.md
2018-09-27 09:44:02 -05:00
Evan Ogas 6c1c25a490 Use forward slashes for destination path (#8734)
I don't have a way of testing this on Windows atm, but most of the other examples use forward slashes, so I assume this is correct on all platforms.  Backslashes fail on MacOS, creating a directory called "wwwrootlibsignalr".
2018-09-27 09:38:19 -05:00
Maxim Kornilov eb767b9464 Use the correct type as a parameter for the generic (#8724) 2018-09-26 20:54:56 -05:00
Dave Brock 8dd70094bd Fixing typo. (#8725) 2018-09-26 15:41:47 -10:00
Dave Brock cf5a94c7b2 Added corrected screenshot. (#8727) 2018-09-26 15:41:20 -10:00
Nate McMaster ba5171bda9 Add a section about storing data protection keys using the EF Core provider (#8328)
* Add a section about storing data protection keys using the EF Core provider

* UE pass and snippets

* Update key-storage-providers.md
2018-09-26 15:37:55 -10: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
Keyur d0486b8ec6 Issue #8445 - Made the SMS 2FA note as a Warning (#8663)
* Added 'Scaleout differences' section

Saw this in one of the comments. So thought of adding it.

* Edits

* Issue #8445 - Made the SMS 2FA note as a Warning

Issue #8445 - Made the SMS 2FA note as a Warning
2018-09-26 10:14:48 -10:00
Luke Latham 36ce03f66f Add an additional resource to DI topic (#8642)
Fixes #8641 

... also @pakrym, can you say if this would have wide enough interest to become its own topic on the doc set?
2018-09-26 09:27:47 -10:00
Rick Anderson 1c08e30dd6
Version-less M.A.App (#8707)
* Version-less M.A.App

* Update metapackage-app.md
2018-09-26 09:21:36 -10:00
Nate McMaster db618cf993 Update the 2.1 migration doc to instruct users to remove the version on Microsoft.AspNetCore.App (#8715)
Reverts https://github.com/aspnet/Docs/pull/7543

See https://github.com/aspnet/Home/issues/3292#issuecomment-424146341 for context
2018-09-26 09:20:54 -10:00
Luke Latham 7c2f75b270
Add auth link to the Native Mobile Backend topic (#8719) 2018-09-26 14:09:44 -05:00
Rick Anderson c9bd31f145
Update validation.md (#8692)
* Update validation.md

Fixes #8687 
This link is much better as it doesn't involve SQL Server.

* Update validation.md
2018-09-25 15:53:56 -10:00
Rick Anderson 59e92baee9
Update details.md (#8693)
Also fixes  #8687
2018-09-25 15:53:36 -10:00
Luke Latham ae328f456d Distributed caching topic sample update (#8703)
Fixes #8514 

* Convert use of local time to UTC.
* I went for some naming upgrades and consistency.
  * I prefer not to post-fix types on variable names (i.e., "String" here).
  * I add "UTC" here and there tho to clarify what's held in vars and the cache key.
* Opened **Distributed cache topic UE pass** #8702 to do a pass on the topic later.
2018-09-25 14:38:05 -10:00
Luke Latham cfe4e9fa0d
Windows Service topic updates (#8705) 2018-09-25 17:32:32 -05:00
Tom Dykstra a26d3b82d2 update meta description (#8697)
@Rick-Anderson here's a suggestion for the meta description.
2018-09-25 12:17:54 -10:00
Luke Latham d4ccb7af34
Use MS architectural principles link in DI topic (#8701) 2018-09-25 15:52:24 -05:00
Rick Anderson cfb79e6975
Update razor-pages-start.md (#8691)
Keyword update.
2018-09-24 15:45:59 -10:00
Luke Latham 1da058f7dd
Improve Kestrel topic section support (#8689) 2018-09-24 17:29:10 -05:00
Luke Latham fdbee59807
Surface synchronous approach for view components (#8686) 2018-09-24 16:06:11 -05:00
Luke Latham 5b06b81ede
Surface the package in the Background Tasks topic (#8684) 2018-09-24 14:54:18 -05:00
Rick Anderson c181863998 Update bundling-and-minification.md (#8664)
Fixes #8614
@aureole82  please review.
2018-09-24 10:33:39 -05:00
Rick Anderson 25864d9dea Update app-secrets.md (#8662)
Need this for a doc in aspnet and it was too awful to copy.
2018-09-24 10:32:29 -05:00
Andrew Stanton-Nurse 55de66375a fix access token sample in SignalR auth document (#8680)
Fixes #8631 

The `AccessTokenFactory` expects a `Task<string>` so we need to wrap it in `Task.FromResult` in the sample (which is synchronous).
2018-09-24 10:24:26 -05:00
Cam Soper be93b1acb3
B2C doc fix (#8661)
* Whoops - didn't mean to merge that to this branch!

* minor updates

* minor updates

* Fixed issue #8552
2018-09-21 19:48:32 -05:00
Luke Latham 26286236f9
Response Compression updates (+Brotli) (#8560) 2018-09-21 17:12:21 -05:00
Luke Latham 4480bb1302
Note app pool restarts with the bundle installer (#8436) 2018-09-21 16:08:05 -05:00
Rico Suter 2e19966947 Fix snippets in NSwag tutorial (#8656)
Fixes the used snippets in the NSwag tutorial (currently the imports are missing and the configure snippet is used twice).
2018-09-21 12:16:54 -05:00
Rick Anderson a485e606d2
Update read-related-data.md 2018-09-20 15:23:33 -10:00
Rick Anderson c0ef0854b6
Update update-related-data.md (#8650) 2018-09-20 15:18:19 -10:00
Rick Anderson fca0e62fff
Update concurrency.md 2018-09-20 15:15:30 -10:00
Rick Anderson 116fa40551
Update individual.md (#8648)
Arg, now I need a link to win auth.
2018-09-20 14:56:30 -10:00
Rick Anderson 1d2f138aab
Update individual.md 2018-09-20 13:14:11 -10:00
Rick Anderson f5364daade
Update individual.md (#8645)
Fixes #8644

I need a fwlink to "No authentication" for VS.
2018-09-20 13:02:22 -10:00
Scott Addie 4f5fa6239d
Fix broken package.json file import (#8643)
Fixes an OPS build warning
2018-09-20 15:48:34 -05:00
Luke Latham ab66adea7c
Enhance KnownProxies/Networks content (#8634) 2018-09-20 14:01:02 -05:00
Luke Latham 8ec3fda3eb
Surface RuntimeIdentifiers (plural) in WS topic (#8637) 2018-09-20 13:57:21 -05:00
Rico Suter d6ab352542 Use API Explorer based NSwag generator and middlewares (#8572)
- Upgrade NSwag (samples) and use new API Explorer based generators (the reflection based generators are deprecated soon)
- Some text improvements
- Change "Open API" to "OpenAPI" (correct name)
- Use new Swagger UI 3 in samples

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-nswag?view=aspnetcore-2.1&branch=pr-en-us-8572&tabs=visual-studio%2Cvisual-studio-xml)
2018-09-20 11:32:52 -05:00
Luke Latham e5ed43144a
Remove webapp alias notice (#8629) 2018-09-19 23:03:52 -05:00
Rick Anderson 7705ae1e89
Fix SPA warning (#8595)
* Fix SPA warning

* rm download
2018-09-19 17:39:49 -10:00
Mikael Mengistu 5e95f82e20 SignalR Java Client preview1 -> preview2 (#8626)
Editing `Preview1 `to be `Preview2` in the Java client docs
2018-09-19 20:27:51 -05:00
Mikael Mengistu 4348c5837d Update to preview2 (#8593) 2018-09-19 17:41:24 -05:00
Rick Anderson ea8f1930c8
Update overview.md 2018-09-19 12:01:41 -10:00
Scott Addie 12764fb04b
Add SignalR Java API ref to ToC (#8619)
Link to the newly created ASP.NET Core SignalR Java API ref
2018-09-19 13:38:52 -05:00
Scott Addie 27883797d8
Remove quotes from bool value in appsettings.json (#8615)
Fixes https://github.com/aspnet/Docs/issues/8612
2018-09-19 09:53:48 -05:00
Luke Latham 480185ecd1
Surface System.Runtime.Caching content (#8550) 2018-09-18 21:36:25 -05:00
Rick Anderson 67c7b6cf6c
Update index.md (#8606) 2018-09-18 16:29:13 -10:00
Luke Latham 32cae1342e
Additional content on Cookie Policy Middleware (#8382) 2018-09-18 16:56:10 -05:00
Luke Latham 1d355fd55d
Improve DP Package layout section (#8512) 2018-09-18 15:57:38 -05:00
Luke Latham bbef639652
Nix SignalR mention from ActivatorUtilities remark (#8538) 2018-09-18 15:56:34 -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 298133dc38
Address KillSignal/exiting & sudo in Linux topics (#8464) 2018-09-18 12:36:09 -05:00
Scott Addie 24ec24dc89
Merge pull request #8578 from aspnet/brecon/codeEdit
Fix compile errors
2018-09-18 10:03:16 -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
Rick Anderson 967a655b70
Update index.md (#8582)
part of #8581
2018-09-17 19:17:54 -10:00
Luke Latham 9ced4c858e
Test controllers topic+sample updates (#8232) 2018-09-17 19:17:53 -05:00
BrennanConroy 398d92d3cf
Fix compile errors 2018-09-17 14:20:54 -07:00
Luke Latham 513faa11e2
Clarify the AddCookie auth scheme (#8575) 2018-09-17 16:19:21 -05:00
Luke Latham a1428d6601
Repair Custom storage providers links (#8576) 2018-09-17 16:18:54 -05:00
Luke Latham 097d3b2b94
HTTP2 scenario coverage (#8519) 2018-09-17 14:14:24 -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
Rick Anderson c8a99a1fef
Update index.md (#8561)
Fixes #8556
2018-09-16 09:12:56 -10:00
user135711 7d23bb76f7 fixed link not rendered (#8551)
A non standard parenthesis was inserted on the left parenthesis of the link I added likely due to one of the foreign keyboards I use being activated when I entered it.
2018-09-15 08:45:16 -10:00
Eduardo Cogo da Rocha d4aa7adb05 View components in ASP.NET Core (#8549) 2018-09-15 12:09:40 -05:00
Jason Card d0958db8ef Adding blank lines around ::: moniker (#8539)
@Rick-Anderson cc @nokura 
Adding blank lines around ::: moniker to fix layout issue for localized live pages.
2018-09-14 12:33:36 -07:00
Jason Card bdc589cf39
Adding line breaks
Hi @Rick-Anderson, cc @nokura 
Could you please help to review this PR and help to merge live?
I've added line breaks before moniker and code snippets as they are not rendered correctly for localized live pages.
2018-09-14 10:36:57 -07:00
Luke Latham 45b378e907
Partial views topic update (#8493) 2018-09-14 11:25:55 -05:00
chinaniit f7793c2b0d Update index.md (#8532)
Changed "client- and server-side" to "client-side and server-side"

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-14 10:51:53 -05:00
Rick Anderson c993428091
Update secure-data.md (#8525)
Fixes #8502
2018-09-13 19:27:11 -07:00
Callen Barton c07e6f1c0a Updated steps to create sample application. (#8517) 2018-09-13 12:10:09 -05:00
Luke Latham 46f41d4774
Update All and App package versions (#8513) 2018-09-13 11:39:23 -05:00
Gordon Hogenson 306962c85d Update visual-studio-tools-for-docker.md with link to /visualstudio/containers hub page (#8511)
Add link to new containers hub page.
2018-09-13 09:35:08 -05:00
user135711 2fe9b9b6b4 Missing link (#8515)
One more missing link
2018-09-13 09:29:11 -05:00
Kevin Griffin 61fdb712c6 Implements #8505 Hub<T> section for signalr/hubs.md (#8508)
Fixes #8505 

Added the section to signalr/hubs.md for Hub<T>.  Added a refactored version of `ChatHub` to use an interface instead of `SendAsync`.  

Any feedback is greatly appreciated!  My first PR to docs!
2018-09-13 09:24:03 -05:00
Gordon Hogenson 953dae11d0 Add info about build configuration-specific docker-compose overrides (#8507)
[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/host-and-deploy/docker/visual-studio-tools-for-docker?view=aspnetcore-2.1&branch=pr-en-us-8507#docker-compose)
2018-09-12 15:35:39 -05:00
Rick Anderson 4a0afccffe
Identity Scaffolder bug fix (#8458)
Fixes #8435 
[Internal review URL](https://review.docs.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identity?view=aspnetcore-2.1&branch=pr-en-us-8458&tabs=visual-studio)
[AddDefaultIdentity and AddIdentity](https://review.docs.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-2.1&branch=pr-en-us-8458&tabs=visual-studio#adddefaultidentity-and-addidentity)
2018-09-12 11:45:39 -07:00
Tom Dykstra 049936f33a
Add section for Closed event in SignalR .NET Client doc (#8497) 2018-09-12 10:25:12 -07:00
Rick Anderson 00bab87fde
Update scaffold-identity.md (#8499)
* Update scaffold-identity.md

* Update scaffold-identity.md
2018-09-11 21:06:07 -07:00
Rick Anderson a715ad4442
fix old bower (#8500) 2018-09-11 20:50:10 -07:00
Tom Dykstra 8035ff6e76
Add Context section to signalr/hubs.md (#8486) 2018-09-11 17:10:04 -07:00
Rick Anderson a09f423d5e
Update secure-data.md (#8487)
Fixes #8474
@gaazkam @smariussorin @C-BERBER please review
2018-09-11 15:21:34 -07:00
Tom Dykstra 29e363873e
AddJsonHubProtocol --> AddJsonProtocol (#8492) 2018-09-11 09:15:44 -07:00
Luke Latham 1a0f79a8fe
Update All/App package version (#8489) 2018-09-11 08:53:03 -05:00
Rick Anderson 5e419398cf
Update dotnet-client.md (#8472)
* Update dotnet-client.md

remove double send
Remove `you` when it doesn't add clarity. You aren't sending/receiving, the client is. It's more clear without you.

* simplify intro
2018-09-10 18:39:13 -07:00
Scott Addie cb89acac6d
Replace VSTS with Azure Pipelines (#8485)
Addresses one final piece of feedback in https://github.com/aspnet/Docs/pull/8479
2018-09-10 15:12:15 -05:00
Doug Erickson [MSFT] 2682da14f0 rebrand changes for 9/5 (#8479)
[Azure Lifecycle eBook Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/azure/devops/?view=aspnetcore-2.1&branch=pr-en-us-8479)
2018-09-10 15:03:00 -05:00
Scott Addie cafe4fd922
Fix SignalR .NET client sample app (#8481)
* Fix SignalR .NET client sample app

* Adjust line numbers in associated doc

* Fix HintPaths

* Convert packages.config to PackageReferences

* Add launchSettings.json to ensure same port WPF app expects is used
2018-09-10 14:40:03 -05:00
Keyur 7e5399ce45 Added 'Scaleout differences' section (#8469)
Addresses https://github.com/aspnet/Docs/issues/7814

Saw this in one of the comments. So thought of adding it.

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/version-differences?view=aspnetcore-2.1&branch=pr-en-us-8469#scaleout-differences)
2018-09-10 13:52:39 -05:00
Andrew Stanton-Nurse 10f4d96f93 Fix sample snippet by adding async (#8480)
Noticed that this sample snippet doesn't have the `async` keyword or return a task in the middleware func, so it won't compile as-is. Added `async` since it's the easiest way to do this.
2018-09-10 12:22:25 -05:00
David Fowler dd507467f9
Fixed code sample (#8475)
Fixed code to retrieve the IHubContext from middleware
2018-09-10 07:28:11 -07:00
Joel Rodrigues d10fb0f151 Fixed port number (#8470) 2018-09-08 20:53:19 -05:00
Tom Dykstra 324443fc55
IP safelist - add Razor Pages filter to overview (#8452) 2018-09-07 13:51:19 -07:00
Scott Addie 329eabef95
Dedent code snippet to fix display (#8455)
Fixes https://github.com/aspnet/Docs/issues/8454
2018-09-07 15:44:03 -05:00
Scott Addie d385036170
Address Markdownlint warnings in RCL doc (#8453)
Fixes https://github.com/aspnet/Docs/issues/8451

Also addressed some other Markdownlint warnings while I was in there.
2018-09-07 13:30:36 -05:00
Luke Latham 21ff93de57
Update IP address format with note (#8449) 2018-09-07 12:26:20 -05:00
Cam Soper f64c0ce92b
Coverupdate (#8448)
DevOps book cover update
2018-09-07 11:42:48 -05:00
Luke Latham 2ddfa7c217
ConfigureKestrel updates (#8384) 2018-09-07 11:24:42 -05:00
Luke Latham 9955cd8c00
KnownProxies/Networks enhancements (#8432) 2018-09-06 15:14:02 -05:00
BrennanConroy 3cc9e7b5f0 Add note about changing KeepAliveInterval (#8404)
* Add note about changing KeepAliveInterval

https://github.com/aspnet/SignalR/issues/2905

* Update configuration.md

slight rewording.

* Verbiage tweak on SignalR Config doc's ServerTimeout setting
2018-09-06 15:03:15 -05:00
Luke Latham 04cdb602af
CORS topic updates (#8420) 2018-09-06 14:58:47 -05:00
Luke Latham 7ca977b256 Link to supported OSes (#8423)
Fixes #8421
2018-09-06 14:57:36 -05:00
Tom Dykstra 731208564d
IP safelist article (#8388) 2018-09-06 12:45:14 -07:00
Luke Latham 23d59d00dc
Change extensibility example (#8426) 2018-09-06 14:39:47 -05:00
Rick Anderson b626ecf411
order matters in adding services (#8437)
Fixes #8427
2018-09-06 12:37:33 -07:00
Luke Latham 89071cf0fb
App startup topic updates (#8422) 2018-09-06 14:09:51 -05:00
Mikael Mengistu 448b927ad9 SignalR Java Client Doc (#8314)
Fixes: https://github.com/aspnet/Docs/issues/8256

Just starting a PR for this. It's still early

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/java-client?view=aspnetcore-2.2&branch=pr-en-us-8314)
2018-09-06 09:57:58 -05:00
Luke Latham 131960ad98
Update EF extensions file name+location (#8425) 2018-09-06 09:52:08 -05:00
Luke Latham a79a244f40
Response caching middleware: Surface a namespace in example (#8424) 2018-09-06 09:51:49 -05:00
Jan Hajek 91253841a8 Remove misleading information about redirection defaults (#8390)
https://github.com/aspnet/Announcements/issues/301 for reference

@rick-anderson edit
Fixes #8402
Fixes #8408
[Internal review URL](https://review.docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-2.2&branch=pr-en-us-8390&tabs=visual-studio) If you get the error `The specified CGI application encountered an error and the server terminated the process.`:

* Clear cookie or 
* Open in an incognito window  or
* Try another browser.
2018-09-05 11:34:07 -07:00
Tom Dykstra f6d4595ba1
Add DotNetCliToolReference for scaffolding to CLI RP tutorial (#8403) 2018-09-05 10:47:05 -07:00
Rick Anderson 8f5b00318c
Update model.md (#8416)
Fixes #8305
2018-09-05 10:02:23 -07:00
Rick Anderson 87ae68a8e0
Update model.md 2018-09-05 09:41:45 -07:00
Cam Soper f736abe2c6 Minor corrections (#8377)
* Whoops - didn't mean to merge that to this branch!

* minor updates

* minor updates
2018-09-04 17:00:37 -07:00
John M. Wright 1e22e84fb8 the default model class is `ErrorViewModel`, not `ErrorModel` (#8376)
* the default model class is `ErrorViewModel`, not `ErrorModel`

You can see the correct name is already used the the code sample two sentences down

* Update error-handling.md
2018-09-04 16:59:41 -07:00
Tom Dykstra 0139937c5b Use LibMan in SignalR tutorial (#8370)
Fixes #8155
2018-09-04 11:45:15 -07:00
Rick Anderson c83800007e
Update identity.md (#8396)
* Update identity.md

* Update identity.md
2018-09-03 17:55:51 -07:00
Luke Latham ad03ec7840
Remove ref source links from topic (#8387) 2018-09-02 12:35:01 -05:00
Nikolai Vavilov ad3088f6ee Update validation.md (#8380) 2018-09-01 08:34:01 -05:00
Luke Latham defd5613f9
Hosting startup topic updates (#7678) 2018-08-31 11:54:45 -05:00
Luke Latham 327b2456ef
Persist addl claims+tokens w/ext providers (#8310) 2018-08-31 10:40:02 -05:00
Sebastian 52c1a08f6d Fix link to metapackage docs (#8364)
The line break in the markdown seems to break the link to further docs
2018-08-31 08:26:59 -05:00
Scott Addie 4fcf7d1d47
Add note about LibMan install relative path support (#8360)
Adds an example of using a relative path with `libman install --files`.
2018-08-30 15:46:53 -05:00
Rick Anderson e8294bf69e
Update intro.md 2018-08-30 12:44:35 -07:00
Rick Anderson 9d19ec4cfe
Update intro.md (#8341)
* Update intro.md

* Update intro.md
2018-08-30 12:42:59 -07:00
Rick Anderson 07705e5a7b
Update secure-data.md (#8325)
* Update secure-data.md

* Update secure-data.md

* Update secure-data.md
2018-08-30 12:42:27 -07:00
Luke Latham 3d2aabf7ea
Clarify when StartAsync is called (#8354) 2018-08-30 14:26:31 -05:00
Scott Addie b22bb01eb5
Add LibMan CLI doc (#8260)
* Add LibMan CLI doc

* Add missing --verbosity option

* More edits

* Add Arguments sections

* Move provider names to an include

* Rearrange options

* Verbiage tweaks

* Shorten verbiage

* Fix code snippet include

* Show command to uninstall filesystem library

* Verbiage tweak

* Verbiage tweaks

* React to feedback

* pre-release --> prerelease

* Add output for help command

* Address horizontal scrolling in help output

* Add libman init screenshot

* React to feedback

* Fix folder path

* Final tweaks
2018-08-30 14:20:06 -05:00
Luke Latham 554acbdf46 Remove tabs from cookie sharing topic (#8356)
Fixes #7794
2018-08-30 14:06:59 -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
Luke Latham 6e76381065
Azure Apps topic updates (#8342) 2018-08-30 12:13:25 -05:00
Rick Anderson d866f870e7
Update new-field.md 2018-08-29 12:59:25 -07:00
Luke Latham 3fca4e2e4b
Clarify ANCM stdout/stderr redirection remark (#8273) 2018-08-29 12:19:43 -05:00
Luke Latham e9798c7987
Clarify package for Status Code Pages Middleware (#8275) 2018-08-28 16:28:47 -05:00
Rick Anderson 571948f852
How to update ASP.NET Core (#8295)
Fixes #8296 
[Internal review URL](https://review.docs.microsoft.com/en-us/aspnet/core/fundamentals/metapackage-app?view=aspnetcore-2.1&branch=pr-en-us-8295)
2018-08-27 15:38:42 -07:00
Rick Anderson 6ac0d79fb0
2.1 update of secure user data (#7651)
- [x] Blocked until https://github.com/aspnet/Identity/issues/1813 bits (https://github.com/aspnet/Identity/pull/1832) are surfaced in 2.2 preview

Fixes #6290 
Fixes #7108
[Review URL](https://review.docs.microsoft.com/en-us/aspnet/core/security/authorization/secure-data?view=aspnetcore-2.1&branch=pr-en-us-7651)

@blowdart this is an upgrade to 2.1 with the following security changes:

* The project was generated with the 2.1 templates:
	* *Startup.cs* is based on the 2.1 version.
	* `AddDefaultIdentity` is used, replaced the template generated Identity 2.0 UI with the Identity 2.1 RCL.
* I fixed in the previous version where an unauthorized person could see details by hacking the URL. See [new code here](51f4712af6/aspnetcore/security/authorization/secure-data/samples/final2.1/Pages/Contacts/Details.cshtml.cs (L34-L44)).
* Uses 2.2 preview-1 because of https://github.com/aspnet/Identity/issues/1813

So it shouldn't require a full audit.
cc @joeaudette
2018-08-27 12:31:50 -07:00
Alec eb839ba7fb Add SQLite Nuget Package (#8290)
Resolution for issue: #7752
Verified on .Net Core 2.1.302
2018-08-27 12:11:45 -07:00
Isaac Levin 398f0948bf Identity Scaffolding creates empty Services folder 8233 (#8257)
Document fact that services are not generated when scaffolding Identity 
Fixes #8233 
[Internal review URL](https://review.docs.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identity?view=aspnetcore-2.1&branch=pr-en-us-8257&tabs=visual-studio)
2018-08-27 12:01:44 -07:00
Catalin Gavan faf47eb6a8 Update index.md (#8287)
* Update index.md

Hello! i updated Third-party logging providers, by adding KissLog.net as well. Thank you!

* Alphabetize list
2018-08-27 11:08:13 -05:00
Luke Latham 5ea97b8cbc
Middleware ext method namespace clarification (#8279) 2018-08-27 10:16:26 -05:00
Maira Wenzel 44fcfaeb02 metadata updates (#8264)
* metadata updates

* metadata update
2018-08-25 15:09:45 -07:00
Tom Dykstra cec215e284 SignalR tutorial: add npm link in procedural section (#8278)
Fixes #7643 which was already closed but had another comment added.
2018-08-25 15:08:22 -07:00
Luke Latham 23029771e6
Fix a local var name in two DI topic examples (#8276) 2018-08-25 10:35:58 -05:00
Luke Latham 87cbd8d51e
Configuration updates (#8050) 2018-08-24 14:10:45 -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
谭九鼎 708b6e4046
Fix code snippets 2018-08-23 22:52:23 +08:00