Commit Graph

1233 Commits (9729bc8889267fb662f16cf86c9b8192109e0978)

Author SHA1 Message Date
brady gaster a1fd2eb7c8 Update index.md 2016-11-03 10:15:58 -07:00
brady gaster 2f40378ddf Update index.md 2016-11-03 10:00:17 -07:00
brady gaster 2756db31a9 Update index.md 2016-11-03 09:46:06 -07:00
brady gaster 4eda76682b Update index.md 2016-11-03 09:42:15 -07:00
brady gaster be00a20dfa fixing format
removed comments to fix formatting of hub page
2016-11-03 09:34:11 -07:00
Rick Anderson 5c43d24d08 WebHooks cleanup (#2083)
* fix

* clean up index

* fix parent
2016-11-02 16:12:25 -10:00
Rick Anderson b30e882d74 fix webHooks TOC (#2082)
Add an optional extended description…
2016-11-02 15:08:39 -10:00
Rick Anderson bdfc598472 fix left TOC (#2070)
* fix left TOC

* ad
2016-11-01 19:17:30 -10:00
Sandra Aldana 996cbecc84 Breadcrumbs (#2060)
Breadcrumbs
2016-11-01 17:58:12 -07:00
Sandra Aldana 1ae7ae3899 Delete toc.yml 2016-10-31 10:50:01 -07:00
Rick Anderson fe7161af10 fix DocFX builds (#2021)
* fix DocFX builds

* remove meta

* remove aspnet-core-conceptual
2016-10-28 12:06:00 -10:00
saldana 684ad42600 Initialize open publishing repository: https://github.com/aspnet/Docs of branch master 2016-10-28 19:14:22 +00:00
Daniel Roth 5693706555 Move toc.yml under aspnet folder 2016-10-28 11:02:19 -07:00
Daniel Roth f9a2097cfc Move hub index.md to aspnet folder 2016-10-28 11:01:30 -07:00
Daniel Roth db586d9489 Remove stub aspnet/index.md file 2016-10-28 11:01:04 -07:00
Daniel Roth 10dadc4a90 Move webhooks under aspnet 2016-10-28 10:48:57 -07:00
Daniel Roth e9c1419175 Add docfx content 2016-10-28 10:35:15 -07:00
Daniel Roth 1405cd6d45 Remove sphinx content 2016-10-28 10:29:02 -07:00
Damien Pontifex b6908a7eea Noting to skip first time package restore on hosted servers for vsts ci build (#1961)
Credit to @DarqueWarrior
http://donovanbrown.com/post/2016/08/28/Stop-wasting-time-during-NET-Core-builds
2016-10-16 11:07:22 -10:00
Shaun Luttin 23883783e6 (typo) Add missing words. (#1958)
Add an optional extended description…
2016-10-12 14:28:33 -10:00
Shayne Boyer 3b884b28cf Update for gulp document (#1954)
* update gulp doc

* address change requests
2016-10-11 09:51:56 -10:00
Shayne Boyer 44068cfca4 Startup Environments (#1956)
* Fixes #1561

* Edits requested
2016-10-11 09:50:58 -10:00
Adrien Torris dc3443abe0 Add user's unique email policy configuration (#1955)
* Add user's unique email policy configuration

* Add user's unique email policy configuration

I think it can be hepful because a lot of projects need this user email's policy.

* Update identity.rst
2016-10-11 09:50:31 -10:00
Tanato Cartaxo fa921c38e6 Update lib references (#1952)
Updated Library references to not bound with a specific version.

When tools/references are updated (like Microsoft.Extensions.Configuration.UserSecrets was updated to 1.0.0) the documentation turns outdated
2016-10-10 08:22:25 -10:00
Brent Coney 3ae38a2944 Adding note about added "textInput" binding. (#1953) 2016-10-10 08:22:12 -10:00
Shayne Boyer 1e994ae45e Typo
``[Produces("application/json"]`` => ``[Produces("application/json")]``
2016-10-10 13:51:33 -04:00
Daniel Roth 73d178de62 Remove responsive design topic (#1951) 2016-10-06 14:08:46 -07:00
Daniel Roth 0a324fd0b1 Remove output caching from TOC (#1946)
* Remove output caching from TOC

I believe this topic is covered by the response caching topic.

* Remove output caching article
2016-10-05 15:03:17 -07:00
Luke Latham a58ed69df4 Add common error to Publishing to IIS (#1943)
Fixes #1932

I added it to the end, however, the Commons Errors section will get better organized when I get to the big doc overhaul. I intend to sort/group them by browser response error code when the time comes.
2016-10-04 21:28:39 -07:00
Luke Latham a97b5c3023 Add location information to ANCM hosting doc (#1944)
* Add location information to ANCM hosting doc

Fixes #1931 ... also updated capitalization of "h" of `applicationhost.config` to `applicationHost.config`.

Adds ANCM module, schema, and `applicationHost.config` locations to the doc for easy dev reference.

All credit to @jhkimnew for excellent post at https://github.com/aspnet/Home/issues/1583#issuecomment-249754022

* Minor update

Consistency: `IIS Express` (with space) is better than `IISExpress`.
2016-10-04 21:27:41 -07:00
Steve Smith 8ff5876928 Updating and fixing issues with testing controllers article and sample (#1920)
Add an optional extended description…
2016-10-04 12:59:20 -07:00
Rick Anderson b4986fb216 Update policies.rst (#1941)
* Update policies.rst

* Update policies.rst

* Update policies.rst
2016-10-04 11:04:43 -07:00
Tanato Cartaxo 53bf567221 Updated references in Identity Migration Doc (#1921)
* Updated references in Identity Migration

Updated references in Identity Migration to use the final namespaces of components:

.. code-block:: c#
        "Microsoft.AspNetCore.Identity.EntityFrameworkCore":  "1.0.0",
        "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0",

Removed workaround to assure that database is created in Entity Framework

* Removed lib version reference

Removed specific version reference for libs and updated text for better reading.
2016-10-04 09:00:04 -07:00
Tim Hess 44b7b40ee3 Update servers.rst (#1942)
typo fix
2016-10-03 17:40:21 -04:00
Jonathan 2d4a8551db Added information about OWIN environment (#1930) 2016-10-03 13:18:56 -07:00
Adrien Torris 6413155675 Add identity configuration example (#1939)
* Add identity configuration example

Add an example about how to configure some basic stuff about ASP.NET Core Identity (password policy, cookie, lockout, ...)

* Add identity configuration example

Add an example of identity configuration in startup class
2016-10-03 11:11:16 -07:00
Dan Clarke 18e42fd3d9 Fixed typo (#1937) 2016-10-01 17:27:34 -04:00
Luke Latham 093cc68e1b Update iis.rst (#1926)
Update link to latest VC++ redist.
2016-09-29 13:32:41 -07:00
Stephen Halter 868c661c73 Update servers docs from RC1 to RTM (Part 2) (#1919)
* Update ServersDemo for 1.0.0

* Update servers docs from RC1 to RTM
2016-09-27 21:32:32 -07:00
Thomas Ardal 34333d3196 Fixed link to elmah.io (#1924)
The link to the elmah.io package pointed to the old package from before the rename from framework.logging to extensions.logging.
2016-09-27 10:39:19 -04:00
Carsten Schelp d9a5a60166 Update startup.rst, trying to make one sentence more readable. (#1911)
* Update startup.rst

I noticed that I had to read that sencence five times before coming to terms with it. I hope that my suggestion helps to make it more readable.

* Delete obsolete passage about DI

As @RickAnderson suggests, I just delete the passage that is trying to explain Dependency Injection in one sentence (and fails). He's right: all the info about Dependency Injection is available through the DI-link in the first sentence of that paragraph.
2016-09-23 12:26:05 -07:00
Tom Dykstra 216cf12a4d add readme and add mvc to title (#1914) 2016-09-23 09:48:05 -07:00
Steve Smith 545f7341e6 File Providers (#1855) 2016-09-22 20:20:46 -04:00
Scott Addie 896f588f0b Update MVC migration doc to RTM (#1901) 2016-09-22 11:46:15 -07:00
caradong 889c6c42c7 Outdated git repo link for ui customization (#1907)
Using the index.html at the current to customize UI is not working. The current swagger ui for .net core should be 
https://github.com/domaindrivendev/Ahoy/tree/master/test/WebSites/CustomizedUi/wwwroot/swagger/ui
2016-09-21 14:15:34 -04:00
Steve Smith 867bfae21a Native Apps APIs (#1837)
APIs for native mobile apps.
2016-09-20 22:53:39 -04:00
Shayne Boyer 31673e5274 add link to Azure AD index for B2C example (#1905)
Add an optional extended description…
2016-09-20 10:17:33 -07:00
James Orr b54e6457dd missing space in text (#1906) 2016-09-20 10:16:59 -07:00
andrewlock 6b3a5868ab Fix broken code sample (#1899)
The return value of `HandleRequirementAsync` should be outside the if statement
The context parameter type has been renamed from `AuthorizationContext` to `AuthorizationHandlerContext`
2016-09-19 14:38:38 -04:00
Shayne Boyer b3146f24d6 Bower.rst update (#1876)
* bower update

* samples added

* semver message update

* whitespace

* removing whitespace

* removed sample

* whitespace

* remove bower samples

* fix bundle samples

* fixing nits

* new line
2016-09-19 09:45:38 -04:00
Ivaylo Kenov 26de2f0e84 Fixed broken link to Entity Framework sample (#1896) 2016-09-18 07:22:13 -07:00
Tom Dykstra 406ff0d3cc initial draft of EF MVC tutorial series 2016-09-16 18:53:54 -07:00
Tom Dykstra ae6160f4ef initial (#1892) 2016-09-16 14:41:41 -07:00
Tom Dykstra 6ea637ae9d remove TraceSource (#1886) 2016-09-16 14:22:06 -07:00
Rick Anderson 732f0d0299 routing init (#1882)
* routing init

* fix

* next

* remove comments

* fix build

* last fix from ryan feedback
2016-09-16 13:53:38 -07:00
Tom Dykstra d1c74c174f initial (#1885) 2016-09-16 13:40:56 -07:00
Tom Dykstra c31e6b0f50 Change guidance on using EF6 with ASP.NET Core (#1864) 2016-09-16 08:37:23 -07:00
Rick Anderson 5f61cdcbf7 DI into views link (#1881)
* DI into views link

* fix doc ref
2016-09-15 15:00:15 -04:00
Rick Anderson 352ffa9061 DI in title (#1880) 2016-09-15 11:46:40 -07:00
Tim M. Madsen c052acfdc5 Stop and kill as group (#1860)
When running `dotnet` two processes are started: one started by the user,
and one spawned as a child process. Example after running `dotnet run -p
/var/www/HelloWorld/src/HelloWorld`:

```
root     27452  0.5  5.6 3070112 57064 ?       SLl  16:50   0:01 /usr/bin/dotnet run -p /var/www/HelloWorld/src/HelloWorld
root     27470  0.1  3.5 7014752 36028 ?       SLl  16:50   0:00 /usr/share/dotnet/dotnet exec --additionalprobingpath /var/www/.nuget/packages /var/www/HelloWorld/src/HelloWorld/bin/Debug/netcoreapp1.0/HelloWorld.dll
```

When starting a site with supervisor, the same thing happens. When trying to
stop a site through `supervisorctl` with (in this case) `stop helloworld` the
original process is stopped (the one with id `27452`) but that process doesn't
pass on the `SIGINT` to its child process. The result is that the site is not
really shutting down, first of all, and second of all, trying start the site
again with (in this case) `start helloworld` will result in a bunch of errors
because the port kestrel wants to listen on is already in use.

To avoid this, set the `stopasgroup` and `killasgroup` configuration parameters
to true. This makes `supervisor` send the `SIGINT` to all child processes.
2016-09-15 11:47:35 -04:00
Tim M. Madsen 7b41382f16 Set HOME environment variable (#1861)
It is necessary to set the `HOME` environment variable when running a dotnet
core site through supervisor. If it is not set, the following exception is
thrown:

```
Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2, String path3)
   at Microsoft.DotNet.ProjectModel.Resolution.PackageDependencyProvider.ResolvePackagesPath(String rootDirectory, GlobalSettings settings)
   at Microsoft.DotNet.Configurer.NuGetCacheSentinel.get_NuGetCachePath()
   at Microsoft.DotNet.Configurer.NuGetCacheSentinel.Exists()
   at Microsoft.DotNet.Configurer.DotnetFirstTimeUseConfigurer.ShouldPrimeNugetCache()
   at Microsoft.DotNet.Configurer.DotnetFirstTimeUseConfigurer.Configure()
   at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(INuGetCacheSentinel nugetCacheSentinel)
   at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient)
   at Microsoft.DotNet.Cli.Program.Main(String[] args)
```

I guess that `path1` in this case is the value of the `HOME` variable (which is
`null` unless set in `supervisord.conf`) and it seems to be used for the
default nuget package path for the www-data user. By including `HOME` as part
of the `environment` configuration, this expection is no longer thrown and the
site starts up as expected.
2016-09-15 11:41:54 -04:00
Luke Latham d0b8a03f30 Update hosting bundle link (#1874)
Fixes #1873
2016-09-14 10:55:26 -07:00
Luke Latham a3609c7c63 Update hosting bundle link (#1875)
Update hosting bundle link for 1.0.1 release.
2016-09-14 10:55:17 -07:00
Rick Anderson 2b38117ae7 Update areas.rst (#1872) 2016-09-13 13:39:25 -07:00
Scott Addie b9936719ca Update launchSettings.json environment variables to RTM (#1869) 2016-09-13 12:51:01 -04:00
Jamie West d16f39b4f5 Update sociallogins.rst (#1862)
The previous example did not work, I updated the block to reflect what will work under the guide instructions and without having to add additional usings.
2016-09-12 10:23:29 -07:00
Luke Latham 77c9d6d521 Update iis.rst (#1858)
Update instruction and troubleshooting wrt restarting the server or restarting IIS per instructions of @pan-wang in https://github.com/aspnet/IISIntegration/issues/256#issuecomment-245679159

cc/ @moozzyk
2016-09-12 09:29:32 -04:00
Scott Addie 40e8202248 Update Migrating Configuration doc to RTM (#1859) 2016-09-12 09:25:11 -04:00
Shayne Boyer 0dfc1c1ee5 Add HttpGet attribute
Fixes #1865
2016-09-12 09:21:05 -04:00
Daniel Roth 9a6e21640a Update publish-to-azure-webapp-using-vs.rst (#1854) 2016-09-08 14:07:20 -04:00
Shayne Boyer edd64c0818 adding identityserver4 ref (#1851)
* adding identityserver4 ref

* fix edits

* edits per discussion
2016-09-08 12:32:24 -04:00
Hao Kung c79811cf18 Update cookie sharing doc (#1838)
PR fixes

Text tweek

Some .rst and wording cleanup
2016-09-07 14:23:02 -04:00
Shayne Boyer 46d808f5a6 Updates for First ASP.NET Core App on a Mac Using VS Code (#1818)
* setup and scaffolding

* removed welcome page image - no longer valid

* symbols added to match vscode docs

* updates azure deployment

* addressing edits
2016-09-06 16:41:00 -04:00
4c74356b41 f22c2ce2d7 fixing issues (#1843)
check my comment on the article
2016-09-06 16:36:15 -04:00
Daniel Roth 5fd09ff1cf Fix typo is IIS publishing doc (#1848) 2016-09-06 16:08:08 -04:00
jiabiao 8f0707e09d package name changed. Microsoft.AspNetCore.Identity.Cookies -> Microsoft.AspNetCore.Authentication.Cookies (#1845) 2016-09-06 15:54:22 -04:00
Luke Latham 86881ce48a Update iis.rst (#1846)
Addresses https://github.com/aspnet/IISIntegration/issues/256#issuecomment-244796828

* The entry for "Incorrect `proecessPath`, missing PATH variable, or *dotnet.exe* access violation" correctly points out that `dotnet.exe` should be on the PATH but fails to take into account that IIS won't automatically pickup the change without a restart.
* The entry for restarting IIS is made more specific: (a) Restart the server, or (b) Restart IIS via command-line or IIS Manager.

AFAIK corehost of a self-contained app is immune to the IIS un-picked-up PATH situation, so I explicitly call this out for portable apps. @pranavkm @JunTaoLuo @Tratcher @moozzyk @pan-wang correct me if I'm wrong. 

Side Note: When we get the next major release of ANCM (1.1?), I'll re-run these common errors and update for log message and behavioral changes.
2016-09-06 15:53:02 -04:00
Shayne Boyer 7120e0f9bb Change link for reference to`dotnet`
Fixes #1841
2016-09-06 15:52:20 -04:00
Shayne Boyer 57452da190 Yeoman update (#1817)
* missing grunt and gulp-cli

* update images to current versions of output

* update sub generators link to omnisharp github repo

* add updated windows images

* remove gulp grunt option, add bundler

* addressing nit(s)
2016-09-02 20:18:55 -04:00
Brandon 201f690065 fixed typo 'until' typed twice (#1836) 2016-09-01 14:41:52 -04:00
Shayne Boyer deeb06d0ef add link to mac tutorial (#1832) 2016-08-31 14:12:32 -04:00
Luke Latham e4d1125410 Update aspnet-core-module.rst (#1826)
Fixes #1816

* Fix minor grammatical issues.
* Add the explanation and workaround for IIS Shared Configuration.
2016-08-31 11:13:16 -04:00
Shayne Boyer c507eb18df remove mobile views (#1819) 2016-08-30 17:04:30 -04:00
Michiel Staessen 6c919c8a86 Changed values from bold to code & fix typo (#1821)
* Changed values from bold to code

Sphinx doc treats ``--`` as a long dash. This might cause errors/confusion for people copy-pasting...

* Fix typo
2016-08-30 17:03:30 -04:00
Edward Brey 66d2be487f Removed unreachable code for sending with SendGrid (#1824)
`new SendGrid.Web(credentials)` can throw an exception, but it can't evaluate to null.
2016-08-30 17:02:46 -04:00
Barry Dorrans 268bbef8d6 Add XSS documentation (#1804)
* Add XSS documentation

Addresses #90

* Remove HTML from razor code blocks.

* Take feedback into account.

* Even more feedback magiced in

* Final feedback acted upon
2016-08-23 18:13:35 -04:00
Shayne Boyer de0ebd7f4f add flags for warnings as errors. (#1809) 2016-08-23 16:46:48 -04:00
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
RachelAppel 535485de40 Update unit testing for RTM 2016-06-29 13:03:22 -04:00
RachelAppel 1430cae477 Update unit testing for RTM 2016-06-29 13:03:21 -04:00
damccull 2daba238cd Fix code block on line 36 so it renders properly. (#1574) 2016-06-29 09:45:48 -07:00
John Luo 7f45356770 Update MVC Controller Dependency Injection doc and samples (#1565) 2016-06-28 21:35:29 -07:00
Jonas Bush 4fc55657fd Fix typo in start-mvc.rst (#1566)
Change "theses" to "these"
2016-06-28 16:33:23 -07:00
Jensen 8b9cc19d53 Fix non-compiling code sample. (#1562)
Add an optional extended description…
2016-06-28 13:04:36 -07:00
Victor Hurdugaci e4c770d2d0 Update dotnet-watch.rst
Since this doc exists only in dev, there's a broken link pointing to master.
2016-06-28 14:44:20 -04:00
Rick-Anderson 79ee7cb14a fix build 2016-06-28 14:40:46 -04:00
Victor Hurdugaci 2761359329 dotnet-watch tutorial 2016-06-28 14:40:46 -04:00
Kiran Challa 3f485f215c Fixing Testing Controller sample (#1541) 2016-06-28 09:58:48 -07:00
Søren Pedersen 41b8f93c66 Fix example that uses a custom requirement (#1553) 2016-06-28 09:58:05 -07:00
amankhoza 9dd45efd39 Update adding-view.rst (#1555)
Grammatical error - missing word
2016-06-28 09:15:10 -07:00
Luke Latham 502e5f0631 Update publish-iis tooling code block (#1547) 2016-06-28 08:44:41 -07:00