Commit Graph

3472 Commits (809ca4fc37171fb340a60ca3c63b1eb294c44128)

Author SHA1 Message Date
Rick Anderson 809ca4fc37 Update first-web-api.md 2017-08-30 15:57:22 -07:00
Luke Latham 275a5381b6 Rename "sample62.css" to "sample62.cs" (#4138)
Replaces #4090
2017-08-30 08:43:57 -07:00
Luke Latham cce0539737 Update WatchConsole sample (#4139)
Addresses #1950

This starts the process of dealing with the issue. More PRs to come!
2017-08-30 08:43:24 -07:00
Luke Latham 5e7d6a2be8 Update ResponseFormattingSample app (#4140)
Addresses #1950

AFAICT you can't specify the global format filter as the live sample
does ... removing that line results in a properly functioning sample. It
returns both XML or JSON depending on the Accepts header; otherwise, it
(the live sample) only ever returns XML.

Sample updates
2017-08-30 08:42:20 -07:00
Luke Latham 5d641ee2cb Update ValidationSample app (#4146)
Fixes #1950

* Upgrades sample to 2.0 with minor fixes
* No significant changes made to the topic
2017-08-30 08:40:35 -07:00
Luke Latham 6b4fcd5365 Drop CodeSnippets sample (#4147)
Addresses #1950

AFAICT this sample is no longer used anywhere in the topics.
2017-08-30 08:39:29 -07:00
Luke Latham 90570653d4 Drop ConsoleApp1 and ClassLibrary1 samples (#4148)
Addresses #1950

These also look to be unused anywhere in the topics. Dropping also drops
a few more nasty `dnxcore50` references.
2017-08-30 08:35:26 -07:00
Luke Latham 3a0264a639 Drop Bundling+Minification sample (#4149)
Addresses #1950

AFAICT there's no reason to keep the old sample merely to show the
\<environment> tag helpers of the `_Layout.cshtml` file. Those tags are
in the new sample for the topic.
2017-08-30 08:33:40 -07:00
Bader Nasser Al-Hashmi 2d55d9a201 Add missing `<tr>` to snippet (#4150) 2017-08-30 08:31:48 -07:00
Cash Wu 1db592cd8f fix markdown error (#4141) 2017-08-29 09:06:18 -05:00
Tom 72783b218c Fix dead StackExchange.Redis link (#4142) 2017-08-29 09:02:50 -05:00
Rick Anderson d9ec19e545 macOS and Code version of intro to RP (#4037)
* macOS version of intro to RP

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* Changes to Razor Pages on macOS and VS Code (#4081)

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* fix

* fix

* fix

* fix
2017-08-28 19:54:12 -04:00
Rick Anderson d9e2c99c83 mac/xplat intro to mvc, update to 2.0 (#4131)
* mac/xplat intro to mvc, update to 2.0

* mac/xplat intro to mvc, update to 2.0

* fix

* fix

* fix

* fix

* fix

* fix
2017-08-28 16:30:32 -04:00
Wilka Hudson 8cafdd1dd4 Added generic param on AddEntityFrameworkStores (#4124)
The 2.0 version of AddEntityFrameworkStores still needs the DbContext type
2017-08-28 13:21:42 -05:00
Scott Addie abb2bb3228 TOC updates to Migration node (#4129) 2017-08-28 11:12:40 -05:00
Andrii Chebukin 30770c2fc1 Very important note about URL format (#4120)
* Very important note about URL format

I spent 4 hours finding what is wrong!
If you can you must highlight it with red font

* Update cors.md

* Update cors.md
2017-08-28 12:09:55 -04:00
Rick Anderson 3fddc2f2a7 Update middleware.md (#4130)
* Update middleware.md

* Update middleware.md
2017-08-28 11:48:12 -04:00
Isaac Levin 22ed8e662f [WIP] Migration Document for ASP.Net Framework to ASP.Net Core 2.0 (#3897)
* Create mvc2.md

Added temp file to house doc requested in #3809

* Initial outline of document

* Added Note for Special Tooling (VS 2017 Preview 3)

Will remove when Preview 3 is updated into Release

* Added Porting Link

* Added Core DI Sample

* added DI Section

* Added Storing Configuration Settings Section

* Adding Custom Settings samples

* part of static content

* static content section

* .net standard section

* Adding Edit in VS 2017 Image

* Samples for Startup

* startup and csproj section

* update image reference

* Updates to Migration Doc

changes per @scottaddie

* Final round of changes

Please review

* Edits

* Fix invalid xref link

* More edits

* More edits

* More edits

* More edits

* More edits

* More edits

* Move Content to different directory

* Update Code Sample Links

* change sample location

* ::

* Update Sample Filenames

* Minor edit

* Remove extra space

* More edits

* Move Static Folder

* update reference to image

* Update mvc2.md

* Minor tweaks

* Changes to sample file

* Change copy for Configuration Section

* Fix code formatting

* Remove extra line feed

* Remove extra line feed
2017-08-28 09:14:58 -05:00
Bader Nasser Al-Hashmi 68495cc2a0 Fix snippet range (#4126) 2017-08-28 09:08:29 -05:00
Rick Anderson 3273675dad Update first-web-api-mac.md 2017-08-28 01:43:49 -04:00
Gareth Matthews c186445941 Namespace fix (#4122) 2017-08-27 11:44:00 -04:00
xela30 ee5839b745 Update sample8.cs (#4123) 2017-08-27 11:42:54 -04:00
Bader Nasser Al-Hashmi def90564ef Escape another < (#4113) 2017-08-26 13:05:59 -04:00
Bader Nasser Al-Hashmi 1ca23a41c1 Add a missing ) (#4117) 2017-08-26 12:58:51 -04:00
Jan Hecht 1345e14b36 add closing quotation marks (#4118) 2017-08-26 12:57:50 -04:00
Rick Anderson 64175ac133 Update adding-model3.md (#4115) 2017-08-26 12:52:45 -04:00
Steven Moschidis 74e22e08e3 "fix" code sample (#4061)
* "fix" code sample

* Update views.md

* Update views.md
2017-08-25 17:01:21 -04:00
Bader Nasser Al-Hashmi fa4fc02626 Remove extra text (#4111) 2017-08-25 15:16:15 -05:00
Scott Addie b3399086db 2.0 updates for social auth (#4096)
* 2.0 updates for social auth

* Clarify AddAuthentication usage
2017-08-25 15:12:32 -05:00
Rick Anderson 82255a4cd9 fix API for V2 (#4110) 2017-08-25 15:16:18 -04:00
Luke Latham 1c1be22f1b Replace HttpSys with HTTP.sys (#4105)
* Replace HttpSys with HTTP.sys

Fixes #4099

* Title fix
2017-08-25 15:13:13 -04:00
Bader Nasser Al-Hashmi 2cfae19cdb Use `nameof` instead of magic strings in the samples (#4100) 2017-08-25 15:11:14 -04:00
Bader Nasser Al-Hashmi 663d492fe8 Escape < (#4109) 2017-08-25 15:10:14 -04:00
Bader Nasser Al-Hashmi dfd6af48cf Change code range to hide `#endif` in tutorial (#4107) 2017-08-25 13:34:19 -05:00
Scott Addie 56e4fc3567 Add EF Core Migrations foreign keys configuration (#4068)
* Add EF Core Migrations foreign keys configuration

* Implement Hao's feedback
2017-08-25 12:40:15 -05:00
Bader Nasser Al-Hashmi 2d64bccd83 Remove redundant bootstrap class (#4104) 2017-08-25 11:09:05 -05:00
Scott Addie 8d39e02aa2 Add missing hyphen and comma 2017-08-25 09:57:25 -05:00
Brock Allen 720e14af4c Update community.md (#4103)
Removing non-OSS providers
2017-08-25 09:52:48 -05:00
Scott Addie bd05f7ea8f Remove xrefs from TOC nodes 2017-08-24 15:42:16 -05:00
Scott Addie c223bfef12 Remove xref from TOC node 2017-08-24 14:51:26 -05:00
Scott Addie 57bf0dd403 Fix XML code snippets 2017-08-24 13:51:54 -05:00
Luke Latham f6333f838a Fixes #4089
* Reverse tab order in topics with tabs (2.x first)

Fixes #4089

* Escape to the stars!

* Escape to the stars ... again!
2017-08-24 12:36:42 -05:00
Bader Nasser Al-Hashmi 1c7f573512 Remove unnecessary wrench symbol (#4094) 2017-08-24 10:54:02 -05:00
Scott Addie bdf10eb010 Fixes #3991 2017-08-24 10:35:33 -05:00
mzohrab 8ded884b6c Please change "!code-css" to "!code-csharp" (#4091)
File syntax is "C#" but named as "CSS"
2017-08-24 10:04:34 -04:00
Rick Anderson e6a8f171f2 update to 2.0 SDK (#4080)
* update to 2.0 SDK

* fix

* fix
2017-08-23 17:27:35 -04:00
Scott Addie c54da960c6 Minor tweaks to Authoring Tag Helpers doc (#4084) 2017-08-23 17:07:11 -04:00
Scott Addie b94e44e44f ASP.NET MVC Core --> ASP.NET Core MVC 2017-08-23 12:08:45 -05:00
Luke Latham 70089de5bf Update Azure Key Vault Config Provider topic and sample (#3896)
* [WIP] Update Azure Key Vault Config Provider topic and sample

@Rick-Anderson @tdykstra Would you mind marking this **WIP** right now.
I'll need to make a few passes on it prior to getting review underway.

cc/ @anurse (partner in crime on this topic), @blowdart, @pakrym,
@olavt, @Coderrob

Fixes #3369

:flame: *HOT!* :flame: updates in this one:
* 2.0 samples added (note that tabs aren't required, because the topic's
examples are the same thus far across 1.x and 2.x). However, the 1.1 and
2.0 samples are linked when mentioning to the reader what they can
download.
* Re-organized the topic a bit to accomodate the two samples.
* Reacted to the feedback in #3369 and the discussion in
https://github.com/aspnet/Docs/pull/3525.
* Samples are refactored into an example of placing secrets into a
single key vault for different app *versions*, not app names. Using app
names or the environment isn't a security best practice.

Update

Update

Updates

Updates

Update

Updates

Update

Updates

Updates

* Condition the ItemGroup for netcoreapp2.0

* React to feedback

* Update version references and sample folders

Add one

Minor text change

More minor changes

Even better

One more

* Remove dependency statement

* Update net462 deps

* Even better!

* Reverse order for 2.x tab first

* Update 2.0 samples: Only target netcoreapp
2017-08-23 11:30:39 -04:00
Luke Latham 135b5357ce Response Caching Middleware topic updates for 2.0 (#4020)
* Updates for 2.0

Updates

Update

Updates

Updates

Updates

* Update middleware.md

* Update middleware.md

* React to feedback

* React to feedback

* Fix

* React to feedback
2017-08-23 11:30:20 -04:00