Commit Graph

15 Commits (ae1b6171b987e666c2682f22feeb659d27886dd6)

Author SHA1 Message Date
Luke Latham 0ea501cde5
Generic Host topic+sample to 2.2 (#11766) 2019-03-31 12:11:48 -05:00
Kevinio04 fbf918a74e Exclude Bin and Obj from CopyToOutputDirectory (#9508) 2018-11-07 19:12:50 -06:00
Luke Latham 1f3698ba45 List default services for Generic Host (#9061)
Fixes #8893 

[Internal Review Topic](https://review.docs.microsoft.com/en-us/aspnet/core/fundamentals/host/generic-host?view=aspnetcore-2.1&branch=pr-en-us-9061)

* Remove Logging from service config (given it's a default service).
* List the default services (too literal here? ... trimming needed??? 🔪)
2018-10-17 19:58:19 -05:00
Maxim Kornilov eb767b9464 Use the correct type as a parameter for the generic (#8724) 2018-09-26 20:54:56 -05:00
Luke Latham 232d345f9e
Specify "Core" for ASP.NET Core refs (#8110) 2018-08-15 22:30:29 -05:00
Luke Latham ee6cf413ad
Move settings files update (#7472) 2018-07-05 19:29:57 -05:00
Mike McFarland d698d150e0 Fixed invalid variable name in generic host snippet (#7347)
Snippet `ConfigureAppConfiguration` in the generic host fundamental page was referencing an invalid variable name in the context of the scope. Updated to use the correct variable name.
2018-06-28 09:53:49 -05:00
Miroslav Popovic b3366bba2b Fix a typo in service container registration sample (#7324) 2018-06-27 08:28:18 -05:00
Luke Latham 3ef776e724 Improve environment variable coverage (#7092)
Fixes #6760 

The goals are ...

* Surface that env vars aren't added by default with the Generic Host.
* Describe `AddEnvironmentVariables`.
* Deal with env var prefix issue.
* Explain how to set env vars for dev (shoot reader to *Multiple environments* topic for more info). Mention VS, command-line, and VSC config.
* Add VSC example to the *Multiple environments* topic.
* Update the sample app and snippets for the topic.
2018-06-19 09:47:55 -05:00
Daniel Moncada 1afce7712f fix logger type in LifetimeEventsHostedService example (#6987) 2018-06-11 13:25:36 -05:00
Luke Latham 26267a687d
Move env var config down in Generic Host sample (#6766) 2018-05-31 17:33:39 -05:00
Luke Latham 0bb30ec6e5
Generic Host updates (#6751) 2018-05-31 15:59:44 -05:00
Luke Latham 6fc9fd5823 2.1 Sample updates (Round 1) (#6709)
Addresses #5495 

* This one takes care of the topics in the *fundamentals/host* TOC area, including its three samples.
* All samples verified working with 2.1 RTM bits. 🎉

Ignore the three build warnings. They're fixed on https://github.com/aspnet/Docs/pull/6712.
2018-05-31 09:54:44 -05:00
Luke Latham c4c5400bad
Add Generic Host sample to the Background Tasks topic (#6484) 2018-05-25 09:47:11 -05:00
Luke Latham 7c30c9bdf7
Host updates (Generic Host topic) (#6428) 2018-05-16 16:09:24 -05:00