Commit Graph

1068 Commits (3dc13554a77feaf28df1bf7cd3e1ee9db336af2c)

Author SHA1 Message Date
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