Pranav K
11aa616f3b
Add docs for CORS specify origins ( #9446 )
...
Fixes https://github.com/aspnet/Docs/issues/2386
2018-11-05 15:38:14 -06:00
Chris Ross
5a36291037
Add more Kestrel Http2 limits ( #9445 )
2018-11-05 11:23:25 -08:00
Tom Dykstra
c79fece1de
Add notes about availability of input formatter sample code ( #9403 )
...
Fixes #9394
2018-11-05 10:10:35 -08:00
Fiyaz Bin Hasan
df328de4f7
jquery xss vulnerability issue fix ( #9415 )
...
fix of issue [8482](https://github.com/aspnet/Docs/issues/8482 )
both 2.0 and 2.1 samples have been modified. please review/test before merging.
N.B: to be able to run the app, first you need to add the following two lines before `UseMvc()` in the startup. (since the same sample has been used to demostrate an interface less api and later used with a jquery ui).
`app.UseDefaultFiles();`
` app.UseStaticFiles();`
test case: try adding a self-running script in place of a name of a specific todo `<script>window.alert("I am vulnerable")</script>`
### Previously
![previously](https://user-images.githubusercontent.com/6568968/47953037-dcaf3a00-dfa1-11e8-8fc3-803be44aa432.png )
### After fix
![now](https://user-images.githubusercontent.com/6568968/47953047-08322480-dfa2-11e8-90b4-57847fb44251.png )
[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-2.1&branch=pr-en-us-9415#call-the-web-api-with-jquery )
2018-11-05 11:38:29 -06:00
Ahmed Yahia
4deafe3a36
Update index.md ( #9435 )
2018-11-05 07:41:23 -06:00
Ahmed Yahia
2d2cdb5b22
Update index.md ( #9429 )
2018-11-04 19:19:40 -06:00
Jakub Gutkowski
5762417b5f
removing used char ( #9428 )
2018-11-04 15:25:17 -06:00
Ahmed Yahia
77366bfe79
Update index.md ( #9417 )
2018-11-03 14:35:02 -05:00
Abbas M
6cef8ab96e
Simple grammar fix ( #9413 )
2018-11-03 09:48:23 -05:00
Rick Anderson
48b97f3851
Update signalr.md ( #9397 )
...
<!--
When creating a new PR, please do the following:
* Reference the issue number if there is one, e.g.:
Fixes #Issue_Number
The "Fixes #nnn" syntax in the PR description allows GitHub to automatically close the issue when this PR is merged.
NOTE: This is a comment; please type your descriptions above or below it.
-->
2018-11-02 13:46:42 -10:00
Tom Dykstra
48c83fb531
Fix swashbuckle node name ( #9389 )
...
Fixes #9381
<!--
When creating a new PR, please do the following:
* Reference the issue number if there is one, e.g.:
Fixes #Issue_Number
The "Fixes #nnn" syntax in the PR description allows GitHub to automatically close the issue when this PR is merged.
NOTE: This is a comment; please type your descriptions above or below it.
-->
2018-11-02 15:41:03 -05:00
Luke Latham
586a778e11
Replace missing JS file in sample app
2018-11-02 13:36:10 -05:00
Rick Anderson
100970349d
Update identity.md ( #9383 )
...
* Update identity.md
* Update identity.md
2018-11-01 15:06:04 -10:00
Ahmed Yahia
2322a32a54
Update index.md ( #9395 )
2018-11-01 19:39:32 -05:00
Luke Latham
47b1df5b89
Surface Nano Server content in Windows Auth topic ( #9392 )
...
Fixes #9212
<!--
When creating a new PR, please do the following:
* Reference the issue number if there is one, e.g.:
Fixes #Issue_Number
The "Fixes #nnn" syntax in the PR description allows GitHub to automatically close the issue when this PR is merged.
NOTE: This is a comment; please type your descriptions above or below it.
-->
2018-11-01 13:57:42 -10:00
Luke Latham
90d05ded84
Update path information for status code pages ( #9390 )
2018-11-01 18:13:04 -05:00
Ahmed Yahia
55c42642a6
Update index.md ( #9391 )
2018-11-01 17:42:30 -05:00
Ahmed Yahia
d04c2c7357
Update index.md ( #9385 )
2018-11-01 16:51:29 -05:00
Luke Latham
125029d646
Fix line that references ASP.NET Core servers ( #9382 )
2018-11-01 14:42:11 -05:00
Sean 'Doc' Rinehart
7a0805d6d9
Add a sample of a strongly-typed HubContext ( #9277 )
...
Fixes #8824
2018-11-01 14:18:56 -05:00
Rick Anderson
656aee0887
Add link to Integrated Terminal directions ( #9368 )
2018-11-01 08:31:34 -07:00
Kexy Biscuit
cc706dfbd9
Fix path for _Layout.cshtml ( #9350 )
...
* Fix path for _Layout.cshtml.
* Fix other links.
2018-10-31 14:28:28 -10:00
Rick Anderson
0ee6b101d9
delete map and min files ( #9310 )
2018-10-31 14:26:48 -10:00
Tom Dykstra
3a12dea45d
Add note about groups security ( #9361 )
...
Fixes #9349
2018-10-31 14:06:56 -07:00
Luke Latham
27beb311c7
Windows Services updates ( #9337 )
...
* Windows Services updates
* Note "domain" or "local machine"
* React to feedback
2018-10-31 10:46:13 -10:00
Abbas M
699ebb7af1
Removed redundant word ( #9362 )
...
Removed additional `for` under `Test ActionResult<T>` section
2018-10-31 10:20:10 -10:00
Nytiennzo Madooray
47c3fb750a
Small gramatical improvement ( #9359 )
2018-10-31 12:58:40 -05:00
Niladri Dutta
3b583593fb
use "SetClickTracking" method to disable clicktracking ( #9325 )
...
use `SetClickTracking` method instead of directly accessing the public property `TrackingSettings`.
Reference #9235
Related to #6268
2018-10-30 18:08:24 -10:00
Rick Anderson
c50cd53de6
restore azure PDF ( #9347 )
2018-10-30 13:24:36 -10:00
Scott Addie
fcf473f19a
Fix DocFX build warnings from retired index pages ( #9339 )
2018-10-30 15:48:01 -05:00
Rick Anderson
2922d040bd
Update validation.md ( #9316 )
...
* Update validation.md
* Update validation.md
2018-10-30 15:47:39 -05:00
Luke Latham
7ede6dfbd2
Add missing `await` to example code ( #9338 )
...
Fixes #9336
<!--
When creating a new PR, please do the following:
* Reference the issue number if there is one, e.g.:
Fixes #Issue_Number
The "Fixes #nnn" syntax in the PR description allows GitHub to automatically close the issue when this PR is merged.
NOTE: This is a comment; please type your descriptions above or below it.
-->
2018-10-30 15:41:28 -05:00
Scott Addie
fc1d9f663e
Remove 2.2 preview version text ( #9334 )
2018-10-30 10:27:24 -10:00
Scott Addie
3ce2a7821e
Fix broken installation bookmark ( #9331 )
2018-10-30 13:28:23 -05:00
SONG WONSEOK
ca1e5fba4e
Update cache-tag-helper.md ( #9311 )
...
Fixes #6971
<!--
When creating a new PR, please do the following:
* Reference the issue number if there is one, e.g.:
Fixes #Issue_Number
The "Fixes #nnn" syntax in the PR description allows GitHub to automatically close the issue when this PR is merged.
NOTE: This is a comment; please type your descriptions above or below it.
-->
2018-10-30 13:21:12 -05:00
Scott Addie
1021d7a298
Address casing of MacOS ( #9330 )
...
Change "MacOS" to the official casing of "macOS".
2018-10-30 13:15:11 -05:00
Scott Addie
55f0638c56
2.2 updates to web API doc ( #9303 )
...
Fixes https://github.com/aspnet/Docs/issues/9298
**Summary of Changes**
* Display the "Problem details" section for 2.2+ only
* Restore the missing `Startup.ConfigureServices` code snippets
* Genericize the compat flag language
* Use the `ConfigureApiBehaviorOptions` method for the 2.2 doc
* Add content for `[assembly: ApiController]` in the 2.2 doc
* Expand upon default response type returned for 400 status codes
* Added a solution file for the sample app to improve usability
* A quick UE pass
**Internal Review Pages**
* [2.2](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/?branch=pr-en-us-9303&view=aspnetcore-2.2#problem-details-responses-for-error-status-codes )
* [2.1](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/?branch=pr-en-us-9303&view=aspnetcore-2.1#problem-details-responses-for-error-status-codes )
* [2.0](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/?branch=pr-en-us-9303&view=aspnetcore-2.0#problem-details-responses-for-error-status-codes )
2018-10-30 13:01:52 -05:00
Luke Latham
18e3ebc975
Improve HTTPS config section of Windows Service topic ( #9169 )
2018-10-30 06:52:25 -05:00
Dave Brock
85fc3fd4d2
Remove Windows-dependent wording ( #9206 )
2018-10-29 15:13:44 -10:00
Rick Anderson
8f07f68dcc
Update adding_view2.md ( #9302 )
2018-10-29 15:04:10 -10:00
Dave Brock
93186d9c3d
Model fixes for VS Code document ( #9266 )
...
Fixes #8897 (this error tip was instructions for VS, not VS Code)
Fixes #8896 (no longer needed; see my comment in the issue)
Fixes #8766 (updates to document resolve this issue)
Fixes #8466
Fixes #7232
Fixes #7233
2018-10-29 15:03:45 -10:00
Rick Anderson
04867c4f17
Update authoring.md ( #9273 )
...
* Update authoring.md
* Update authoring.md
2018-10-29 14:57:19 -10:00
Luke Latham
eeba216eaf
Enforce HTTPS updates ( #9301 )
2018-10-29 19:56:41 -05:00
Rick Anderson
8523625611
remove PDFs ( #9312 )
...
Part of #9182
2018-10-29 14:54:58 -10:00
Rick Anderson
30c1b48128
Update routing.md ( #9240 )
...
* Update routing.md
* Update routing.md
* Update routing.md
2018-10-29 14:52:32 -10:00
Rick Anderson
a755bcb804
Update enforcing-ssl.md ( #9231 )
...
Fixes #7351
I tested on a clean 2.2 Preview 3 machine and a 2.1 RTM
2018-10-29 14:48:50 -10:00
Titu BG
c824a8f947
Added a link to the YouTube version of the tutorial ( #9300 )
2018-10-29 13:44:45 -10:00
Tom Dykstra
c7a80cd464
Add back to ToC dropped Get started tutorial ( #9305 )
...
[Internal review link](https://review.docs.microsoft.com/en-us/aspnet/core/getting-started/?view=aspnetcore-2.1&branch=pr-en-us-9305&tabs=windows )
2018-10-29 13:00:56 -10:00
Rick Anderson
375e422f2c
Update working-with-forms.md ( #9241 )
...
Fixes #3863
2018-10-29 10:51:44 -10:00
Tom Dykstra
53d3060df9
Additional cookie/bearer token auth info ( #9263 )
2018-10-29 12:32:46 -07:00
Tom Dykstra
1791c5c99d
clarify sticky session requirements ( #9253 )
2018-10-29 12:13:44 -07:00
Scott Addie
1d8c0fb4a6
Fix snippet type
2018-10-29 12:26:28 -05:00
Alfred Myers
2083734da1
Fixed typo on web-api/index.md ( #9293 )
2018-10-29 11:00:23 -05:00
Ahmed Yahia
8c842cd859
Update url-rewriting.md ( #9296 )
2018-10-29 10:54:23 -05:00
Antoine Griffard
e1fed9db54
Update Razor Pages ( #9295 )
...
Add 'as' in 'Mark page properties **as** required' to be clearer and avoid mistakes when translated.
2018-10-29 10:39:44 -05:00
Danilo Dantas
f53fb7d199
Providing a "Build an ASP.NET app in Azure" updated tutorial link ( #9284 )
2018-10-29 07:45:41 -05:00
Ahmed Yahia
67b1197098
Update url-rewriting.md ( #9290 )
2018-10-29 07:35:54 -05:00
Ahmed Yahia
58f5d7e66e
Update url-rewriting.md ( #9289 )
2018-10-29 07:31:20 -05:00
binarygalwalkin
a0ca1ab4f1
app-stat.md - added needed commas, corrected grammar. ( #9281 )
2018-10-29 07:29:54 -05:00
Dave Brock
854d3499a7
Link fix ( #9276 )
2018-10-28 17:35:26 -05:00
Tom Dykstra
b6ba3d220c
Table of Contents reorg ( #9133 )
...
* overview
* whats new to end
* fix migration node
* split fundamentals, move to end
* glob & loc, get started
* security node name
* security section
* azure, client-side, host
* several more sections
* redistribute tutorials
* proofread fixes
* move how to download section
* index files delete and redirect
* fix errors
* reorder some nodes
* scott feedback, flatten main tutorials node
* fix missed feedback items + other issues
* unflatten tutorials node
* move 'how to download'
* more tutorials node tweaks
* standardize view sample links
* db --> DB
* fix build error
* remove link from a parent node
* streamline node names
* xref links
* typos
* typo
* typos and revert some xref links
* scott feedback
* scott feedback
* feedback
* change node name
* safe storage-->protect
2018-10-26 18:34:40 -10:00
Sean Killeen
c42c6770cc
Update sample to reflect .NET Core 2.1 out of the box ( #9260 )
...
* Update sample to reflect .NET Core 2.1 out of the box
In support of https://github.com/aspnet/Docs/issues/8558
* Update line highlights for 2.1 sample
* Update _Layout21.cshtml
2018-10-26 17:38:48 -10:00
Scott Addie
cdff41e456
Add Razor SDK info to generated class section ( #9254 )
...
Fixes https://github.com/aspnet/Docs/issues/8839
**Internal Review Pages**
- [2.1+](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-2.1&branch=pr-en-us-9254#inspect-the-razor-c-class-generated-for-a-view )
- [<= 2.0](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-2.0&branch=pr-en-us-9254#inspect-the-razor-c-class-generated-for-a-view )
2018-10-26 16:17:43 -05:00
Charmis Varghese
0a25471bbf
Updated vary-by-query ( #9249 )
2018-10-26 11:51:37 -05:00
Andrew Stanton-Nurse
eb84aae5e4
Fix status code for WebSocket origin validation ( #9250 )
2018-10-26 11:47:35 -05:00
jenschristianschroder
3744fb6afc
Syntax fixes for index.md ( #9243 )
2018-10-26 08:02:55 -05:00
Mikael Mengistu
74c91c7029
Update TOC to reflect new SignalR Java client package name ( #9220 )
...
The current link 404s because we've updated the package name from `com.microsoft.aspnet.signalr` to `com.microsoft.signalr`
2018-10-25 21:08:48 -05:00
Mikael Mengistu
152b1a067c
Update Java API reference link ( #9227 )
...
Updating the link on the main Java docs page
2018-10-25 15:39:00 -10:00
Luke Latham
5704de168e
Implicit versioning of the All package ( #9223 )
...
Fixes #9219
@JunTaoLuo Dan calls out the implicit versioning "for 2.1 SDK or later;" however, we don't usually version the doc content by SDK release. We might need to say something for this update in the passage that I'm adding to the All topic (*aspnetcore/fundamentals/metapackage.md*) about which SDK version this applies to. I don't know if that's something that you would like to do or what version to call out.
I also remove the version from the samples. We also assume that devs are using the latest SDK with our samples.
2018-10-25 15:16:50 -10:00
Rick Anderson
57b456a9b2
Update signalr.md ( #9187 )
...
* Update signalr.md
* Update signalr.md
2018-10-25 13:14:21 -10:00
Luke Latham
2151d98831
Link to the hosting bundle installer section and section update ( #9109 )
2018-10-25 16:25:16 -05:00
Luke Latham
1e59c5d7ef
Update link to DP reg keys provisioning script ( #9174 )
2018-10-25 15:36:28 -05:00
Scott Addie
29f0f58eb0
Replace backtick with apostrophe
2018-10-25 15:24:25 -05:00
Luke Latham
24290e78f8
Change tokens link updates ( #9222 )
...
Fixes #9221
2018-10-25 14:22:24 -05:00
Dave Brock
66119b9a1d
Changed to reflect default json file ( #9215 )
...
While going through [this topic](https://docs.microsoft.com/en-us/aspnet/core/tutorials/razor-pages-vsc/model?view=aspnetcore-2.1 ), I noticed that the *appsettings.json* file that is shipped with the template is different now. I updated it. With the change, the highlighted lines do not change - a nice surprise.
2018-10-25 14:19:06 -05:00
Luke Latham
ca299155ca
Fix versioning and UE pass ( #9218 )
...
Fixes #9217
Came to fix versioning ... there was a build warning on another PR.
It looks like the whole topic should be versioned >=2.1, so that's what I did.
2018-10-25 13:54:32 -05:00
Luke Latham
949014cb93
Surface bootstrapping of Program.Main ( #9173 )
2018-10-25 13:26:28 -05:00
Jeffrey Rennie
95a56d0d82
List Stackdriver under Third-party logging providers ( #9196 )
...
List Stackdriver under Third-party logging providers.
2018-10-25 12:19:59 -05:00
Dave Brock
f5e391e6de
Added DI link ( #9208 )
...
* Added DI link
* Updating based on Addie's comments
* Link fix
2018-10-25 10:34:53 -05:00
Dave Brock
2b5cc52e27
Search improvements for RP version ( #9120 )
...
I moved the new model props at the top, so that we could include the `SearchString` before moving on to other parts of the document.
Fixes #8001
2018-10-24 14:27:48 -10:00
Pranav K
9c91d557c9
Add docs for ProblemDetails response filter ( #9130 )
...
* Add docs for ProblemDetails response filter
* UE edits to problem details (#9152 )
[review URL](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/index?view=aspnetcore-2.2&branch=pr-en-us-9152 )
2018-10-24 13:17:57 -10:00
Dave Brock
e4a189b59f
Specified where attributes can be applied ( #9204 )
...
Fixes #8574
2018-10-24 13:16:43 -10:00
Luke Latham
995514ffcb
Update All package ref content ( #9203 )
...
Fixes #5314
2018-10-24 11:22:14 -10:00
Luke Latham
36d5f816b2
Update Distributed cache topic+sample ( #9129 )
2018-10-24 16:13:31 -05:00
Rick Anderson
16d605fc00
consistent Razor ( #9151 )
...
Fixes #9136
2018-10-24 10:26:49 -10:00
Luke Latham
7120a2f985
Azure Apps troubleshooting title change ( #9199 )
2018-10-24 14:26:16 -05:00
Rahul Bansal
68146c76a2
Update site.js ( #9192 )
...
Fixes #9150
The result from getData function (in site.js) gets cached so after Add, Edit and Delete operations it shows the same data in the HTML table. So its better to add "cache:false" option to ajax call inside the getData function.
2018-10-24 14:08:28 -05:00
Scott Addie
30379eebdf
Fix xref link build warnings ( #9202 )
...
Fix 2 build warnings
2018-10-24 13:46:10 -05:00
Mark Iannucci
0c31645670
Added link to the specific file in question in case someone else is c… ( #9185 )
...
…onfused about the particular file in question, like I was
2018-10-23 16:23:22 -10:00
Rick Anderson
076f50dc94
explain ~ ( #9121 )
...
* explain ~
* Minor tweaks
* Minor tweak
* react to feedback
* Update index.md
* Update static-files.md
* react to feedback
2018-10-23 14:58:52 -10:00
Luke Latham
369a25bb72
ANCM: Detect client disconnects and logging ( #9180 )
2018-10-23 18:34:51 -05:00
Mikael Mengistu
53c2f99e28
Merge pull request #9177 from aspnet/mikaelm12/AddAPIRefLink
...
Update TOC to have the .NET Client API reference.
2018-10-23 16:27:54 -07:00
Mikael Mengistu
42ddb73896
Pr feedback
2018-10-23 15:33:47 -07:00
Rick Anderson
44f13b16eb
update to 2.1 ( #9178 )
2018-10-23 09:58:50 -10:00
Mikael Mengistu
32a32d349b
Update TOC to have the .NET Client API reference.
2018-10-23 11:09:05 -07:00
Luke Latham
a5b3914bb7
Enforcing HTTPS enhancements ( #9044 )
2018-10-23 13:03:36 -05:00
Tom Dykstra
967d89adba
remove "both" ( #9170 )
2018-10-23 09:52:53 -07:00
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