Commit Graph

23 Commits (db06e05a5e4568f9c2ed6ca98fc85e80f1d48627)

Author SHA1 Message Date
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
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
Andrew Stanton-Nurse 0566cbd11c update configuration samples and docs 2016-06-27 08:49:37 -07:00
Cesar Blum Silveira ca878b63fa Add missing period. (#1438) 2016-06-22 09:58:17 -07:00
Petr Onderka f08368db4c Cleanup of Configuration after RC2 update
Addressed PR feedback

Addressed further PR feedback

Mostly switched source -> provider where appropriate.

More sources -> providers

Addressed PR feedback

Explained requirements of the options pattern

Changed options class -> settings class

Also changed "i.e." to "e.g.".
2016-06-06 13:16:30 -04:00
Jake Ginnivan 89e5672883 Include the package the Configure<T>(IConfiguration) extension method comes from in the sample comment
This will make it easier for people migrating to RC2 or reading the docs around configuration to know they need to install an additional package to make the code sample work without checking out the references in the source sample project.
2016-06-02 09:29:15 +08:00
riande@microsoft.com 4d30ad1369 fix merge conflict >>>>> 2016-05-27 14:07:36 -10:00
riande@microsoft.com f08a7ec45f fix lex errors
pick 73af200 fix lex errors
2016-05-27 09:58:09 -10:00
Steve Smith 65233a8c84 Updating Configuration for RC2 2016-05-26 21:21:29 -04:00
steveo068 41773747d1 Correct the example to access a configuration
The key ``Data:DefaultConnection:ConnectionString`` does not exists in the reference appsettings.json.
2016-05-20 11:17:06 -10:00
danroth27 f965804df9 Rename ASP.NET 5 to ASP.NET Core and other general cleanups 2016-03-28 16:29:22 -07:00
danroth27 88130df2c5 Remove mvc sphinx project files and intersphinx links 2016-03-02 11:19:51 -08:00
Balamurugan Chirtsabesan d522c691b3 Update Configuration article for RC1
Update link to sample

Update Configuration sample code to RC1

Update Configuration article to RC1
2016-01-06 10:55:14 -08:00
Barry Dorrans 61fac0cbe1 Change broken doc links are file moves to will always work ref links 2015-12-09 11:14:53 -08:00
Steve Smith dab1d36839 Clarify Config Source Ordering Effects
Fixes #303
2015-12-09 08:03:34 -05:00
danroth27 83f074dc6e Update literalincludes for RC1 common samples 2015-11-18 03:37:22 -08:00
Scott Addie 7b54f825a5 Replace config.json references with appsettings.json 2015-11-05 16:19:18 -08:00
Rick Anderson 5ec52546bd Update common WebApplication1 to beta8. 2015-10-20 00:09:42 -07:00
Miłosz Kosobucki 26dec8640f Add info about double underscores in env variables
There's no readily available info on how to override nested confguration keys in shells that don't support colons in variable names.

The only info I could find was in the source code.
2015-09-08 22:32:07 -07:00
danroth27 e9d74015b6 Updates common samples to beta7 2015-09-02 10:03:43 -07:00
Omar Alvarez Pando 4274f01310 Update configuration.rst
- configuration for "configuraton "
- configuration  for "configuraiton"
2015-07-30 15:55:18 -04:00
danroth27 3de8e5d7f2 Updating configuration article for beta5 2015-07-28 22:27:48 -07:00
danroth27 b7613c2893 Create new MVC project 2015-06-01 15:45:30 -07:00