Commit Graph

6769 Commits (af27696750c0e92a3722d458d09430638e880b11)

Author SHA1 Message Date
Luke Latham af27696750 Update 'Static Files Middleware' (#9421)
Fixes #9420

The correct name includes "File" (singular).

Ref: https://docs.microsoft.com/dotnet/api/microsoft.aspnetcore.staticfiles.staticfilemiddleware
2018-11-10 09:13:27 -10:00
Luke Latham 6f3bdb8a4c Clarify use of preprocessor directives with samps (#9544)
Fixes #9470 

[Internal Review Topic (How to download a sample section)](https://review.docs.microsoft.com/en-us/aspnet/core/index?view=aspnetcore-1.0&branch=pr-en-us-9544#how-to-download-a-sample)

I'm not very trusting of  *Magic Build Systems* . I usually encode reserved DocFX characters outside of code-fenced content ... *they'll **never** break this way no matter what the build system thinks about them*.

If you prefer that I go with either a backslash (safe) or roll the 🎲🎲 and use unencoded chars with build system processing trust, let me know which alternate way you would like to go. Again, my approach is **_bulletproof_**.

Thanks @rswetnam! 🚀
2018-11-10 09:04:16 -10:00
Luke Latham ae2fe91c1a Link topic sample into the RP file uploads topic (#9543)
Fixes #9482 

Thanks @jhealy! 🚀
2018-11-10 09:01:18 -10:00
Rick Anderson 1b2730ca76
Update rp-over-mvc-21.md (#9535) 2018-11-09 11:29:45 -10:00
Rick Anderson 08fff61fef
RP vs MVC tutorial (#9486)
* RP vs MVC tutorial

* Update razor.md

* Update razor.md

* Update razor.md
2018-11-09 09:13:58 -10:00
Daniel Abbatt 4fa8d9f652 Docs: Mentioned that the Controller name replacement is by convention (#9493)
Making it a bit clearer that the [controller] name replacement of MyNameController is by naming convention.



<!--
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-09 09:11:40 -10:00
phuctv95 40c463033b Just a tiny edit (#9529) 2018-11-09 09:09:41 -10:00
Hao Kung 3addeffb39 Update options for 2.2 (#9456) 2018-11-09 13:01:33 -06:00
Luke Latham 386d64b59d
Generic Host topic updates (#9341) 2018-11-08 20:10:30 -06:00
Rick Anderson 90a9ac31f5
localize decimal (#9528)
Fixes #9414
2018-11-08 15:50:19 -10:00
John Luo 78ec46c2e7
Clarification for HTTP/2 support with Kestrel on Windows8.1/Server2012R2 (#9522) 2018-11-08 14:25:47 -08:00
Ahmed Yahia 3a509ad664 Update options.md (#9517) 2018-11-08 16:08:14 -06:00
Rick Anderson 577b6b8898
Update mvc.md (#9521) 2018-11-08 11:58:57 -10:00
BrennanConroy 7ad8de6966 Update SignalR differences (#9457) 2018-11-08 08:46:32 -08:00
Stephen Halter 4307e3131d
Discuss absence of HTTP/2 request rate limit features (#9511)
<!--
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-07 18:21:30 -08:00
Kevinio04 3ce1f44830 Exclude Bin and Obj when copying to output directory (#9507) 2018-11-07 19:23:23 -06:00
Kevinio04 fbf918a74e Exclude Bin and Obj from CopyToOutputDirectory (#9508) 2018-11-07 19:12:50 -06:00
Tom Dykstra eb67d3a497
http --> https in sample URLs in SignalR security.md (#9500) 2018-11-07 09:27:17 -08:00
Andrew Stanton-Nurse f8acc64223 Expand upon SignalR access token logging section (#9440)
From #9424 discussions

Expanded a bit on how access token logging affects your app and what it means. Also, how to disable URL logging entirely in ASP.NET Core (this is a bit of a severe option, since it disables logging of ALL request URLs).

cc @Tratcher

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/security?view=aspnetcore-2.1&branch=pr-en-us-9440)
2018-11-07 09:23:41 -06:00
Justin Kotalik a6b77c370c Update IIS index.md (#9463)
More for #9441 with a bit of refactoring.

- IISServerOptions (inproc) are unique from IISOptions (out of proc)
- Move HTTP/2 topic lower in the document (flow felt off by having it before how to enable IISIntegration)
- Remove stop/starting app pool in favor of dropping app_offline (@shirhatti for thoughts)
- Generalize addressing AspNetCore behind IIS (remove reverse proxy stuff).
2018-11-06 22:18:14 -06:00
Rick Anderson 346721a118
Update page1.md (#9491)
* Update page1.md

* Update page1.md
2018-11-06 17:22:30 -10:00
Mikael Mengistu 8439a641fe SignalR Java Client Access token provider section (#9454)
Fixes https://github.com/aspnet/Docs/issues/9171
Adding a short section in the Java client docs about setting up an Access Token provider.
2018-11-06 16:24:43 -06:00
BrennanConroy d396dffe19 WebSocket Origin Restriction (#9447)
Fixes https://github.com/aspnet/Docs/issues/9363

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/security?view=aspnetcore-2.2&branch=pr-en-us-9447)
There are some moniker ranges, so switch the versions to verify they're working
2018-11-06 15:55:48 -06:00
Scott Addie 70781c2027
c# --> csharp 2018-11-06 14:14:19 -06:00
Scott Addie c3eb79666f
c# --> csharp 2018-11-06 14:13:36 -06:00
BrennanConroy b2d027899e Describe Hub lifetime (#9439)
Fixes https://github.com/aspnet/Docs/issues/6888

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-2.1&branch=pr-en-us-9439)
2018-11-06 12:22:41 -06:00
Sayed Ibrahim Hashimi 0935d4ba06 fixing text and image for new MVC project (#9477)
The text and image for New MVC Project was a bit outdated, fixing them.
2018-11-06 12:03:11 -06:00
Scott Addie 01cbe3293e
Explain relationship between model validation and [ApiController] (#9377)
* Explain relationship between model validation and [ApiController]

* React to feedback in index.md

* React to more feedback
2018-11-06 11:52:38 -06:00
Elan Hasson 64f97999f3 Formatting on ".NET framework is listed as v4.0" section list (#9479)
Fix the formatting on the Formatting on ".NET framework is listed as v4.0" section list.



<!--
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-06 11:51:58 -06:00
Justin Kotalik 9eb24a6c77
Update ANCM troubleshooting guide (#9467) 2018-11-06 09:18:45 -08:00
Stephen Halter 7682fbbc21
Update intro to mention 3.0 is core-only (#9450) 2018-11-05 19:50:47 -08:00
Justin Kotalik 643da263f3
Update ANCM host and deploy topic (#9452) 2018-11-05 15:23:02 -08:00
Luke Latham 659e3ce17f Update BuildWebHost to CreateWebHostBuilder (MD topics) (#9268)
* Update BuildWebHost to CreateWebHostBuilder (MD topics)

Updates

Updates

Update

Tab update

Repair versioning

* Revert Swashbuckle changes

* Dropping versions <2.1 in two topics

* Versioning update

Versioning update

* Resolve tab warning
2018-11-05 13:10:38 -10:00
Scott Addie eb12cef59e
Delete Web API index page and redirect (#9459) 2018-11-05 16:58:35 -06:00
Tom Dykstra 37ee27401c
xref: --> uid: (#9461) 2018-11-05 14:55:34 -08:00
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
Benoit Masson-Bedeau 0bbb5cc945 Create a REST API with Attribute Routing in ASP.NET Web API 2: typos (#9425)
The page "Create a REST API with Attribute Routing in ASP.NET Web API 2" has some typos: some texts that doesn't correspond to the screenshot and 2 samples that doesn't work.
2018-11-05 11:00:52 -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
Rick Anderson 1320c01aad
replace Tom F with Rick Anderson (#9364) 2018-11-02 11:42:49 -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
Scott Addie 6d884514d6
Merge pull request #9407 from aspnet/guardrex/mia-file
Replace missing JS file in sample app
2018-11-02 15:39:56 -05:00
Luke Latham 586a778e11
Replace missing JS file in sample app 2018-11-02 13:36:10 -05:00