Commit Graph

1046 Commits (e95f67d763fc2e331640119e6580e6f416d5b182)

Author SHA1 Message Date
Scott Addie 3ecaaac3bb Remove extra colon from Sections heading in Web API doc (#1807) 2016-08-23 08:34:16 -04:00
Nicholas d517d5f327 Edit linux deployment doc. (#1802)
* Update nginx.conf

* Update linuxproduction.rst

* Update linuxproduction.rst
2016-08-22 15:31:25 -04:00
Shayne Boyer c79e410892 fixing links (#1803) 2016-08-22 14:39:11 -04:00
Scott Addie a1f9a163ef Update Web API migration doc to RTM (#1790)
* Update Web API migration doc to RTM

* Change lex language to none for Startup.cs code sample
2016-08-22 13:26:42 -04:00
Xing Zheng cf436db022 fix typo in documents (#1801)
fix typo in documents
2016-08-22 06:43:16 -07:00
domaindrivendev ec28c0e899 Updates to reflect changes introduced by Swashbuckle 6.0.0-beta902 (#1794)
Thanks!
2016-08-21 07:07:47 -04:00
Travis Illig 0e2aec4ae2 Updates to Autofac references, samples for RTM (#1793) 2016-08-18 08:50:04 -04:00
Shayne Boyer 485088ec34 Cors update (#1789)
* rtm samples update

* warning removed, code blocks, literal includes updated

* cleanup, remove user files

* include path issue

* simplify setup sentence, remove code block
2016-08-17 19:17:49 -04:00
Rick Anderson 4e03ea0a12 remove Razor reserved words escaped (#1792) 2016-08-17 14:25:40 -04:00
Steve Smith 3d16a4629e MVC Overview (#1774)
* Initial outline

* Re-ordering section to be in M-V-C order.

* Responding to Feedback

* Last tweaks
2016-08-16 21:45:15 -04:00
Michiel Staessen eb78ebddc5 Update LoginPartial to VS template (#1784)
The templates are updated and the extension method GetUserName(this IIdentity) does not seem to be available anymore
2016-08-16 16:41:55 -04:00
Rick Anderson 1176419f9e update authors (#1787)
Add an optional extended description…
2016-08-15 13:19:18 -07:00
Shayne Boyer dd573e730b Webapi Swagger Tutorial (#1768)
* structure

* wip, intial description and code examples

* 'space'

* screenshots and getting started

* basic complete, annotations started

* rename var, comment code

* complete through DataAnnotations

* customizing ui src

* custom html src complete - simple

* custom ui complete

* summary

* fix indent issue

* indentation issues

* editing changes

* adding .vscode user exclusions

* remove .vscode folder

* user files

* spell check

* reword testing method section

* added download link to intro

* edits for final review

* fix punctuation in controller

* add red boxes to swagger-ui image

* minor edits :shipit:
2016-08-15 11:07:28 -07:00
Scott Addie 038914f193 Update Fundamentals DI doc and sample to RTM (#1781)
* Update Fundamentals DI doc and sample to RTM

* Revert literal block type to javascript
2016-08-15 11:04:07 -07:00
Tom Dykstra f87edb31b1 fix broken link (#1785)
/cc @Rick-Anderson
2016-08-15 10:57:45 -07:00
Dody Gunawinata 3cd0ef7b22 Fix a typo (#1783)
vaule -> value
2016-08-15 09:25:23 -04:00
Luke Latham a397200b6b Add sub-app config and common error entry (#1778)
* Add sub-app config and common error entry

Fixes https://github.com/aspnet/Docs/issues/1764

* Code-block correction

* React to feedback
2016-08-12 17:38:56 -07:00
Rick Anderson 52dbf1cc03 updated areas (#1779) 2016-08-12 16:04:56 -04:00
Aftab Ansari 29bac2f18c Output Correction (#1775) 2016-08-11 19:09:16 -07:00
Rick Anderson edbf7b8adc style as code (#1776) 2016-08-11 18:37:18 -07:00
Luke Latham 636ec46dd1 Update error-handling.rst (#1772)
Fixes https://github.com/aspnet/Docs/issues/1721
2016-08-11 15:53:05 -07:00
Luke Latham 5bbcb50bab Minor language update (#1773)
A dev on Slack said that "application’s assets" didn't translate well into their language. This change modifies the expression and includes a link to the Directory Structure doc.
2016-08-11 14:56:00 -07:00
Borislav Kosharov 267f3fde7f Fixed view folder Todo to match controller name (#1763)
* fix view folder Todo to match controller name

* fixed reference in .rst file
2016-08-10 09:32:08 -07:00
M. Shawn Dillon aac3229993 Correct misspelling in 2nd paragraph (#1769)
Change 'seemlessly' to 'seamlessly'.
2016-08-09 11:06:04 -07:00
Luis Palacios 365a3a1788 Update app-state.rst (#1758)
The aap.UseSession(); must go before the UseMvc(), but this is not mention anywhere in the docs, i think is best to be explicit about this, wasted a few hours until i find out
2016-08-08 09:47:18 -07:00
Rick Anderson 0dba098c15 first draft of Web-API (#1755)
* first draft

* final

* tom.D feedback

* <name>

* fix build
2016-08-08 09:45:45 -07:00
Rick Anderson dfeed1154e snippet (#1766) 2016-08-06 20:35:38 -07:00
Rick Anderson 05a0789c2c snippet fix (#1762) 2016-08-04 19:01:45 -07:00
Rick Anderson 53d326f20b snip (#1761) 2016-08-04 18:09:18 -07:00
Rick Anderson 0926aa1f4c snippet (#1760) 2016-08-04 16:23:03 -07:00
Sandra Aldana Abad 8f421d8287 removing OP files from this branch 2016-08-03 14:11:36 -07:00
saldana 538a038891 Initialize open publishing repository: https://github.com/aspnet/Docs of branch master 2016-08-03 19:24:22 +00:00
Steve Smith b657ed9748 Fundamentals/Hosting (#1702) 2016-08-03 09:26:00 -04:00
James Orr f2b658a9e1 correct a typo (move -> movie) (#1753) 2016-08-02 21:41:38 -07:00
James Orr 4824603da5 corrected a typo (genre's -> genre) (#1754) 2016-08-02 15:56:12 -07:00
Aftab Ansari 996c82383a Ng15 patch (#1728)
* ng15 component patch

* Sample code update

* referenced filename corrected

* Tabbing Corrected

* Tabbing Corrected

* Wordings Corrected
2016-08-02 15:54:33 -07:00
Brian Szuter 5b06925581 Removed duplicate "during" (#1748)
* Spelling fix to routing.rst

"resposes" -> responses

* Removed duplicate "during"

"present during during URL generation" -> "present during URL
generation"
2016-08-02 09:44:59 -07:00
Rick Anderson 6b461be227 EF repository for DI (#1747)
* EF repository

* dv feedback
2016-08-01 20:23:41 -07:00
Brian Szuter ec8c48e870 Spelling fix to routing.rst (#1745)
"resposes" -> responses
2016-08-01 18:01:55 -07:00
Rick Anderson 8fc7018996 Update localization.rst (#1746)
Add an optional extended description…
2016-08-01 18:00:45 -07:00
Rick Anderson 17c4cf92be namespace (#1743)
If for some reason your targeted class is in the same project but not in the base namespace you will need…
2016-08-01 16:43:34 -07:00
Artiom Chilaru 36fc584925 Bugfix/routing regex (#1738)
* Fix the regex route in Startup.cs

* Fix the regex route in routing.rst
2016-08-01 13:02:31 -07:00
Charmis Varghese ae710428b6 Typo "genenerate" fixed. 2016-07-29 15:36:59 -04:00
Rick Anderson 56fcd72a4f Authz DI (#1729)
* guessing here

* EF
2016-07-28 19:58:39 -07:00
Rick Anderson 78bc324a99 fix IIS install on Nano (#1724)
* fix IIS install

* temp
2016-07-28 14:07:17 -07:00
Borislav Kosharov 20c866bd53 fix MapDelete typo (#1736)
MapRoute was listed twice and MapDelete wasn't listed
2016-07-28 14:06:31 -07:00
Rick Anderson c2bac001a8 spelling (#1732) 2016-07-27 15:29:01 -07:00
Rick Anderson 30b3d3725e fix start/end (#1731)
Add an optional extended description…
2016-07-27 14:28:49 -07:00
Simone Chiaretta 9569a559df Removed reference to IApplicationEnvironment (#1726)
IApplicationEnvironment doesn't exist anymore: https://github.com/aspnet/Announcements/issues/171
2016-07-26 12:04:50 -07:00
Rick Anderson 260f34d05c Razor Syntax (#1651)
* New Razor syntax article

* final DanRoth review
2016-07-26 10:59:01 -07:00
Rick Anderson 243cf8db7c remove angular 2 dates and info (#1720) 2016-07-25 17:47:41 -07:00
Mikhail Paulyshka 7cc62a7b12 Linux publishing: fix typo (#1710)
Fix typo in supervisor config.
2016-07-25 11:02:29 -07:00
Aftab Ansari 8280ff0f65 middleware fix (#1711) 2016-07-25 11:01:39 -07:00
Aftab Ansari 3b842126ae ID parameter corrected to Id (#1714) 2016-07-25 11:01:21 -07:00
Aftab Ansari 6d28aac839 Output Corrected (#1717)
* Output Corrected

* typo corrected
2016-07-25 11:00:26 -07:00
Aftab Ansari 46a1f69c38 QueryString---->query string. (#1719)
Add an optional extended description…
2016-07-25 10:59:37 -07:00
Rick Anderson 4591d1a64c lower case ref labels (#1708) 2016-07-22 17:14:21 -07:00
Rick Anderson ebf118576a added page link to sections (#1707) 2016-07-22 17:05:10 -07:00
Rick Anderson 1403343b74 all lc on label (#1703)
.. _strongly-typed-models-keyword-label:
2016-07-21 18:32:28 -07:00
Nicholas Blumhardt 7326259199 Add available logging providers (#1699) 2016-07-21 12:06:12 -07:00
Dong Liu f6d4f54ab0 Fix logging console log image. (#1701) 2016-07-21 11:44:21 -07:00
Rick Anderson 3d270642cc delete unused directory (#1700) 2016-07-21 10:48:29 -07:00
Rick Anderson afc4d8532f missing ); (#1698) 2016-07-20 17:49:00 -07:00
muybn bf8d1ec1c9 see line #18 (#1697)
In **Solution Explorer**, right-click **Controllers > Add > New Item...**

should be:
In **Solution Explorer**, right-click **Controllers > Add > New Item... > MVC Controller Class**

then image below that should be changed
2016-07-20 14:15:04 -07:00
Robert Phipps afd7844708 Update entity-framework-6.rst (#1687)
Hi,

I couldn't get this demo to work unless I added this underscore (source http://bleedingnedge.com/2015/11/01/entity-framework-6-with-asp-net-5/) otherwise I got the error "Cannot convert lambda expression to type 'Type' because it is not a delegate type"

I'm not sure whether this is supposed to happen?

Cheers,
Rob
2016-07-18 16:00:50 -07:00
Luke Latham 96adf7b7c4 Refactor self-closing span elements (#1692)
Refactor self-closing span elements

Refactor self-closing span elements

Refactor self-closing span elements

Refactor self-closing span elements
2016-07-18 14:15:34 -07:00
Luke Latham ac9d76748e Add missing validation span element closing tags (#1693) 2016-07-18 14:14:43 -07:00
Daniel Roth f5584257f4 Remove Mono (#1688) 2016-07-15 13:49:24 -07:00
Daniel Roth 99521639f7 Update Download-Dotnet.ps1
Fix path to .NET Core binaries
2016-07-15 13:33:53 -07:00
Daniel Roth 757722e419 Clarify guidance for using Kestrel (#1686)
* Clarify guidance for using Kestrel

Eventually we will have a complete discussion of Kestrel and ASP.NET hosting (#929), but adding a warning to the Servers doc for now.

* Doc cleanup

* Update servers.rst
2016-07-15 13:05:47 -07:00
Wayne Koorts 891f0399f1 Fix broken supervisor configuration. (#1646) 2016-07-15 13:01:13 -07:00
Derek b7c231160e Update configuration.rst (#1669)
- Make it a little more obvious that `IConfigureOptions<TOptions>` can be implemented in order to configure some options using things from the service container.
- Correct the reference to the extension method used to register an instance of `IConfigureOptions<TOptions>`.
- Fix a grammatical error.
2016-07-15 12:53:22 -07:00
Niclas Lindqvist e7cd67c6de Fixed Markdown formatting (#1684)
Added spaces to Controller Helper Methods: Redirect paragraph
2016-07-15 08:05:55 -07:00
Rick Anderson 577ab1d454 Update intro.rst (#1683) 2016-07-14 17:17:51 -07:00
Rick Anderson 3c69cbc102 fix lineno in Validation (#1682) 2016-07-14 14:43:03 -07:00
Rick Anderson 2ef4cf9bcb add link (#1675)
to Strongly typed models and the @model keyword
2016-07-13 20:29:36 -07:00
Rick Anderson 00254ae17a Update model-binding.rst (#1670) 2016-07-13 18:51:23 -07:00
jonathandotchin 5a0e826101 Swap CreatedAtAction for CreatedAtRoute (#1671)
`GetTodo` is the route name so we should use `CreatedAtRoute`.
The tutorial also mention using `CreatedAtRoute`
2016-07-13 18:50:48 -07:00
jonathandotchin 5456bed4d5 Change id to numTimes to match output (#1672)
Add an optional extended description…
2016-07-13 18:50:15 -07:00
Rick Anderson 7ed006b0a0 fixes #1665 (#1667)
* fixes #1665

* fix link
2016-07-13 09:27:08 -07:00
Kiran Challa c398c53ac9 Add note about multiple [FromBody] parameters in ModelBinding (#1662)
* Add note about multiple [FromBody] parameters in ModelBinding

* word smith

* word smith
2016-07-12 18:37:57 -07:00
Zeke Lu 169da99c89 several minor fixes (#1656) 2016-07-12 16:44:19 -07:00
shwld c1a340f911 modify using package. (#1654) 2016-07-12 13:32:29 -07:00
Nithin Shenoy 2a32bb314e Fixing typo in project.json settings (#1660)
The modifications that are needed for the `tools` and `scripts` sections of *project.json* no longer has a stray `}` to make it easier for folks who are copy and pasting.
2016-07-12 13:29:22 -07:00
Daniel Roth 9c691918bc Remove doc from TOC that doesn't exist (#1664) 2016-07-12 13:28:55 -07:00
Damien Pontifex f80c3093bc VSTS CI docs article
fix bullet formatting
2016-07-12 12:12:57 -04:00
Rick Anderson e309375496 remove how to cust pub (#1650)
Add an optional extended description…
2016-07-11 13:03:05 -07:00
Colin Dabritz df35e36289 Added changed line emphasis. (#1653)
Default dotnet new mac has ConsoleApplication as namespace, highlights change.
2016-07-11 12:42:36 -07:00
Troy Dai b121a9b57c Fix configuration sample (#1649) 2016-07-10 11:39:11 -06:00
Chad Wach 7c3e766b79 Response location missing My prefix (#1647) 2016-07-09 14:29:40 -06:00
Tom Dykstra 9b26354dd3 add instruction to clear "host in the cloud" (#1644) 2016-07-08 16:56:48 -06:00
Zeke Lu 3d9d51b5ff correct the code line numbers in http-modules.rst (#1640) 2016-07-08 13:29:33 -06:00
Tom Dykstra 83c5a46a77 Fix typo (#1638) 2016-07-08 13:28:12 -06:00
Luke Latham fc7e506f0e Update common error (#1639) 2016-07-08 13:27:44 -06:00
Zeke Lu 9d52cbae8c fix the un-fixed merge conflict (#1641)
The merge conflict is not fixed when merging the PR #1613
2016-07-08 13:27:30 -06:00
Luke Latham f071627ac1 Update for RTM ANCM common errors (#1635)
* Update for RTM ANCM common errors

* Add access violation to a common error outcome
2016-07-07 14:49:05 -06:00
Luke Latham ade9c3f335 Repair hosting bundle link and minor updates (#1637) 2016-07-07 14:48:43 -06:00
Rick Anderson 4f42dbd198 Ryan updates/rick UE edit (#1636) 2016-07-07 14:47:40 -06:00
Nate Barbettini b6ad1de59e Update policies.rst (#1634)
Return value must match method signature
2016-07-07 14:47:19 -06:00
ivano scifoni 84b13c10d9 sql-cache tool and update sample version (#1594)
* Upddate document, added sql-cache tool.
Update sample to version 1.0.0

Document sql-cache tool #1412

* rename opt to options
rename conf to options
Fix identation
Change the version to 1.0.0-preview2-final
2016-07-07 14:39:29 -06:00
RachelAppel 59471b0b1a merges 2016-07-07 16:27:48 -04:00
Sourabh Shirhatti 7d221b4816 Add security to linux guidance (#1563) 2016-07-07 13:42:29 -06:00
雨宮丶優子 db06e05a5e Fill filter attributes (#1607)
* Fill filter attributes

* Fixed wrong links
2016-07-07 13:42:02 -06:00
Cristian Pop 0af4cab2d9 Adding reference to IISIntegration in the IIS docs (#1609)
* Adding reference to IISIntegration in the IIS docs

The application is required to inject the IISIntegration module. This is not obvious for an ASP.Net Core beginner.
Added the error to the troubleshooting guide.

* Addressing PR comments.

* Addressing PR comments (2)
2016-07-07 13:41:50 -06:00
Lewis Cowles 2312353206 Updated to reflect output of dotnet new (#1631)
* Updated to reflect output of dotnet new

dotnet new seems to produce different output now, this is how it looks from a fresh install this AM

* Updated emphasis of project.json

Updated emphasis of project.json to reflect changes in project.json
2016-07-07 11:02:56 -04:00
Daniel Llewellyn 3e4ba2bebe Show how to bind options to a specific config section
- fixes issue #867.
- Based on suggested code from @danroth27.
2016-07-07 10:58:24 -04:00
RachelAppel 07a4dff1b9 Merge branch 'master' of http://github.com/aspnet/docs 2016-07-06 14:42:33 -04:00
RachelAppel cdea997671 link fix 2016-07-06 14:38:09 -04:00
Aligned 0ac51ef263 Update rc2-to-rtm.rst
fixed formating after comments
2016-07-06 14:38:09 -04:00
Aligned e1962509f1 Update rc2-to-rtm.rst
install comment and global.json note.
2016-07-06 14:38:08 -04:00
Zeke Lu 8f2e51fd35 fix the issue that the code doesn't do as stated in the doc (#1616)
The doc states that:
    the value of Option1 is overridden by the configured delegate
    with the value “value1_from_action”

In order to make this statement true, the configurd delegate should be put last.

This issue is introducted by PR #1331
2016-07-06 12:15:56 -06:00
Zou Jian 555025711a Typos lamba expression=> lamdba expression (#1629) 2016-07-06 11:38:32 -06:00
Thiago Majesk Goulart 1955e4609d Update cookie.rst (#1621)
Added explicity description to show that the authentication middleware configuration should be done before Mvc. Avoiding trouble for new users that don't fully understand how the configuration flow works.
2016-07-06 11:37:48 -06:00
Rick Anderson ec3900547a Update startup.rst (#1624) 2016-07-06 11:35:14 -06:00
Pavel Nezhencev 227d8618e5 Fix TodoController Create response
Replaces CreatedAtRoute by CreatedAtAction call, as we use action name in arguments.
2016-07-06 12:48:58 -04:00
Stefan Buehler ca5043f132 fix HtmlHelper method names (#1618) 2016-07-06 09:45:45 -06:00
David Moore 72caeff21b Tiny typo in cors.rst (#1622) 2016-07-06 09:40:26 -06:00
Crystal Qian 9a960682f6 Revised InvokeAsync calls (#1623) 2016-07-06 09:39:38 -06:00
Zeke Lu 7247df37e0 the sample does not configure AppSettings any more (#1628) 2016-07-06 09:37:35 -06:00
Daniel Llewellyn 4e5c3685ab Add link to latest release notes
- fixes #235
2016-07-05 15:55:04 -04:00
Tatsuro Shibamura 2f4701c538 Fix curly braces. (#1606) 2016-07-05 10:24:12 -06:00
Daniel Llewellyn 4c04a3458e Fix incorrect UseCookieAuthentication code snippet (#1611)
Replace lambda argument to `app.UseCookieAuthentication()` with instantiation of a `new CookieAuthenticationOptions()` object.
2016-07-05 09:28:08 -06:00
Scott Register e4c547e197 Balance Parentheses (#1605)
Small typo fix
2016-07-05 09:22:16 -06:00
Zeke Lu 00aac4dff3 fix a small typo in intro.rst (#1615)
remove the word "the"
2016-07-05 09:15:25 -06:00
Johannes Rudolph 2fa403e3d2 IApplicationEnvironment is now longer available in Startup (#1603)
See https://docs.asp.net/en/latest/migration/rc1-to-rtm.html#hosting-service-changes
2016-07-02 11:50:53 -07:00
Cesar Blum Silveira 1f83249f95 Update tutorial on Azure publishing in Visual Studio. (#1602) 2016-07-01 18:06:39 -07:00
Rick Anderson bce55bdef5 fix index (#1601) 2016-07-01 16:15:44 -07:00
Rick Anderson 25ae5a928b fix dirs (#1600)
Add an optional extended description…
2016-07-01 16:05:51 -07:00
Rick Anderson 89655014f9 fixes 1592 (#1597) 2016-07-01 12:51:25 -07:00
stukselbax 2916bb2d55 Typo fixed (#1593)
Add an optional extended description…
2016-07-01 10:38:17 -07:00
Søren Pedersen bf87d35ecd Fix tools example (#1595)
Add an optional extended description…
2016-07-01 10:35:47 -07:00
David Moore e6bae0e3c7 Small typo in static-files.rst (#1590)
Changed "severed" to intended "served"
2016-06-30 20:52:13 -07:00
Steve Smith 5ca9be38cd Fix typos
Per @Eilon
2016-06-30 20:20:35 -04:00
Steve Smith 7af5bdd8f6 Views Overview (RTM Branch) (#1588)
Provides an overview of views and how to work with them.
2016-06-30 17:40:30 -04:00
John Luo 4e1e76ea5b Update response caching doc and sample (#1582) 2016-06-30 14:35:38 -07:00
Steve Smith cff1b9e6d2 Views Overview (#1509)
Introduces Views and how to work with them.
2016-06-30 17:33:18 -04:00
Anton 0bc4e98951 AuthorizationHandler<T>.Handle -> HandleRequirementAsync (#1575)
Change to `AuthorizationHandler<T>.Handle` to `HandleRequirementAsync`
34ee0212d0/src/Microsoft.AspNetCore.Authorization/AuthorizationHandler.cs
2016-06-30 14:12:07 -07:00
gitchomik 0d6d6ad4a2 Coping files from share to Windows locations (#1583)
Coping aspnetcore.dll, aspnetcore_schema.xml from file share to valid Windows locations.
2016-06-30 11:57:20 -07:00
Kiran Challa 651c8c020f Document .Net CLI issue workaround on Nano (#1586) 2016-06-30 11:46:54 -07:00
Chris R 842dc35bb2 Update the OWIN doc and samples for 1.0.0 (#1564)
* Update the OWIN doc and samples for 1.0.0

* word smith

* last fix
2016-06-30 11:00:07 -07:00
Kiran Challa bf82afdf38 Fixed area link code (#1585)
Add an optional extended description…
2016-06-30 10:34:35 -07:00
Fabian Parzefall 666e0beff6 Fixed code snippet include in first Web API tutorial (#1578) 2016-06-30 10:29:12 -04:00
Sourabh Shirhatti 5ab5d8d0ff ANCM schema changes 2016-06-29 10:44:21 -07:00
RachelAppel d968bb3e3f link modifications 2016-06-29 13:03:28 -04:00
RachelAppel f5136cd63f changed link 2016-06-29 13:03:27 -04:00
RachelAppel 819a908b81 Revert "links"
This reverts commit 2ca29c4552.
2016-06-29 13:03:26 -04:00
RachelAppel 6cb37edb59 links 2016-06-29 13:03:25 -04:00
RachelAppel 4a6e71218b modifications 2016-06-29 13:03:25 -04:00
RachelAppel ba8bf4d016 fix links again 2016-06-29 13:03:24 -04:00
RachelAppel afe2c11e11 fix link 2016-06-29 13:03:23 -04:00