Commit Graph

5558 Commits (ef2bee10ebc656de9b1b24c2bbb5db10794bf3fa)

Author SHA1 Message Date
Caro Caserio ef2bee10eb CC56645: Update memory.md (#6552) 2018-05-23 10:26:28 -05:00
Luke Latham b9343fbc53
Update host on Linux with Nginx (#5687) 2018-05-23 09:57:43 -05:00
Rick Anderson f22716b4ee
Update README.md (#6546) 2018-05-22 17:52:42 -10:00
Rick Anderson 04249ce537
Update toc.md 2018-05-22 17:15:37 -10:00
Rick Anderson 26c7934e67
New doc: GDPR support in ASP.NET Core (#6516)
* GDPR templates

* work

* work

* work

* work

* work

* work

* react to feedback

* react to feedback

* react to feedback
2018-05-22 17:09:19 -10:00
Rachel Appel a7ba116557
SignalR .NET Client (#6200)
* SignalR .NET Client

* minor changes

* rc1 updates;fixes;etc

* fixes from scott feedback

* dfowler changes

* code fix

* feedback mods

* remove highlight
2018-05-22 23:01:53 +01:00
Luke Latham b9c408f82a App secrets update (#6528)
Fixes #6523

[Internal Review Topic](https://review.docs.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-1.0&branch=pr-en-us-6528)

Tiny nits in the app secrets update: "or later" and a couple of comma splices.

What I wrote for another version of this was more explicit. I'm concerned that the current version doesn't tell devs exactly why/how `AddUserSecrets` is added, and it doesn't say that if `CreateDefaultBuilder` isn't used that they'll still need to do it manually.

Starting with ...

> \- Add the user secrets configuration source to the `Startup` constructor:

> Add the user secrets configuration source with a call to \[AddUserSecrets](/dotnet/api/microsoft.extensions.configuration.usersecretsconfigurationextensions.addusersecrets) in the `Startup` constructor:
>
> \[!code-csharp\[](app-secrets/samples/1.1/UserSecrets/Startup.cs?name=snippet_StartupConstructor&highlight=5-8)]
> ::: moniker-end
> ::: moniker range=">= aspnetcore-2.0"
> When a project calls \[CreateDefaultBuilder](/dotnet/api/microsoft.aspnetcore.webhost.createdefaultbuilder) to initialize a new instance of the host with preconfigured defaults, \[AddUserSecrets](/dotnet/api/microsoft.extensions.configuration.usersecretsconfigurationextensions.addusersecrets) is called when the \[EnvironmentName](/dotnet/api/microsoft.aspnetcore.hosting.ihostingenvironment.environmentname) is \[Development](/dotnet/api/microsoft.aspnetcore.hosting.environmentname.development):
>
> \[!code-csharp\[](app-secrets/samples/2.1/UserSecrets/Program.cs?name=snippet_CreateWebHostBuilder&highlight=2)]
>
> When `CreateDefaultBuilder` isn't called during host construction, add the user secrets configuration source with a call to \[AddUserSecrets](/dotnet/api/microsoft.extensions.configuration.usersecretsconfigurationextensions.addusersecrets) in the `Startup` constructor:
>
> \[!code-csharp\[](app-secrets/samples/1.1/UserSecrets/Startup.cs?name=snippet_StartupConstructor&highlight=5-8)]
> ::: moniker-end

Snippet the call to `CreateDefaultBuilder` to show it (line 2 is highlighted) ...

```csharp
#region snippet_CreateWebHostBuilder
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
    WebHost.CreateDefaultBuilder(args)
        .UseStartup<Startup>();
#endregion
```

... and the sample naming issue remains ("1.1" and "2.1" instead of "1.x" and "2.x").

If anything here looks good, I can mod this branch to make additional updates. Otherwise, nevermind. Just spit-ball'in here.
2018-05-22 13:43:02 -05:00
Rachel Appel 1afa74c559
remove browserlink; update sample (#6532) 2018-05-22 16:49:08 +01:00
nopara73 f567d0328e Fix format (#6513) 2018-05-21 22:57:23 -05:00
Luke Latham f01da69c80
Add extension overload note to change the display name (#6504) 2018-05-21 14:36:42 -05:00
Scott Addie dcb9629777
Merge pull request #6488 from aspnet/scottaddie/usersecrets-access-patch
Add note about AddUserSecrets in 2.x
2018-05-21 09:39:58 -05:00
Luke Latham ea764e1dd9
Add TH links to TOC (#6508) 2018-05-21 09:36:00 -05:00
Luke Latham d95fa4b7e4
Repair broken link (#6512) 2018-05-21 07:49:21 -05:00
Antoine Griffard 2664d41668 create-an-aspnet-mvc-5-web-app-with-email-confirmation-and-password-reset (#6496) 2018-05-19 18:49:04 -05:00
Swanand Pangam 6f97f94dbe Update media-formatters.md (#6498) 2018-05-19 18:45:34 -05:00
Scott Addie 8594f2be8e Add note about AddUserSecrets in 2.x 2018-05-18 15:01:17 -05:00
Rick Anderson ae2499d47f
Update model.md (#6485)
* Update model.md

* Update model.md
2018-05-18 09:28:07 -10:00
Luke Latham 8e8824e0d2 Link ConfigureServices text to app startup content (#6480) 2018-05-18 07:24:37 -10:00
Luke Latham 57e676a702
Remove Samples (uppercase) folder (#6479) 2018-05-18 10:35:48 -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
Luke Latham 876849285c
Change sample folder casing (#6475) 2018-05-18 10:06:43 -05:00
Michael DePouw 4c8ea3b7e4 Add reference to RequireAssertion() (#6473) 2018-05-18 09:57:26 -05:00
Scott Addie 7d10c9d88b
Add Internet Explorer note to Windows web API tutorial (#6466)
* Add note regarding IE download of JSON output

* Change verbiage
2018-05-17 16:34:09 -05:00
Scott Addie 979a70c830
Add OS tabs to user secrets doc (#6460)
* Add OS tabs to user secrets doc

* Add commas

* Indent tabbed content

* Add line breaks
2018-05-17 11:21:33 -05:00
Ben Gribaudo e19046df13 Clarifying TempData cookie encryption (#6446)
* Clarifying TempData cookie encryption

Current wording suggests the possibilty that `Base64UrlTextEncoder` is both encoding and encrypting `TempData`'s cookie data. Clarifying that encryption is handled by a different (and more appropriate) class.

* Removing a "the"

* Minor edits
2018-05-17 10:39:42 -05:00
Luke Latham 0bc6730cfd Remove triple-tildes from aspnet topics (#6451)
Updates
2018-05-17 10:34:44 -05:00
Jaydeep Karena bc67c5a6c6 removed a non working link (#6457) 2018-05-17 07:27:25 -05:00
Rick Anderson a717cc215e
Update metapackage-app.md (#6455) 2018-05-16 19:30:44 -10:00
Rick Anderson 9bd16dc3d7
Update scaffold-identity.md (#6454)
* Update scaffold-identity.md

* Update scaffold-identity.md

* Update scaffold-identity.md
2018-05-16 15:39:48 -10:00
Scott Addie 8d6d49eb3b Update user secrets doc to 2.x (#6373)
* Update user secrets doc to 2.x

* Introduce another section for adding secrets

* More changes

* More changes

* Add CLI output

* Document more CLI command options

* Add installation note about .NET Core SDK 2.1

* More changes

* Indent code snippets within tabs

* Dedent code snippets

* Add code sample for AddEnvironmentVariables

* Fix code import

* Move text

* Improve examples

* Consolidate csproj files

* Add string replacement section

* Fix code snippet types

* Minor tweaks

* More changes

* Swap ordering of sections

* Move help command out of tabs

* Simplify installation instructions

* Indent command

* Simplification

* More simplification

* React to feedback
2018-05-16 13:33:38 -10:00
Rick Anderson 5fb06ed4fd
Update toc.md (#6449) 2018-05-16 13:30:02 -10:00
Rick Anderson 370d6b8e03
Update id-scaffold-dlg-auth.md (#6452) 2018-05-16 13:29:16 -10:00
Rick Anderson 9b7a1fa89f
Update scaffold-identity.md (#6450) 2018-05-16 13:25:54 -10:00
Rick Anderson 06ef373551
Identity Scaffolder (#6201)
* Identity Scaffolder

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work
2018-05-16 13:12:09 -10:00
Luke Latham ff8cbbf31c Add HTTPS setup instructions for IIS Dev scenario (#6415)
* Add HTTPS setup instructions for IIS Dev scenario

Updates

Updates

* Cross-link to Enforcing SSL topic

* React to feedback
2018-05-16 16:10:00 -05:00
Luke Latham 7c30c9bdf7
Host updates (Generic Host topic) (#6428) 2018-05-16 16:09:24 -05:00
Rick Anderson 584c2838d5
partial warning (#6435)
* partial warning

* partial warning

* Update troubleshoot.md
2018-05-16 08:25:13 -10:00
Rick Anderson d2bd6f2049
Add M.A.App to TOC (#6432)
* Add M.A.App to TOC

* Add M.A.App to TOC
2018-05-15 18:38:32 -10:00
Rick Anderson 694784c90c
Microsoft.AspNetCore.App metapackage (#6069)
* Microsoft.AspNetCore.App metapackage

* work

* work

* version number

* work

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback
2018-05-15 18:06:28 -10:00
Caro Caserio d00c2d37a7 C13511: Incorrect ~~~ placed (#6426) 2018-05-15 11:25:53 -05:00
wooleyra 4a6c13dd8a Capitalize search string 'Ghost' in URL segment (#6421)
Since the searching method in SQLite is case-sensative, the example should pass the search string in the correct case.
2018-05-14 18:17:22 -10:00
Rick Anderson 8e628b423c
Update read-related-data.md (#6413) 2018-05-14 16:28:59 -10:00
Alfred Myers 371b27fc19 Updated link from MSDN to docs (#6419) 2018-05-14 19:22:39 -05:00
CodeNotFound d3814fe891 Those methods are not defined at the Hub class (#6397)
* Those methods are not defined at the Hub class

The methods below aren't defined at the Hub class but accessible through Clients property like the first three properties (All, Caller, Others) :

| `AllExcept` | Calls a method on all connected clients except for the specified connections |
| `Client` | Calls a method on a specific connected client |
| `Clients` | Calls a method on specific connected clients |
| `Group` | Sends a message to all connections in the specified group  |
| `GroupExcept` | Sends a message to all connections in the specified group, except the specified connections |
| `Groups` | Sends a message to multiple groups of connections  |
| `OthersInGroup` | Sends a message to a group of connections, excluding the client that invoked the hub method  |
| `User` | Sends a message to all connections associated with a specific user |
| `Users` | Sends a message to all connections associated with the specified users |

So I think it might good to move all those methods description to the first table whic talk about `Clients` property.

* Update hubs.md

Revert to two tables but, for the second table, we specify where the methods come from `Hub.Clients` property.
2018-05-14 21:48:58 +01:00
Caro Caserio 019872914a CC56109: Extra spaces to avoid loc issues (#6409)
* CC56109: Extra spaces to avoid loc issues 

Hello, @Rick-Anderson,

This proposed file change comes from https://github.com/aspnet/Docs.ja-jp/pull/29/files. 
Could you review this contribution and help to merge if agreed?

Many thanks in advance.

* Update model2.md

* Remove extra space
2018-05-14 12:46:29 -05:00
CodeNotFound fbe07fe9ab Update Index.cshtml (#6390) 2018-05-14 17:36:58 +01:00
Luke Latham 7d9b750349 Quote appid param values (#6406) 2018-05-14 09:34:12 -05:00
Joseph Garrone 16012c7621 Add missing quotation mark to ssl binding command (#6403) 2018-05-14 07:05:53 -05:00
Luke Latham ddd7928c57 Update image (#6393) 2018-05-12 14:00:12 -10:00
user135711 52eccf2ff1 fix null ptr (#6396) 2018-05-12 13:59:25 -10:00