Commit Graph

5574 Commits (d3d96d1cc127a0a1533244d929a09a20a266928f)

Author SHA1 Message Date
Rachel Appel d3d96d1cc1 index update .net client (#6602) 2018-05-25 12:24:51 -10:00
Rick Anderson 8f0544fe37
Update index.md 2018-05-25 11:48:16 -10:00
Scott Addie c5b861bcc8
Display SPA docs for 2.0+ and display banners for 2.0 ONLY (#6604)
Fixes https://github.com/aspnet/Docs/issues/6603

**Changes**:
- Make the SPA template docs available for ASP.NET Core 2.0+ only
- Display the template inclusion banner in each doc for 2.0 only

**Internal Review Pages**:
- [ASP.NET Core 2.0](https://review.docs.microsoft.com/en-us/aspnet/core/spa/?branch=pr-en-us-6604&view=aspnetcore-2.0)
- [ASP.NET Core 2.1](https://review.docs.microsoft.com/en-us/aspnet/core/spa/?branch=pr-en-us-6604&view=aspnetcore-2.1)
2018-05-25 14:05:43 -05:00
Andrew Stanton-Nurse 0d724b5c7b update SignalR getting started sample to RC1 (#6597)
We missed a file in the earlier update! 😄 

Also, the ES5 version seemed to be out of date and was missing the `.start` call.
2018-05-25 11:43:08 -05:00
Luke Latham 32b5550281
Fix Kestrel topic code sample (#6595) 2018-05-25 10:01:07 -05:00
Luke Latham 828a9d8e77
Protect DP keys with Key Vault (#6483) 2018-05-25 09:48:32 -05:00
Luke Latham c4c5400bad
Add Generic Host sample to the Background Tasks topic (#6484) 2018-05-25 09:47:11 -05:00
Luke Latham 94cdc234c6 Fix certificate requirement include bug (#6585) 2018-05-24 14:42:19 -10:00
Scott Addie af01db7b0f
Merge pull request #6580 from thmslearning/patch-1
Fixes a 't' character code-tag omission typo
2018-05-24 13:59:45 -05:00
thmslearning 3429b3f7c6
Fixes a 't' character code-tag omission typo 2018-05-24 11:22:26 -07:00
Scott Addie 5ffd62e9c6
Clarify SDK version containing Secret Manager tool (#6564)
Fixes https://github.com/aspnet/Docs/issues/6523

**Changes**
- Display the **Install the Secret Manager tool** section for all versions of ASP.NET Core, since it's not safe to assume the .NET Core SDK version being used.
- Include the specific SDK version number which includes the Secret Manager tool
- Add note about tool warning

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/security/app-secrets?branch=pr-en-us-6564&view=aspnetcore-2.0&tabs=windows#install-the-secret-manager-tool)
2018-05-24 08:48:19 -05:00
Luke Latham f809c37a45
Update Hosting Bundle instruction (#6567) 2018-05-23 19:52:08 -05:00
Luke Latham 5d4652a3b5
Drop recommendation for reverse proxy with Kestrel (#6537) 2018-05-23 17:12:33 -05:00
Rick Anderson 7807a513bc
Update gdpr.md (#6558) 2018-05-23 10:37:16 -10:00
Caro Caserio 9e119a1a92 C19395: Missing hyperlink due to incorrect format (#6551)
Hello, @jrjlee,

Localization team has reported source content issue that causes localized version to have broken format compared to en-us version.  
 
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-05-23 07:58:25 -10:00
reyou 752c866d3c JSNLog url changed to github link (#6542) 2018-05-23 12:53:31 -05:00
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