Commit Graph

1252 Commits (dd52e425383d0fe9bfd1ad288787e4c4b61110d6)

Author SHA1 Message Date
Stephen Daudell 908e9ce369 Added a missing word to routing.md (#3485)
"Routes must configured..." to "Routes must be configured..."
2017-06-12 09:34:29 -04:00
Jon Galloway 2871979b98 Changes to code block language hints
Package Manager should be PowerShell, not bash. Differences between JavaScript and JSON language blocks are pretty minor, but might as well update while getting the bash->PowerShell one.
2017-06-11 22:19:02 +02:00
sintetico82 9ba4f0ed27 Extra information in DataAnnotations localization (#3480)
* Extra information in DataAnnotations localization

Add information about the use of SharedResources class in Data Annotation

* Create localization.md
2017-06-09 10:11:23 -07:00
mwessner dd4fdf8fe8 Fix typo (#3479)
Minor typographical error in the first sentence of 'Token replacement in route templates ([controller], [action], [area])' segment fixed.
2017-06-09 08:30:56 -07:00
Tom Dykstra f789f2c720 add db providers link (#3477) 2017-06-08 13:22:41 -07:00
Jacob Appleton b870dce7fa Create Startup.cs (#3475)
Moved the snippet region end to after app.UseRewriter(options); so that it appears in the documentation.
2017-06-08 11:43:11 -07:00
Pablo Recalde f89bdea48c modified mvc example to use c#7 (#3447)
As suggested by VS2017 I've substituted the 2 line code by an inline temporary variable.
2017-06-07 11:50:22 -07:00
Kevin Hillinger 9814a9b1c9 Making code sample accurate (#3472)
Updating MinimumAge property to public and setter private, since the 'protected' accessibility won't work in the MinimumAgeHandler (given it accesses this property as public).
2017-06-07 11:42:19 -07:00
Tom Dykstra e4deb07051 fix metadata date 2017-06-07 09:01:39 -07:00
Stephen Daudell 26a74b47db Fix typo in routing.md (#3465)
Change "asterix" to "asterisk"
2017-06-05 16:28:02 -04:00
Tom Dykstra d0fe3f358e escape angle bracket 2017-06-03 13:22:21 -07:00
Jessica White b11243c6df Update routing.md (#3454)
* Update routing.md

When using square brackets with in your regex statement you need to escape them by doubling them. This currently isn't mentioned anywhere in the documentation.

* Update routing.md
2017-06-02 14:53:39 -07:00
Rick Anderson a2e9aa435d Update url-rewriting.md (#3459) 2017-06-02 14:52:40 -07:00
Tom Dykstra 8b083c3b70 link to model binding article (#3456) 2017-06-02 09:58:25 -07:00
Tom Dykstra 724c224886 change notepad instructions (#3455) 2017-06-02 09:57:41 -07:00
InoueKonoha 6ca6a5666f Update parameter type of GetById in POST example (#3446) 2017-06-01 17:11:09 -07:00
Rick Anderson 89e2a2e7d8 fix links (#3444) 2017-05-31 20:07:13 -07:00
Andrew Stanton-Nurse bc0cac341d document registering View Component Tag Helpers (#3436)
* document registering View Component Tag Helpers

fixes #3435

* pr feedback

* Update view-components.md

* Update view-components.md

* Update view-components.md
2017-05-31 14:55:49 -07:00
Tom Dykstra c544e5acb2 set ms.topic to get-started-article (#3442)
* set ms.topic

* set ms.topic
2017-05-31 14:55:29 -07:00
Rick Anderson dd07b9d0cd help SEO on precompilation (#3431)
* help SEO on precompilation

* Update view-compilation.md

* Update view-compilation.md
2017-05-30 16:56:39 -07:00
Rick Anderson 29de1c9d7d Add precompiled view link to Razor Pages (#3432) 2017-05-30 16:55:24 -07:00
Derek Christensen 3a3b79933d Correct async/await usage (#3417)
Fixed async/await usage to not call .Wait() on the task and to not await the Task that is never used.
2017-05-30 16:35:55 -07:00
Nate McMaster f3040c8ebd Update "Key Encryption At Rest" doc for new API in .NET Core 2.0 (#3430) 2017-05-30 13:37:41 -07:00
Thawatchai Klinkliang 49de2ecfe1 Update TodoController.csc (#3421)
Parameter of _context.TodoItems.Update should be "todo" instead of "item"
2017-05-30 13:36:23 -07:00
Roman Blinkov ab20ece3c2 Fix for pkcs12 certificate export (#3418)
* Fix for pkcs12 certificate export

* Update https.md

Removed extra lines
2017-05-30 13:18:30 -07:00
Rick Anderson c0849eb674 Secure user data (#3336)
* Secure user data

* removed dead code

* Revert "removed dead code"

This reverts commit 3311e8e4d4.

* move snippets to final15

* work

* fix

* work

* work

* work

* work

* work

* work

* work

* work

* work

* CRUD check

* work

* rename

* work

* formatting

* tdykstra feedback

* work

* tom feedback

* work

* work

* joe feedback

* work

* download

* fix

* download link

* download link
2017-05-30 13:11:31 -07:00
Rick Anderson c7bfcf5138 web API toc (#3413)
* web API toc

* fix

* fix

* fix
2017-05-30 12:38:50 -07:00
Tom Dykstra c04b7f0272 explanations and includes in adding-model.md (#3420)
* issue 3112

* fix link

* fix formatting

* add link
2017-05-30 12:23:24 -07:00
Jonathan Menzel 6bbf4f9d6a Minor punctuantion changes (#3423)
Replacing semicolons by the right punctuation in text
2017-05-30 12:18:36 -07:00
Ganesan Arunachalam 520e0013bb Fixed typo (#3424)
* Fixed typo

* Update register_dbContext.md
2017-05-30 12:17:19 -07:00
Ganesan Arunachalam 285cd142e1 Fixes broken link (#3425) 2017-05-30 12:14:53 -07:00
John Korsnes fa482262f0 Update docs with load user profile option (#3397)
* Update docs with load user profile option

Related docs from @blowdart: https://github.com/aspnet/DataProtection/issues/107

The option of having the app pool user load the profile was by far the easiest route, and is not part of the docs.

* Update iis.md

> Any data you protected will no longer be able to be unprotected. 

I don't understand that.

>you should configure Data Protection with the deployment script

What deployment script?

* Update iis.md

* Update iis.md

* Update iis.md
2017-05-30 12:11:26 -07:00
andrewlock 56cb9c634f Fix typo in filters.md (#3426)
`ReesultFilterAttribute` -> `ResultFilterAttribute`
2017-05-28 11:30:02 -04:00
Tom Dykstra aa6c97dbec add note explaining log method parameters (#3416) 2017-05-25 09:08:09 -07:00
Rick Anderson 90adc00b47 mac Prerequisites (#3410) 2017-05-24 21:03:31 -07:00
Rick Anderson 30f80837bf Web API refactor and remove repository (#3399)
* work

* work

* work

* work

* work

* work

* work

* work

* work

* work
2017-05-24 13:48:25 -07:00
Tom Dykstra 0adb972b9a add to TOC (#3409) 2017-05-24 13:46:10 -07:00
Elektronenvolt 49d56c2097 To stop tracing session use Stop-EtwTraceSession (#3400)
To stop the ETW tracing session, the Remove-EtwTracingSession command doesn't work. Used Stop-EtwTraceSession instead.
2017-05-24 13:21:52 -07:00
Omar Maher d1a2867afd Update Startup.cs in Formatting (#3378)
* Update Startup.cs

Make default format xml

* Update Startup.cs

Make Xml global format
2017-05-24 11:24:00 -07:00
Rick Anderson d40cd19b30 Update 2fa.md - download links (#3406)
* Update 2fa.md

* Update 2fa.md

* Update 2fa.md

* Update 2fa.md
2017-05-24 11:22:52 -07:00
Swiss-Devs a05ae67125 Add ASPSMS to 2FA tutorial (#3348)
* Add ASPSMS to 2FA tutorial

* fix requested changes (#3348)
2017-05-23 18:31:55 -07:00
Rick Anderson 7115e244b4 Update index.md 2017-05-23 09:21:31 -10:00
Rick Anderson b5f44bda45 Update index.md (#3398)
* Update index.md

* Update index.md

* Update index.md

* Update index.md
2017-05-23 12:08:06 -07:00
Tom Dykstra a9e9497ddc revise development environment section (#3401) 2017-05-23 11:01:57 -07:00
Hisham Bin Ateya e140318865 Remove unnecessary quotations from localization cookie format (#3393) 2017-05-22 18:37:38 -07:00
James Valkyrie 741884ddb9 Corrected some grammatical (tense) error (#3394) 2017-05-22 18:36:42 -07:00
Tom Dykstra c2586b7c45 Link to remote debugging doc in VS doc set (#3395)
* Link to remote debugging doc in VS doc set

* add link to remote debugging doc
2017-05-22 18:35:11 -07:00
Tom Dykstra f1e17a1450 fix highlighting 2017-05-22 09:39:33 -07:00
kalch 2308564b88 Fix spelling error (#3392) 2017-05-20 07:09:22 -04:00
Aftab Ansari e48bd55293 Small Correction (#3391) 2017-05-19 18:36:43 -07:00
Tom Dykstra 3a0c9d3076 change angle brackets to curly braces 2017-05-19 16:51:41 -07:00
Rick Anderson 971b805d36 Update adding-model.md (#3382)
* Update adding-model.md

* Update adding-model.md
2017-05-18 08:36:30 -10:00
Christian Weiss eaa322e432 Missing ")" in comment (#3381) 2017-05-18 08:23:24 -10:00
steven ferrell c42fe12bea Missing ending parentheses in AddAuthorization example code (#3374) 2017-05-17 20:22:36 -10:00
Tom Dykstra b0e5fa8c9f CORS doc samples .xproj --> .csproj (#3376) 2017-05-17 15:34:48 -07:00
Rick Anderson 3bd2837d01 Update index.md 2017-05-17 10:36:26 -10:00
Tom Dykstra 9049def785 add link to project.json docs (#3372) 2017-05-17 06:21:37 -07:00
Tom Dykstra 86f323d5c7 typo (#3368) 2017-05-16 08:58:07 -07:00
Dale Gardner 184fe30215 fix several extensions and syntax highlighting on snippets (#3360) 2017-05-15 11:15:39 -10:00
Aftab Ansari b8b5fca28c With VS2017 and dotnet 1.0 installation genrator needs to have latest installation (#3363) 2017-05-15 09:51:45 -10:00
Tom Dykstra b29dd4b85c add community.md to toc (#3355)
* add community.md to toc

* add community.md
2017-05-15 11:16:58 -07:00
Aftab Ansari 1e29dc1ed7 Razore File Extension corrected (#3361) 2017-05-15 07:45:12 -10:00
Tom Dykstra e0a1968476 fix link (#3356)
Add an optional extended description…
2017-05-12 10:01:56 -07:00
Tom Dykstra ac604a70d0 fix link (#3357) 2017-05-12 09:50:22 -07:00
Rick Anderson f2a1e2354f Update routing.md 2017-05-11 14:28:46 -10:00
Adrien Torris f28d490726 Extend middleware code sample to display var decla (#3347)
Extend Localization middleware code sample to display the declaration of the variable 'supportedCultures'
2017-05-11 14:16:23 -10:00
Rick Anderson 011c021ffc macOS VS Web API tutorial (#3345)
* done

* bold

* fix

* feedback

* more fixes
2017-05-11 12:04:57 -10:00
Tom Dykstra 4351d13c9c remove instructions left over from 1.0 (#3344) 2017-05-10 18:52:17 -07:00
Tom Dykstra 4aa9032226 add custom model binding (#3343) 2017-05-10 14:03:18 -10:00
Tom Dykstra 84ef999f35 remove outdated MVC 5 text (#3342) 2017-05-10 14:01:07 -10:00
Rick Anderson b21575c59e Update index.md 2017-05-10 10:20:03 -10:00
Rick Anderson 3519b67600 remove bad links (#3340) 2017-05-10 13:19:04 -07:00
Rick Anderson 1cc0ee1387 Razor Pages initial draft (#3335)
* Razor Pages initial draft

* c

* acrolynx

* rename file, add to toc

* Ryan feedback

* quick proofread
2017-05-10 08:31:01 -10:00
Tom Dykstra 356f5f89be Fix bug in edit/create code (#3330)
* correct errors in edit/create code

* add line of code missed in earlier commit

* fix highlighting
2017-05-10 11:28:28 -07:00
Tom Dykstra 5270dad17c fix links (#3334) 2017-05-10 10:09:50 -07:00
Daniel Roth 31da7b21f4 Add dev https doc (#3337) 2017-05-10 10:08:24 -07:00
Brandon Pugh 822081930b Fix link url (#3283)
Seemed to be pointing to the wrong domain.
2017-05-09 18:10:52 -10:00
Rick Anderson 94b493d89c Update adding-model3.md (#3321) 2017-05-09 10:18:11 -10:00
Jonathan 58c0e3784c Update web-api-help-pages-using-swagger.md (#3325)
Use HTTPS. Prefer IANA-assigned example.com domain.
2017-05-09 09:50:40 -10:00
Steven Volckaert 194ad97f94 Updating line 78: Correcting French punctuation. (#3331)
In French, a space is required both before and after all two- (or more) part punctuation marks and symbols, including the exclamation mark "!". See https://www.thoughtco.com/how-to-use-french-punctuation-4086509 for more information.
2017-05-09 09:49:28 -10:00
Kévin Chalet 14a94acf1a Update community.md to include AspNet.Security.OpenIdConnect.Server (#3329) 2017-05-08 14:38:14 -07:00
Sayed Ibrahim Hashimi 8639b3b36e Add page for OSS auth options (#3314)
* Add page for OSS auth options
In the One ASP.NET dialog we are adding a link for users to learn more about OSS auth options.
I'm working with @danroth27 on the content here.
2017-05-08 12:52:40 -07:00
Steve Smith f032613ffa fixing build errors (#3326) 2017-05-08 09:36:20 -07:00
Aftab Ansari 9077d46233 Small Correction (#3324) 2017-05-08 06:01:40 -07:00
Aftab Ansari d5e959a7c3 It should be W3School not CodeSchool (#3291)
* It should be W3School not CodeSchool

* Update angular.md

* Update angular.md
2017-05-06 08:51:49 -10:00
Sébastien Ros 39ce057520 Update configuration.md (#3307)
* Update configuration.md

* Update configuration.md
2017-05-06 08:43:43 -10:00
Rick Anderson 84e32a6d75 Update tutorial list to mention Web API (#3304)
* Update index.md

* Update index.md

* Update index.md

* Update index.md

* combine web api paragraphs
2017-05-05 12:44:57 -10:00
Tom Dykstra bcd64dfb8d highlight department in course.cs (#3317) 2017-05-05 12:12:53 -07:00
Tom Dykstra 797db96de2 fix link (#3315) 2017-05-05 11:54:39 -07:00
Tom Dykstra 64c0686921 fix DbContext namespace (#3313) 2017-05-05 09:03:49 -07:00
Tom Dykstra e1c8ca9fe8 add PMC text (#3303)
* add PMC text

* Update intro.md

* reword PMC line
2017-05-04 15:09:22 -07:00
Steve Smith ff6b4b196e Custom model binding (#3275)
* Initial outline and updates to links.

* Fixing formatting

* adding sample

* sample base64 string

* Working on article and sample

* ready for initial review

* Responding to feedback

* Uncommenting attribute

* switching back to authorid

* Fixing code listing

* Updated based on feedback

* responding to feedback

* Responding to feedback. Tested simplified app and still works as expected.
2017-05-03 16:21:50 -04:00
Aftab Ansari 6820ebec01 AngularJs Version is Synced with AngularJs Version in bowerJson file (#3289) 2017-05-01 21:13:26 -10:00
Aftab Ansari f4798aa7c6 Aftab ansari/angular js solution explorer (#3290)
* Replaced with Latest correct image

* Image resized
2017-05-01 21:13:16 -10:00
Rick Anderson fea3ca8c7f Update working-with-sql.md 2017-05-01 21:11:44 -10:00
Marius Schulz 16255dfe17 Update cookie.md (tiny typo) (#3285) 2017-05-01 18:43:58 -10:00
Artur Zgodziński de8c4105e5 Update routing.md (#3286)
Fixed regular expressions to match the whole segment value instead of its sub-string.
2017-05-01 18:42:58 -10:00
Aftab Ansari 5d1b92e25e Duplicate Point removed (#3287) 2017-05-01 18:42:25 -10:00
Aftab Ansari 0e30d2fe34 Aftab ansari/azure continuous deployment patch (#3288)
* replaced with latest VS project template images

* source control dialog removed
2017-05-01 18:41:07 -10:00
Sivanantham Padikkasu 80e1203e79 Changed the LogOff action name into LogOut (#3292)
Changed the LogOff action name into LogOut.Asp Net Core defaultly provides Logout action only.
2017-05-01 18:37:20 -10:00
Sivanantham Padikkasu 37fb4e0a8d Changed the "LogOff" action name into "LogOut" (#3293)
Changed the "LogOff" action name into "LogOut".Changed the "LogOff" action name into "LogOut".By default ASP Net core provides Logoff action in "LogOut" ActionResult Only.Also raised PR for changed the action name in account controller .
2017-05-01 18:36:55 -10:00
Sivanantham Padikkasu ebd0b16af5 Changed the "LogOff" action name into "LogOut (#3294)
Changed the "LogOff" action name into "LogOut
2017-05-01 18:36:28 -10:00
Petr Onderka f705fbda1d Explain how to run app in linuxproduction (#3276)
* Explain how to run app

* Improve formatting

* Update linuxproduction.md

* Update linuxproduction.md
2017-04-26 12:51:58 -10:00
Tom Dykstra 1c7febf6b2 remove redundant code (#3267) 2017-04-25 15:48:31 -07:00
Rick Anderson 0eaab41fc5 Update middleware.md (#3268)
* Update middleware.md

* Update middleware.md

The original:
>[!WARNING]		  >[!WARNING]
 ->Be careful modifying the `HttpResponse` after invoking `next`, because the response **may** have already been sent to the client. You can use [HttpResponse.HasStarted]() to check whether the headers have been sent.

Be careful means it's OK to do this as long as you are careful and implies you can be careful via: 

You can use [HttpResponse.HasStarted] to check whether the headers have been sent.

* Update middleware.md

* Update middleware.md

* Update middleware.md

* Update middleware.md
2017-04-25 11:02:17 -10:00
Rick Anderson 37c2c2de37 Update owin.md (#3253) 2017-04-24 15:55:55 -10:00
Tom Dykstra a217702b3b fix typo (#3271) 2017-04-24 14:11:22 -07:00
Tom Dykstra 0d6c8029fc remove wrench links (#3270) 2017-04-24 14:04:46 -07:00
Tom Dykstra e4940fb39e remove wrench topics from toc (#3264) 2017-04-24 14:00:39 -07:00
Tom Dykstra 2c36be09d5 corrections noted by Sijmen.Koffeman (#3266)
* corrections noted by Sijmen.Koffeman

* fix other instances of 8/8 date

* remove "also"
2017-04-24 13:37:42 -07:00
cdavid ee279bd93c Swashbuckle.AspNetCore is now v1.0 (#3265)
So we don't need to include preleases (or do -Pre) when installing the package.
2017-04-24 10:31:52 -10:00
Steve Smith 21d7b9523a Fix typo 2017-04-23 16:12:40 -04:00
Rick Anderson 6cd9cf14d6 Update validation.md (#3257)
Per customer feedback
Robin_St.Clair
please do not use the word consume, in this context, it is nonsensical and an abuse of English, it is preferable to write - The Input Tag Helper uses the DataAnnotations attributes and . . .
2017-04-23 09:13:56 -07:00
Rick Anderson 608cbce992 Update adding-model.md (#3258) 2017-04-23 09:12:34 -07:00
Tom Dykstra eb9b2996ed escape angle bracket (#3262)
Add an optional extended description…
2017-04-23 09:02:29 -07:00
Rick Anderson c737a33f75 Update localization.md (#3252) 2017-04-21 14:28:10 -10:00
Rick Anderson 6c295d2e0c Remove references to Microsoft.DotNet.InternalAbstractions (#3251)
* Remove references to Microsoft.DotNet.InternalAbstractions

* update
2017-04-20 16:31:37 -10:00
Rick Anderson 5034dd22ee Update new-field.md (#3250)
* Update new-field.md

* Update new-field.md
2017-04-20 16:25:47 -10:00
Tom Dykstra 2128a5d8a1 Add dynamic linq to EF MVC tutorial (#3214) 2017-04-20 09:16:35 -07:00
Rick Anderson bca76e57c2 Update adding-model.md (#3247)
* Update adding-model.md

* Update adding-model.md
2017-04-19 15:17:24 -07:00
Rick Anderson cb2e684d1e Update adding-model.md (#3245) 2017-04-19 10:29:52 -10:00
Rick Anderson d16097c1aa Update MvcMovie.csproj (#3246) 2017-04-19 10:27:30 -10:00
Tom Dykstra 02a2b7d1a0 delete repeated phrase (#3243) 2017-04-19 09:14:10 -07:00
Tom Dykstra 6c395cd9d5 note bug on Linux, misc minor updates (#3241) 2017-04-17 17:37:52 -10:00
Richard Hallett e87f9cc351 Remove usage of quotations with set command (#3238)
With the change from setx to set, quotation marks are invalid and get set as part of the environment variable, this actually leads to a bad path exception upon dotnet run.
2017-04-17 10:18:19 -04:00
Tom Dykstra 477488e513 EF clarifications in intro to MVC add model (#3235) 2017-04-15 13:10:18 -07:00
Tom Dykstra 0a73450535 typo (#3233) 2017-04-15 10:06:02 -10:00
Rick Anderson e014c9dcca Update routing.md (#3236)
Maybe I should get rid of Warning too.
2017-04-15 10:05:22 -10:00
Rick Anderson 468e284107 Update new-field.md (#3234)
* Update new-field.md

* Update new-field.md

* Update new-field.md
2017-04-15 09:59:28 -10:00
Tom Dykstra aa52a96557 exit --> exist (#3231)
Add an optional extended description…
2017-04-14 14:08:20 -07:00
Tom Dykstra ac77fcd48d Deployment overview (#3213) 2017-04-14 13:34:58 -07:00
Rick Anderson 641f2d226a Update index.md (#3224) 2017-04-14 09:47:11 -10:00
Tom Dykstra 0f21f3ea06 Add link to community standup (#3228) 2017-04-14 11:31:50 -07:00
ch-hristov b3aa458bb5 Update identity-configuration.md (#3226) 2017-04-14 07:48:25 -10:00
Tom Dykstra bfb904348a minor fixes (#3227) 2017-04-14 07:46:51 -10:00
Rick Anderson 996d71d919 final xplat intro to mvc (#3223)
* final xplat intro to mvc

* Fix
2017-04-13 16:50:55 -07:00
Rick Anderson f17152f762 validation xplat (#3220) 2017-04-13 12:01:09 -10:00
Tom Dykstra 2163e7dfbf release notes toc (#3222) 2017-04-13 14:46:10 -07:00
Steve Smith a9dbcff792 Testing controllers fix (#3218)
* Upgraded to VS2017 project
Trying to fix MVC view-based tests.

* modified project to get tests working

* Uncomment asserts

* Clean up console writeline
2017-04-13 14:36:56 -04:00
Marcin Hoppe 751347380e Fix typo (#3215)
malacious -> malicious
2017-04-13 09:33:55 -04:00
Rick Anderson 38f25bfebd Update adding-model.md 2017-04-12 11:47:18 -10:00
Rick Anderson 21d01fd143 xplat intro 2 mvc - add a field (#3197)
* xplat intro 2 mvc - add a field

* fix

* fix

* drop db

* fix

* final fix
2017-04-12 09:55:13 -10:00
rhires 00e4417c0e Minor copy edits (#3202)
* Minor copy edits 

Apostrophe, indefinite article, and comma for clarity

* Update introduction.md
2017-04-12 07:14:31 -10:00
Tom Dykstra b5e506801f EF MVC corrections (#3209) 2017-04-12 09:41:27 -07:00
Scott DePouw 7aa94251c8 Fixed typo in copy: Missing closing ')' (#3211) 2017-04-12 08:19:20 -04:00
Rick Anderson 0889dc6d3d xplat add a model (#3210) 2017-04-11 19:02:07 -10:00
Tom Dykstra 4647aac844 update metadata (#3204) 2017-04-11 15:20:49 -07:00
Andrew Germann 862fb8a1f0 Update views.md (#3203)
* Update views.md

Just adding the using directive for the AuthorizationService injection.

* Update views.md
2017-04-11 08:42:56 -10:00
Tom Dykstra ef23e32a43 clarify ANCM-Kestrel communication (#3206) 2017-04-11 10:50:23 -07:00
Rick Anderson 7a9c2834cc xplat intro 2 mvc - search (#3196)
* xplat intro 2 mvc - search

* fix

* fix
2017-04-09 14:52:07 -10:00
Rick Anderson ccc070e501 Update working-with-sql.md 2017-04-09 12:19:19 -10:00
Rick Anderson 425ec37f48 xplat controller methods and views (#3191) 2017-04-08 15:51:01 -10:00
Rick Anderson dafb6646cb xplat version of working with SQL mvc intro (#3190) 2017-04-08 13:45:21 -10:00
Rick Anderson 2439951f78 Update adding-model.md 2017-04-08 10:21:16 -10:00
Rick Anderson 3e823d8dc2 Update working-with-sql.md 2017-04-07 22:12:33 -10:00
Rick Anderson 7fa5881f20 Update static-files.md 2017-04-07 22:00:42 -10:00
Rick Anderson 5642202c56 xpat- adding a model - intro to mvc (#3185)
* works on mac

* view

* clean
2017-04-07 17:45:50 -10:00
Scott Addie 9eebb5185e Migrate Filters doc sample code to CSPROJ (#3187) 2017-04-07 17:14:40 -10:00
Tom Dykstra 33cc352805 Restructure deployment toc (#3176) 2017-04-07 13:11:19 -07:00
Rick Anderson e9a1e30553 Update adding-model.md 2017-04-06 18:11:51 -10:00
Rick Anderson 042cd9bbb8 Update adding-model.md 2017-04-06 18:05:34 -10:00
Lincoln Pires 3c17473bae updated the id type from string to long (#3173)
changed from ´public IActionResult GetById(string id)´ to ´public IActionResult GetById(long id)´ in line 189.
2017-04-06 15:32:54 -10:00
John Simons 36be353f10 Updated PrepareForPublish snippet range (#3174)
* Updated PrepareForPublish snippet range

* Updated snippet language
2017-04-06 15:32:15 -10:00
Fiyaz Bin Hasan 3d88dfb62e Update dotnet-watch.md (#3177) 2017-04-06 11:38:57 -10:00
Tom Dykstra d60b3976de stress that 1.1 is required for ef mvc tutorial (#3171)
* stress that 1.1 is required for ef mvc tutorial

* clarification
2017-04-06 10:53:54 -07:00
Fiyaz Bin Hasan 6766308ba8 Update custom-formatters.md (#3172) 2017-04-06 08:37:58 -07:00
Scott Addie 60455b9cb0 Adjust partial views code sample include range by 1 line (#3161) 2017-04-05 16:39:10 -10:00
Ümit AKKAYA 92a6741e08 Typo (#3164) 2017-04-05 16:37:34 -10:00
Scott Addie 219b799685 Fix display issues in Tag Helpers doc code samples (#3156) 2017-04-04 11:18:22 -10:00
Peter Stromquist 1fefb3f08b Use the new AddUserSecrets<T> method (#3157)
Since the non-generic counterpart will become obsolete (per https://github.com/aspnet/Announcements/issues/223)
Also the docs link in this code sample (http://go.microsoft.com/fwlink/?LinkID=532709) points to the "Safe storage of app secrets during development" docs page, which also shows the new usage of AddUserSecrets<T>.
2017-04-04 11:17:34 -10:00
Scott Addie a093c2fc43 View components doc cleanup (#3155) 2017-04-04 11:16:54 -10:00
mihe 9b094d5dec Changed AcceptWebSocket by AcceptWebSocketAsync (#3133) 2017-04-03 15:03:25 -10:00
Bruce Chen 56b9052a93 Update authoring.md (#3149)
line 256: Website-InforMation  --> website-information
2017-04-03 15:03:06 -10:00
Alex ffe8fca8ea Fix typo and filename (#3150)
Simply changed from "a" to "an" in two places for fluidity and consistency. I also added the filename extension for `Startup` and made it italic.
2017-04-03 14:49:12 -10:00
Scott Addie b4c4f5a180 Provide Visual Studio instructions for installing Secret Manager (#3139) 2017-04-03 14:47:44 -10:00
Rick Anderson cecfc4ddda Update search.md (#3152) 2017-04-02 12:03:27 -10:00
Mike Jones 34c277c0f9 link and screenshot update for Visual Studio 2017 (#3128)
* link and screenshot update for Visual Studio 2017

* removed note

* Updated links to Server Hosting bundle
2017-04-01 11:33:45 -10:00
Neil Anderson 87be02644d Include the New Controller png (#3137)
The 'Add a controller' section included a screenshot of the new project dialog when it should be the new controller dialog.
2017-04-01 11:30:30 -10:00
Neil Anderson 15c5234fa9 Fix parameter type typo (#3138)
To match the earlier code snippet ```string``` should be ```long```
2017-04-01 11:25:49 -10:00
Rick Anderson 9401ba5592 Add twilio to 2FA tutorial (#3147)
* Add twilio to 2FA tutorial

* fix
2017-04-01 11:08:25 -10:00
Neil Anderson 37a91b1e99 Highlight the EntityFrameworkCore.InMemory line (#3136)
Line 12 refers to the Microsoft.AspNetCore.Mvc package, I believe the documentation intended to highlight the Microsoft.EntityFrameworkCore.InMemory line 14.
2017-04-01 09:48:04 -10:00
mihe b10c6f745d Added a brief HTTP Endpoint description (#3141)
HTTP endpoint is an ambiguous term, but I tried to clarify what the original writer meant in this case, as per comments requests.
2017-04-01 09:44:43 -10:00
Alex e76940e097 Fix typos and consistency (#3145) 2017-04-01 09:04:30 -10:00
Tom Dykstra 9daa2ffcda clarify tools packages (#3122) 2017-04-01 11:29:07 -07:00
Tom Dykstra f8806d8961 2015-->2017 (#3144)
Add an optional extended description…
2017-04-01 11:23:46 -07:00
mihe dd239c8974 Add clarification about the current Add > Controller (#3142)
* Add clarification about the current Add > Controller

Added clarification about the current Add > Controller process, which takes two steps and may create confusion about the outcome of the first step, and makes the reader question why the controller itself is not created.

* Update adding-model.md

* Update adding-model.md
2017-04-01 08:13:57 -10:00
Philipp Gillé 6e4bf8ed06 Fix typo (#3143) 2017-04-01 08:09:36 -10:00
Rick Anderson 54f3c3acee Update intro.md (#3132) 2017-04-01 08:08:56 -10:00
Scott Addie 935f6699a9 Make InvokeAsync styling consistent with other occurrences (#3126) 2017-03-31 08:56:43 -10:00
Rick Anderson e045a3b351 Platform neutral language on opening a terminal (#3125)
* Platform neutral language on opening a terminal

* Update getting-started.md
2017-03-31 08:44:21 -10:00
Tom Dykstra fd92895d6f Topic: WebSockets (#3110) 2017-03-31 11:02:08 -07:00
Rick Anderson 5e015810ce clean up regex (#3017) 2017-03-30 20:36:56 -10:00
Rick Anderson 8fa130a398 hide xplat version of add a model (#3118) 2017-03-30 17:57:00 -10:00
Rick Anderson bb2f2a01c6 Update adding-model.md (#3117) 2017-03-30 17:41:07 -10:00
Rick Anderson 46652bc04f Update adding-view.md 2017-03-30 17:02:30 -10:00
Rick Anderson fbc5c3e584 Update index.md (#3115) 2017-03-30 17:01:14 -10:00
Rick Anderson 7fc79f215e Ra/model xplat (#3114)
* xplat version of adding a model/intro to MVC

* clean up

* clean up

* clean up
2017-03-30 16:41:44 -10:00
Scott Addie f90eb4d02e Upgrade routing doc sample code to CSPROJ (#3105) 2017-03-30 08:37:02 -10:00
Steve Smith 540292ed64 Updated project to VS2017 format. (#3106)
Updated HttpContext.Items key guidance.
2017-03-30 08:35:59 -10:00
Steve Smith e4808c0433 Upgraded to VS2017 project format (#3018)
Added demo showing how to retrieve configuration values stored as JSON arrays
2017-03-30 07:54:24 -10:00
Steve Smith 259b79e8e8 DI Disposing and Project Format Upgrade (#3016)
* Upgrade to VS2017 project format.

* Updated to describe how services container handles disposing of IDisposable instances

* added class definitions

* fixing bower path slashes
2017-03-30 07:49:50 -10:00
Mohamed Chraiet 71d353f85c Update overview.md (#3101)
Added the word "of" missing at first Note, third sentence. Line 32.
2017-03-30 09:18:52 -07:00
Rick Anderson dffdbaf436 part 3 (#3103) 2017-03-29 15:56:36 -10:00
Rick Anderson d1e2f1ca3e includes folder and first include (#3099)
* includes folder and first include

* fix

* fix

* remove all metadata
2017-03-29 14:07:30 -10:00
Tom Dykstra c99165a146 Revert "new topic"
This reverts commit 81e8a1c0fd.
2017-03-29 16:54:26 -07:00
Tom Dykstra 3ee89ffd2e Revert "add git-ignored file"
This reverts commit b3675ee186.
2017-03-29 16:54:17 -07:00
Tom Dykstra b3675ee186 add git-ignored file 2017-03-29 16:39:35 -07:00
Tom Dykstra 81e8a1c0fd new topic 2017-03-29 16:39:35 -07:00
Tom Dykstra 02ea1ead89 pubxml files are git-ignored (#3098) 2017-03-29 16:34:13 -07:00
Rick Anderson 3516dcbe56 Ra/xplat intro 2 mvc (#3090)
* xplat intro to MVC

* xplat intro to MVC

* adding a controller

* TD feedback
2017-03-29 11:15:18 -10:00
Rick Anderson 120568d84a Update web-api-vsc.md (#3095) 2017-03-29 10:43:58 -10:00
Rick Anderson f01a62c938 Update first-web-api.md (#3096) 2017-03-29 10:43:46 -10:00
Rick Anderson e379efabcf Update web-api-vsc.md (#3094) 2017-03-29 07:41:36 -10:00
Yavor Slavchev 32d0d3dc75 Markdown mismatch (#3092)
'Use Postman to send a Create request' section has a markdown mismatch. Below the 'In the key-value editor, enter a Todo item such as', the text formatting is broken.
2017-03-29 07:37:56 -10:00
Tim Barclay 028098540d Fix markdown formatting around code snippet (#3093) 2017-03-29 07:33:12 -10:00
Rick Anderson b2ec047d9a Update your-first-mac-aspnet.md 2017-03-28 17:06:52 -10:00
Scott Addie 8d50926b1d Fix user secrets doc display issues (#3079) 2017-03-28 11:14:46 -10:00
Alex 3c3c484072 Update Login action to call FindByEmailAsync (#3082)
This is consistent with the rest of the sample template and the model property passed to it.
2017-03-28 11:14:09 -10:00
Rick Anderson c73a3a7631 fix link (#3086) 2017-03-28 11:11:18 -10:00
Rick Anderson 00428b8b58 spboyer feedback on xplat web-api (#3087) 2017-03-28 10:13:07 -10:00
Tom Dykstra 7cf36468c4 Topic: How to run in a Windows Service (#3060) 2017-03-28 11:13:27 -07:00
Shayne Boyer 3bbe01ccb8 Minor changes (#3080)
* Spelling fix naviage -> navigate
* Removed Fiddler link : not relevant for Mac or Linux
* Added `Ctrl+Shift+P` key stroke for command pallete and for Linux, `⌘` doesn't exist for Linux and shortcut is different 
* F5 is Debug keystroke, first mention of Debug instruction did not define this.



### Suggestions for larger update
* Although not documenting VS Code, adding links to Debugging in VS Code: https://code.visualstudio.com/docs/editor/debugging
* Visual Studio Code users would tend to take advantage of CLI commands for adding/modifying EF component items.  See: https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dotnet
* Show integrated terminal or more terminal based commands
2017-03-28 08:06:10 -10:00
Scott Addie 26686ab7c5 Fix minor mistakes in view components doc (#3069) 2017-03-27 15:34:40 -10:00
Rick Anderson 9d6fe033f7 xplat version of first Web API (#3059)
* xplat version of first Web API

* remove dup files

* clean up

* fix

* TD feedback

* remove singleton
2017-03-27 13:05:06 -10:00
Rick Anderson 082d048d90 Update your-first-mac-aspnet.md 2017-03-27 10:17:39 -10:00
Steve Smith fe1ad66a28 Fixing Link (again)
This didn't get merged in correctly the first time. @tdykstra
2017-03-27 13:27:18 -04:00
spottedmahn d730b07c4e Fix Bad Link for LogLevel (#3072)
the current link doesn't work.  It redirects to https://docs.microsoft.com/en-us/aspnet/core/api/
2017-03-27 10:08:20 -07:00
Tom Dykstra 930b656621 fix link (#3073) 2017-03-27 10:00:54 -07:00
Steve Smith 61effecf59 Merge branch 'xsrf' 2017-03-27 10:49:22 -04:00
Steve Smith 223c287a6b Fixing link
Removing wrench icons
2017-03-27 10:44:25 -04:00
Rick Anderson 4896d11eda XSRF (#1945)
* WIP start of XSRF

* MD conversion

* WIP

* Made a lot of progress on filters and javascript impl

* adding sample

* minor updates

* Ajax demo

* Responding to feedback

* Responding to feedback

* Updating JavaScript sample to highlight service injection primarily.

* Updated "session" to "identity" per @blowdart.
Also added a note about use of session elsewhere in the document.
2017-03-27 10:32:27 -04:00
Abdelkrim from Brussels 94d4a6a69e Remove duplicate code : MyWindow.cs (#3066)
Remove duplicate: [!code-csharp[Main](configuration/sample/src/InMemory/MyWindow.cs)]
2017-03-25 13:29:17 -10:00
Rick Anderson 600c1afc4b Update middleware.md 2017-03-24 16:02:36 -10:00
Rick Anderson 94fd6a62d2 Update dependency-injection.md (#3056)
* Update dependency-injection.md

* Update dependency-injection.md
2017-03-24 15:37:48 -10:00
Rick Anderson bf0dc615cd conventional vs. attribute routing (#3065) 2017-03-24 15:37:04 -10:00
Rick Anderson 6e64bf66b3 add route name H2 for linking 2017-03-24 15:02:06 -10:00
Steve Smith 9f6bdc6348 Updated "session" to "identity" per @blowdart.
Also added a note about use of session elsewhere in the document.
2017-03-24 20:37:03 -04:00
Rick Anderson 19f6ada655 Update routing.md 2017-03-24 11:29:50 -10:00
Tom Dykstra 8a2425c3e1 remove extraneous backtick (#3062) 2017-03-24 13:50:55 -07:00
John Luo e45d55bfc0 Add warning against using response caching for authenticated content (#3045) 2017-03-24 09:53:06 -10:00
Rick Anderson b74d38e3ec Update your-first-mac-aspnet.md (#3058)
* Update your-first-mac-aspnet.md

* Update your-first-mac-aspnet.md
2017-03-23 14:12:01 -10:00
Rick Anderson a7fbb53fd2 Azure key vault to Secrets manager (#3055) 2017-03-23 12:00:08 -10:00
Rick Anderson 50e87992d8 Update adding-view.md (#3051) 2017-03-23 10:15:15 -10:00
Rick Anderson 1412549855 add pub sample markup (#3050) 2017-03-23 09:23:56 -10:00
maschram ac5b1dc073 PersonController Callback Fix (#2974)
* Switched callback functions from PersonController
to use .then() response rather than deprecated .success().error()
which led to example failing (see https://code.angularjs.org/1.5.0/docs/api/ng/service/$http)

* Changed JsonSerializer contract resolver to DefaultContractResolver
This prevents field names in Person model from getting converted
to camelCase when serializing Json, which prevented the list from being
correctly displayed

* Removed JsonSerializerSettings from Json serialization and replaced with informative comment

* Removed unnecessary using statements
2017-03-23 08:30:40 -10:00
Rick Anderson 487fff47e3 warn that `dotnet new -t web` (#3037)
* warn that `dotnet new -t web`

* Update getting-started.md
2017-03-23 08:30:10 -10:00
Rick Anderson 4347a7fba9 VS17 update of publishing (#2998)
* VS17 update of publishing

* force add

* fix TOC

* sayed feedback

* clean up

* final cleanup

* last

* last

* last
2017-03-22 17:37:12 -10:00
Hamed 2bc550bd7d Remove redundant image (#3039) 2017-03-22 17:23:05 -10:00
Scott Addie 47bd60697e Change gulpfile.js snippet content type to JavaScript (#3038) 2017-03-22 17:14:14 -10:00
Rick Anderson aabc57571f explain additial view data (#3031)
* explain additial view data

* clean up
2017-03-22 16:54:57 -10:00